本文介绍了Android Studio 3.5原因:buildOutput.apkData不能为null Clean&重建已尝试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Android Studio 3.4更新为3.5,并想构建一个Signed APK后,出现错误:

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

我已经尝试清洁&进行项目并清理和清洁重建项目,但没有成功.

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

我正在使用Android Gradle 3.5.0& Gradle版本5.4.1

I am using Android Gradle 3.5.0 & Gradle Version 5.4.1

推荐答案

此问题发生在将我的Android Studio v3.4更新为v3.5之后现在,它工作正常

This issue happens after update my Android studio v3.4 to v3.5Now, 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

这篇关于Android Studio 3.5原因:buildOutput.apkData不能为null Clean&重建已尝试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:15