-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Run flutter application in Android Virtual Device on Ubuntu Linux #82411
Comments
Hi @SubhanRaj To fix the issue you need to first delete the existing Gradle cache and download it again |
I used the official Gradle installation method given here https://gradle.org/install/And then added it to path permanently using the following method
Now gradle -v gives the following output------------------------------------------------------------ Gradle 7.0.2 ------------------------------------------------------------Build time: 2021-05-14 12:02:31 UTC Kotlin: 1.4.31 and after trying to run using F5 now it only showsException in thread "main" java.lang.NullPointerException |
@SubhanRaj |
It's working now, I removed manually installed Gradle, updated my JDK and then allowed Android studio to download the gradle itself, after that now it's running fine. Thanks, @TahaTesser and @FlutterIssues |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Unable to Run flutter application in Android Virtual Device on Ubuntu Linux
1.Unable to Run flutter application in Android Virtual Device on Ubuntu Linux
2. AVD is working fine
3. Debugging in Chrome Browser is working correctly
4. I have installed Android Studio via Jet brains Toolbox, so flutter doesn't recognise that, but I don't have any issues with it as I use VS Code for Code Editing
@FlutterIssues
Logs
flutter doctor -v
The text was updated successfully, but these errors were encountered: