Cause: buildOutput.apkData must not be null

后端 未结 28 1580
再見小時候
再見小時候 2020-12-07 12:03

My android application using Kotlin is throwing this exception when I try to Run \'app\' in the emulator o in my cellphone. When I build my project it runs well, with no err

28条回答
  •  抹茶落季
    2020-12-07 12:30

    I was getting this error also, when trying to "Generate Signed APK" for my release version. I tried all of the above methods, unfortunately none worked for me.

    What worked, was generating first the debug signed version of the app, and then generating again the release one.

    I do not know what exactly changed or what the original problem was, but it worked. I hope it will help you too, because this error is quite annoying...

提交回复
热议问题