Advertisement

android studio 升级导致无法 compilation 和 烧录(normal版)

阅读量:

将android studio更新至3.6.2版本之后,APK的烧录过程出现异常,无法顺利执行,具体错误信息如下:

复制代码
    Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant
    

在stackoverflow平台上检索到相关问题的解决办法:https://stackoverflow.com/questions/56440572/how-to-fix-unable-to-determine-application-id-com-android-tools-idea-run-apkpr?r=SearchResults

复制代码
 4

    
  
    
 This is because your gradle version in project build.gradle configuration is too old for a newer Android Studio version, like Android Studio 3.6.1,
    
  
    
 1. you should change the gradle conf

全部评论 (0)

还没有任何评论哟~