Welcome, Guest
Username: Password: Remember me

TOPIC: Cant build game(Andriod)

Cant build game(Andriod) 1 month 4 weeks ago #2514

  • escic
  • escic's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
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: 1 month 4 weeks ago by escic. Reason: -
The administrator has disabled public write access.

Cant build game(Andriod) 1 month 4 weeks ago #2515

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 915
  • Thank you received: 196
  • Karma: 58
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
The administrator has disabled public write access.

Cant build game(Andriod) 1 month 4 weeks ago #2516

  • escic
  • escic's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
hi, I download and replace the file, and it works fine now. thanks you. :)
The administrator has disabled public write access.
Time to create page: 0.240 seconds
Colors