Cause: buildOutput.apkData must not be null

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

    For Android Studio 3.5 & 3.6 Update. (APK signed issue)

    Step 1: I have resolved this issue by modifying the Destination Folder location.

    Before

    c:\user\folder\project\app
    

    After

    c:\user\folder\project\apk
    

    > **For Android Studio `3.4` Update.**

    Step 1: After update Android Studio 3.4 you need to add all the dependency that used in your module or library in your app-level build.gradle.

    Step 2: Clean Project(Build > Clean Project)

    Step 3: Rebuild Project(Build > Rebuild Project)

    Now, Your Project will compile Perfectly.

提交回复
热议问题