"Unity" packaged Android APK FAQ

Source: Internet
Author: User

Issue: Unity error Invalid command Android reason: Android version is newer, unity version is too old (such as 4.X), Unity Pack apk when call Android tool use command has been deprecated by Android (and unity does not know). WORKAROUND: Replace all content under the Android/sdk/tools folder with the old version of tools. (Remember to back up the original tools first) Question: Unityeditor.buildplayerwindow+buildmethodexception:build failed with errors.

At Unityeditor.buildplayerwindow+defaultbuildmethods.buildplayer (buildplayeroptions options) [0x001b9] in C \ Buildslave\unity\build\editor\mono\buildplayerwindowbuildmethods.cs:162at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askforbuildlocation, buildoptions defaultbuildoptions) [ 0X00050] in C:\buildslave\unity\build\editor\mono\buildplayerwindowbuildmethods.cs:83unityeditor.hostview:ongui ( Reason: Unity does not allow packaging into the project's assets folder.Workaround: Replace a build output directory (such as output to desktop). Reference:https://answers.unity.com/questions/1380921/build-failed-with-errors-at-unityeditorbuildplayer.htmlIssue: Commandinvokationfailure:failed to Re-package resources. Scenario: This error can occur when you are doing Android Unity Hybrid development, when you import an Android project into unity and then build a project with unity. Reason: Direct reference error to deal with each. Is that the Android project cannot find the picture under the Mipmap folder while reading the manifest file androidmanifest.xml. The project I created with Android Studio2.3.3 does not have a mipmap folder by default, and naturally I can't find the resources I need. Create a new folder and copy the pictures from the mipmap-hdpi folder.

"Unity" packaged Android APK FAQ

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.