Cause: buildOutput.apkData must not be null

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

    the only solution that works for me is using in my root gradle

    classpath 'com.android.tools.build:gradle:3.3.0'
    

    what i've tried : - clear all build folder manually - invalidate cache but none of these is work

    PS: i'm using android studio 3.5 btw

    Update :

    just like @Vishrut Mavani, changing the destination folder of your release version is work

提交回复
热议问题