"Dog planing Learning Net" this morning, I started to build a unity3d-developed mini-game to run on my Android phone, and it ran into a lot of problems. The first problem encountered first is that when the build is half-time, the following error appears:Error Building Player:UnityException:No platforms found Android SDK does not include any platforms! Did you run Android SDK Setup to install the platform (s)? Minimum platform required for build are Android 4.0 (API level) Problem Resolution: Update the Android SDK with Android SDK managerafter the update is complete or error, open the SDK directory c:sdkplatforms, the name of the Discovery folder is android-4.2, change the folder name to android-17 the problem resolved continue publishing, and then another problem arises. Error building Player:UnityException:Couldn ' t find Android device No Android devices found. If You are sure this device is attached then it might being USB driver problem, for details please check Android SDK Setup se Ction in Unity Manual. Problem Resolution: Start the Android virtual machine AVD Manager or connect the phone to debug the deviceafter solving the two minor problems above, the APK installation package was finally generated. The next step is to install the generated apk to run on the Android virtual machine, and the following error occurred during installation:Android Installation Error:install_failed_container_errorWorkaround:in Untiy3d's playersetting, the install location setting is changed from the original preferexternal to Automatic.
when I finally installed the APK file and ran it in the Android emulator, the following error occurred.
Workaround:Select the Use Host GPU option in the simulator's parameter settings
Finally, the game runs under the simulator, isn't it cool?
12150723-5cbda98c306846d5b4b0b0eb6c62f325.png (252.26 KB, download number: 0) Download attachments to albums Uploaded 1 minutes ago Disclaimer: This document is from the "Dog Planing Learning Network" community, is the Netizen self-published Unity3d study articles, if there is any content violated your relevant interests, please communicate with the official, we will deal with the real-time. More Highlights:Www.gopedu.com |
Unity3d Solutions to problems when exporting Android APK files