Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.5 Cause: buildOutput.apkData must not be null Clean & Rebuild already tried

After I've updated Android Studio 3.4 to 3.5 and wanted to build a Signed APK, however I get the error :

Cause: buildOutput.apkData must not be null Error

I've already tried to Clean & Make the Project and to Clean & Rebuild the Project, with no success.

I am using Android Gradle 3.5.0 & Gradle Version 5.4.1

like image 494
Tester2389 Avatar asked Aug 25 '19 13:08

Tester2389


2 Answers

This issue happens after update my Android studio v3.4 to v3.5 Now, it is working fine

I fixed this issue by deleting debug/output.json and release/output.json files
otherwise change your apk destination folder path.

Android Studio 3.5
compilesdkVersion 28

apk generating working
like image 62
Pradeep P Avatar answered Oct 11 '22 15:10

Pradeep P


Manually delete the build directory and rebuild, That worked for me

like image 42
Jorge Arimany Avatar answered Oct 11 '22 16:10

Jorge Arimany