close

[Solved] Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView

Hello Guys How are you all? Hope You all are fine. When I was trying to run my flutter web and suddenly I get the following error in my stack track. Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView in flutter. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error Occurs ?

I am using flutter web view with latest version of webview_flutter: ^2.0.6. When I try to run my project The android studio while running throws this error and stop the build.

C:\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.6\android\src\main\java\io\flutter\plugins\webviewflutter\InputAwareWebView.java:31: error: cannot find symbol private ThreadedInputConnectionProxyAdapterView proxyAdapterView; ^ symbol: class ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView

C:\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.6\android\src\main\java\io\flutter\plugins\webviewflutter\InputAwareWebView.java:112: error: cannot find symbol new ThreadedInputConnectionProxyAdapterView( ^ symbol: class ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 2 errors

FAILURE: Build failed with an exception.

How to Solve Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error?

  1. How to Solve Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error?

    To solve Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error The solution, for now, is ThreadedInputConnectionProxyAdapterView.jav has wrong extension Please make just change it to ThreadedInputConnectionProxyAdapterView.java by hand as a temporary fix. Follow all the below steps.

  2. Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView

    To solve Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error The solution, for now, is ThreadedInputConnectionProxyAdapterView.jav has wrong extension Please make just change it to ThreadedInputConnectionProxyAdapterView.java by hand as a temporary fix. Follow all the below steps.

Solution 1

The solution, for now, is ThreadedInputConnectionProxyAdapterView.jav has wrong extension Please make just change it to ThreadedInputConnectionProxyAdapterView.java by hand as a temporary fix. Follow all the below steps.

  1. Open your pub-cache with the following webviewflutter folder.
  2. In my case, I have a pub-cache folder located in this folder.
  3. C:\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.6\android\src\main\java\io\flutter\plugins\webviewflutter\
  4. There you can see ThreadedInputConnectionProxyAdapterView.jav file.
  5. Just rename it to ThreadedInputConnectionProxyAdapterView.java.
  6. Flutter clean
  7. Flutter run.

Summery

So, It’s All About this error. I hope this tutorial helps you to solve your error. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials

Leave a Comment

%d bloggers like this: