I was happily debugging some javascript code used in my Flutter Webview project, but it stopped working yesterday.
I do execute
if (Platform.isAndroid) {
await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true);
}
in main.dart.
Dev platform is Mac/M1 chip with Monterey Version 12.5.1, running Android Studio Chipmunk/2021.2.1 Patch 2
I don't think it is Flutter related as I tried also with a strictly Android project and it has same problem.
It does look like Chrome was recently updated. I now have 'Version 105.0.5195.125 (Official Build) (arm64)'.
Anyone else have this problem using this version of Chrome?
Related
In my Flutter project autocomplete doesn't work.
No intellisense
No AutoComplete
Even Basic Dart Code doesn't work(No Run text)
In my VSCode Developer Tools have an error
VSCode Developer Tools Error
But Flutter Project Debugging is working correctly
And there is no issue in flutter doctor
My Flutter and Dart SDK version is (3.7.3/2.19.2)
This is my Flutter and Dart SDK version
I installed various flutter sdk and extension and checked the environment variable settings well, but none of them worked.
I wanna solve that Flutter Device Selection stack with loading.
This problem fixed Flutter plugin ver 47.0.3 over, but i cant update.
Plugins marketplace display 47.0.2 only.
https://github.com/flutter/flutter-intellij/issues/3892
New versions didnt release Android Studio in Mac OS ?
There is new versions in official page...
https://plugins.jetbrains.com/plugin/9212-flutter/versions
Configuration:
Android Studio 4.0
macOS Catalina 10.15.5
This problem was solved by downgrade flutter.
I have installed flutter and android studio. Followed some resources I have added path.(In windows)
But everytime I run the first project it is giving errors
like. Grandlew bat file not found.
sometimes : exception: exit with 1
Flutter doctor is always giving licenses unknown. I tried number of solutions in the YouTube and from here..but still getting same thing..
My dreams are going to stop in the first step.
you need to install flutter and dart plugin in your android studio/VS code.
to install a plugin in Android Studio follow these steps
Launch Android Studio application
Choose File -> Settings (For Mac Preference )
Search for Flutter then for dart(But dart will be installed automatically with flutter)
I just noticed you don't have Android SDK either, for that, you should go to your android studio and on the top right corner click on the SDK icon, and then install 28/29 version of android SDK hopefully it will solve your problem
alternatively, you can download SDK from here as well
I'm using VS Code as my IDE for Flutter and I'm trying to run my app in a Genymotion machine. How can I do that? The machine doesn't appear in VS Code bottom bar in the Devices section.
N.B:
I'm not looking for any solutions regarding Android emulators or Android Studio, only VS Code with Genymotion.
Alright, so after an hour or so of searching I found out the solution. It's entirely the same as the approach of using Genymotion in Android Studio. The only difference is you don't need to install a plugin for VS Code. However, in my case, it was a bug in Genymotion it self. I was using v3.0.1 which had some incompatibility bug with Android SDK 28 and this was the reason why the Genymotion machine did not show up as a device in VS Code, because this latter relies on Android SDK to determine what are the devices that run Android.
The solution for me was simply upgrading my Genymotion to v3.0.2 which fixed the incompatibility with Android SDK 28.
In case anyone runs into this problem in the future and this doesn't work, make sure that your Genymotion ADB settings use the Android SDK installed in your machine by Android Studio and not the one shipped with Genymotion itself.
I am developing an app in Flutter with Android Studio 3.3.1.
I have just started the project, deleted a few boilerplate code about the default counter app and also created a tablet emulator.
I can run the code in the tablet without any problem pressing the play button, but when I make some changes in the code i do not get the hot reload button activated.
I have tried running the same app on another mobile emulator and the hot reload button actually works.
Anyone got the same problem?
The issue is happening with the emulator: Nexus 10 API Q
This problem is related to Android Studio 3.3.1 version.
I had a similar problem.
See Instant run shortcut does not work in Android Studio 3.3
and Instant Run missing in Android Studio 3.3
Update to the latest version which is 3.4 or downgrade to version 3.2