java.lang.NullPointerException (no error message) APK building

前端 未结 6 1596
隐瞒了意图╮
隐瞒了意图╮ 2021-02-19 08:44
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        maven {
            url \"h         


        
6条回答
  •  忘了有多久
    2021-02-19 08:54

    I have had the same kind of problem these days. I found it might be caused by the version of gradle. After changing the version to 2.1.0, the problem's gone.

    dependencies {
            classpath 'com.android.tools.build:gradle:2.1.0'
        }
    

    I'm not sure it works for you.

提交回复
热议问题