Error:Execution failed for task ':app:packageRelease'. > Unable to compute hash of /../AndroidStudioProjects/../classes.jar

后端 未结 7 2079
天涯浪人
天涯浪人 2020-11-28 11:11

I\'m trying to do a \'release\' build on an Android app and I keep on getting this error of:

Unable to compute hash of /../AndroidStudioProjects/../cl

7条回答
  •  执笔经年
    2020-11-28 11:30

    Disabling the minifyEnabled option from my gradle file corrected the error in my build.

    build.gradle

    buildTypes {
           release {
                  // DISABLE OPTION
                  //minifyEnabled true
                  proguardFiles 'proguard.cfg'
           }
    }
    

提交回复
热议问题