Cause: buildOutput.apkData must not be null

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

    AS 4.0.1 (installed via snap)

    Ubuntu 18.04 lts

    configuring builds via build variant.

    Combinations of invalidate cache / build / clean etc didnt help on their own, the only thing that helped was to switch build the active build variant back to armDebug and clean / rebuild after that.

    Once I switched back to the desired variant I could build correctly.

提交回复
热议问题