Unity3d Solutions to problems when exporting Android APK files

Source: Internet
Author: User
Tags android sdk manager

"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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.