Cause: buildOutput.apkData must not be null

后端 未结 28 1659
再見小時候
再見小時候 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:26

    It works for me:

    1. delete build folder from your project manually.

    2. in terminal of android studio type this command

    if windows user

    gradlew clean build
    

    if linux user

    ./gradlew clean build
    

提交回复
热议问题