![]() Warning: If errors occur, do not continue with the. If you are using ProGuard to minimize your apps APK file, make sure that ProGuard does not obfuscate any Google VR SDK or NDK code. So here you could see, due to my gradle build script's mistake, file naming is somehow wrong.Ībove example is just one scenario which could lead to the same issue, but not necessary to be the same root cause as yours.Īs a result, I strongly recommend you to check the directory (to find the difference), and check your adle script (you may change the apk name there, something like below): applicationVariants. Generate signed APK After Android Studio is started, wait until all background tasks are finished. Go to the directory, there is a file actually named: app-debug-(HEAD.apk (with an extra parenthesis).Android Studio tells: The APK file /Users/MyApplicationName/app/build/outputs/apk/ app-debug-HEAD.apk does not exist on disk.Checkout to a specific commit (so that it's detached from head): git checkout.For example: With Android Studio 2.0 Preview (build 143.2443734). In this case, please check the printed directory according to the log. It means that Android Studio has actually successfully built the project, and also generated the APK, however, for some reason, Android Studio is not able to find the file. The Failure to initialize error may be caused by the incompatibility between the Android emulator and your out-of-date AMD CPU. In this case, please check the printed directory according to the log. But to be more specific to your problem - when Android Studio could not find the APK file on disk. ![]() ![]() It means that Android Studio has actually successfully built the project, and also generated the APK, however, for some reason, Android Studio is not able to find the file.
0 Comments
Leave a Reply. |