Open arashAndroid opened 4 years ago
bump....have same problem here, migrate my project to androidx and failed to build
bump....have same problem here, migrate my project to androidx and failed to build
Well I did not find a good solution for this, but, I did something that worked.
I cloned my project on a windows 8.1 system and run flutter build apk --debug
. It did build successfully (Using a VPN). Then I copied the flutter sdk folder from win 8 to my win 10. Then it worked on my win 10 too and I was able to build the app.
You need to use a VPN in some countries that are banned (When building for the first time).
Environment
Flutter version: Flutter 1.12.13+hotfix.5 • channel stable Plugin version: master Android version: Building debug apk or running on android 8.0which -->
Description
Expected behavior: Create debug apk after running
flutter build apk --debug
Current behavior: Error : A problem occurred configuring project ':flutter_inappwebview'.Steps to reproduce
Create new project with
flutter create --androidx test12
then add inappwebview to pubspec.yaml (either master or latest version) Then runflutter build apk --debug
Important Note
I have recently changed my windows to windows 10. I tried this on windows 8.1 on 2 other devices and it works there. Maybe it is because of the cache or something. I have turned off the firewall and defender.
Please help. I have been fighting this for 3 days. I can't sleep well :( .