Problem
The android studio while running throws this error and stop the build
A:\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
A:\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.
Solution
ThreadedInputConnectionProxyAdapterView
has wrong extension .jav
just change it to .java
until the flutter team release the fix.
Its Located to :- C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.0.6\android\src\main\java\io\flutter\plugins\webviewflutter
That’s All.
Thanks for Reading.
Keep Coding.
Latest posts by Sushant K (see all)
- [SOLVED] Flutter : Waiting for another flutter command to release the startup lock. - July 2, 2021
- How to Change Passport Token length in laravel. - June 12, 2021
- Flutter : How to dismiss an AlertDialog on Button? - June 7, 2021