Android Studio 2.2.1 Gradle Sync NullPointerException

前端 未结 2 1525
醉梦人生
醉梦人生 2021-01-16 20:45

I have installed android studio 2.2 and created new project but gradle sync failed every time and getting following exception.

Error:Cause: java.lang.NullPoi         


        
2条回答
  •  自闭症患者
    2021-01-16 21:06

    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

提交回复
热议问题