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?
- 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.
- 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.
- Open your pub-cache with the following webviewflutter folder.
- In my case, I have a pub-cache folder located in this folder.
- C:\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.6\android\src\main\java\io\flutter\plugins\webviewflutter\
- There you can see ThreadedInputConnectionProxyAdapterView.jav file.
- Just rename it to ThreadedInputConnectionProxyAdapterView.java.
- Flutter clean
- 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
- flutter packages get failed depends on flutter_test any from sdk which requires SDK version <2.0.0, version solving failed
- The instance member ‘x’ can’t be accessed in an initializer.
- Error getting sensor data: DioError [DioErrorType.RESPONSE]: XMLHttpRequest error.
- LateInitializationError: Field ‘[email protected]’ has not been initialized
- Flutter problems: “Could not resolve all artifacts for configuration ‘:classpath’ ”
Leave a Reply