解决 Unable to determine application id: com.android.tools.idea.run.ApkProvisionException

问题:Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: Error loading build artifacts from: ../app/build/outputs/apk/debug/output-metadata.json

解决方式:
第一步:清理工程。执行 Build -> Clean project
第二步:再次编译工程。执行 Build -> Rebuild project
第三步:清除缓存和重启工程。执行 File -> Invalidate Caches / Restart -> Invalidate and restart

参考文章
https://stackoverflow.com/questions/56440572/how-to-fix-unable-to-determine-application-id-com-android-tools-idea-run-apkpr

你可能感兴趣的:(解决 Unable to determine application id: com.android.tools.idea.run.ApkProvisionException)