升级到android studio 3.6后的ApkProvisionException [英] ApkProvisionException after upgrading to android studio 3.6
问题描述
无法确定应用程序ID:com.android.tools.idea.run.ApkProvisionException:变体的主要工件没有任何输出:debug
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant: debug
我的build.gradle文件中也有一个应用程序ID,但是仍然出现此错误.有什么办法可以摆脱这个问题.
There is an application id in my build.gradle file too, but still I am getting this error. Is there any way to get rid of this.
推荐答案
我在最新版本的Android Studio(3.6)中遇到相同的问题.我检查了一下,确实在项目的app/build/outputs/apk/
文件夹中创建了apk,我想现在您可以将apk从文件夹拖放到仿真器中.
I have the same issue with the latest version of Android Studio (3.6). I checked and apk is indeed created in app/build/outputs/apk/
folder of my project and I guess for now you can just drag'n'drop apk from folder to emulator.
这篇关于升级到android studio 3.6后的ApkProvisionException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!