- Home /
Question by
Fede Garcia · Jul 19, 2014 at 07:14 PM ·
errorgameobjectbuildexport
Error in Android Export
I have this problem when I try to export my 2D Game to Android in Unity:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Usuario\Games Android\adt-bundle-windows-x86-20130219\sdk\build-tools\20.0.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Usuario/Games Android/adt-bundle-windows-x86-20130219/sdk/platforms/android-20\android.jar" -F bin/resources.ap_ --extra-packages com.facebook.android -S "C:\Users\Usuario\Documents\New Unity Project 8\Temp\StagingArea\android-libraries\facebook\res"
And after this, the console show these problem infinite times.
count <= std::numeric_limits<UInt16>::max()
UnityEditor.DockArea:OnGUI()
maxVertices < 65536 && maxIndices < 65536*3
I have no idea how to solve this. Sorry if my English is bad.
Comment
By any chance, do you have a mesh with more than 65536 vertices?
i have exactly same error message, didnt yet figure out what is wrong. In unity editor game works perfectly - no errors
Your answer
![](https://koobas.hobune.stream/wayback/20220613154506im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Web Player Export Problem 1 Answer
Script changes layer order. Unity changes it back on build. 0 Answers
Failed to re-package Problem 2 Answers
Why does my Windows build render darker? 0 Answers