Build error with folder name

More
9 years 1 week ago #1181 by NadTheVlad
Unity 5.22 and I2 2.6.2 f1
Went to build for android and got some errors.
Not sure if I am headed in the right direction with this but it
It looks like the folder names are being referenced wrong.
eg.
res values_ar
possibly should be
res values-ar
based on this
http://stackoverflow.com/questions/23609823/android-localization-invalid-resource-directory-name

*************************************************************************
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
/Users/nadinno/Library/Android/sdk/build-tools/23.0.1/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/nadinno/Library/Android/sdk/platforms/android-23/android.jar" -F bin/resources.ap_ --extra-packages com.google.example.games.basegameutils:com.chartboost.sdk.unity:com.prime31.Flurry:com.google.unity:com.google.example.games.mainlibproj:com.facebook:com.facebook.android:com.google.android.gms:com.noobslimited.dozer1 -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/BaseGameUtils/res" -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/GoogleMobileAdsPlugin/res" -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/facebook-android-sdk-4.7.0/res" -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/facebook-android-wrapper-release/res" -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/google-play-services_lib/res" -S "/Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res"

stderr[
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_ar
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_cs
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_da
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_de
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_el
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_en
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_es
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_fr
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_he
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_hi
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_it
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_ja
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_kk
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_ko
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_nl
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_pl
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_pt
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_ru
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_tl
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_vi
invalid resource directory name: /Volumes/seagate sshd/Dropbox/Source Codes/Blue Cloud apps/Diamond Dozer/Dozer Casino galaxy macau ngui unity5/Temp/StagingArea/android-libraries/unity-android-resources/res values_zh
]
stdout[

]

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

More
9 years 1 week ago #1185 by Frank
Replied by Frank on topic Build error with folder name
Hi,
Thanks for pointing that out, I just released a new version (2.6.3 a3) that fixes the issue and also organizes better the localization resources by grouping them in a common folder.
The new version can be downloaded now from the beta folder.

Hope that helps,
Frank

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

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

Time to create page: 0.170 seconds
Template by JoomlaShine