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.

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

Question: How to Solve Flutter Webview throws compiling error -ThreadedInputConnectionProxyAdapterView location: class InputAwareWebView Error?
Answer: 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 How to use Conditional statement in widget in flutter. I hope this tutorial helps you to add Borders to your Widget. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials

Leave a Comment

%d bloggers like this: