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

时间:2022-06-01 19:04:04

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

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

在*上找到的解决方法:

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

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

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