Android Studio 2.2.1 Gradle Sync NullPointerException

天大地大妈咪最大 提交于 2019-12-01 14:14:35

Thanks @keddy 1201 his comment saved my life. I have tried uninstalling studio and java sdk and then reinstalled again couple of times with previous version and with also new versions.

Tried running studio as administrator solved the problem

Though the question has an accepted answer, but in my case with opening Android Studio 2.2.1 (though not actually only Gradle Sync), I opened the bin/idea.properties file inside the android-studio installation folder and had inserted the following line as suggested in this video:

disable.android.first.run=true

Then restarting Android-Studio has solved the NullPointerException.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!