Cant build game(Andriod)

More
7 years 2 months ago - 7 years 2 months ago #2514 by escic
hi, i have fail to build my game, this is some text from Unity.
How can i fixes it? thanks you.
CommandInvokationFailure: Failed to re-package resources.
C:\Users\user\AppData\Local\Android\Sdk\build-tools\25.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:\Users\user\AppData\Local\Android\Sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.chartboost.sdk.unity -S "D:\xxxxxx\game\xxxxxx\xxxxxx\Temp\StagingArea\android-libraries\AN_Res\res"

stderr[
invalid resource directory name: res values-en-US
]
stdout[

]
Last edit: 7 years 2 months ago by escic. Reason: -

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #2515 by Frank
Replied by Frank on topic Cant build game(Andriod)
Hi,
Can you try replacing the file Assets\I2\Localization\Scripts\Editor\PostProcessBuild_ANDROID.cs
with the one I'm attaching.

You will need to make a fresh build (build replace instead of append) so that unity deletes the old locale folders.

Please, let me know if that works for you!
   Frank

File Attachment:

File Name: PostProces...DROID.cs
File Size:5 KB

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #2516 by escic
Replied by escic on topic Cant build game(Andriod)
hi, I download and replace the file, and it works fine now. thanks you. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds
Template by JoomlaShine