Unable to open the plugin in Android Studio: gradle fails
See original GitHub issueHey there,
I am trying to open and build the plugin in Android Studio, however I am always getting this error which prevents me from building the project.
A problem occurred configuring project ':app'.
> java.lang.NullPointerException (no error message)
Any idea how to fix it?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Error running android: Gradle project sync failed. Please fix ...
Go to File -> Invalidate Caches/Restart · Shutdown Android Studio · Rename/remove your .gradle folder in the user home directory · Restart Android ......
Read more >Known issues with Android Studio and Android Gradle Plugin
To fix the issue for the current project, click Run > Edit Configurations and change the default JUnit configuration to only include the...
Read more >Different Ways to fix "Error running android: Gradle project ...
Method 1: Restarting your project using Invalidate Caches and Restart option ; Method 2: Sync your project with Gradle files ; Method 3:...
Read more >How to fix ' Gradle Project Sync Failed in Android studio '.
Today, in this video i will show you how to fix ' Gradle Project Sync Failed in Android studio '. To fix this...
Read more >How To Fix Gradle Project Sync Failed in Android studio
... sync failed android studio Article to Download and Install Gradle Versions : https://codeprofessionally.com/download-and-install- gradle ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

On windows I was getting a warning along with this of a missing
platformsdirectory inX:/MyUser/AppData/Local/Android/sdk/ndk-bundle. Adding an emptyplatformsfolder to this directory fixed thisNullPointerExceptionerror for me.This indeed solved my problem, this time w/ a fresh computer. Insert your user name and run (on mac):
mkdir /Users/{your_user_name}/Library/Android/sdk/ndk-bundle/platforms