Android Studio 3.5 Cause: buildOutput.apkData must not be null Clean & Rebuild already tried

后端 未结 6 787
Happy的楠姐
Happy的楠姐 2021-02-14 12:33

After I\'ve updated Android Studio 3.4 to 3.5 and wanted to build a Signed APK, however I get the error :

Cause: buildOutput.apkData must not be null Erro

6条回答
  •  隐瞒了意图╮
    2021-02-14 13:23

    Delete the contents of the build folders (existing *.apk and output.json):-

    1. AndroidProject\app\build\outputs\apk\androidTest\debug\
    2. AndroidProject\app\build\outputs\apk\debug\
    3. AndroidProject\app\release\

    And then rebuild the system by:-

    File -> Sync Project with Gradle Files

提交回复
热议问题