发布于 3年前

Android Stuido 3.1报错:The APK file apk/app-debug.apk does not exist on disk.

升级到Android Studio 3.1,重新构建项目后运行apk时报错:

The APK file /Users/cc/projectName/app/build/outputs/apk/app-debug.apk does not exist on disk.

在Stackoverflow上找到的解决方法:

在Run -> Edit configurations:

Android App选择app -> 在窗口的下方的Before Launch添加Gradle-awake:

©2020 edoou.com   京ICP备16001874号-3