PostProcessAndroid - "../" not supported in mac
- SweatyChair
- Topic Author
- Offline
- Junior Member
- We made innovative mobile games.
7 years 7 months ago - 7 years 6 months ago #2242
by SweatyChair
Always remember you're unique, just like everyone else.
PostProcessAndroid - "../" not supported in mac was created by SweatyChair
When I build Android in iOS and has the game name localized, error appears in PostProcess as:
It seems that double ../ is not supprted in mac?
In this case I simply need to add following line above PostProcessBuild_ANDROID.cs:77:
System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/fur/Projects/NoHumanityMain/Assets/StreamingAssets/../../Temp/StagingArea/res/values"
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00064] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:131
at System.IO.Directory.CreateDirectory (System.String path) [0x0009a] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:96
at I2.Loc.PostProcessBuild_Android.SetStringsFile (System.String folder, System.String fileName, System.String stringXML, System.String appName) [0x0000e] in /Users/fur/Projects/NoHumanityMain/Assets/I2/Localization/Scripts/Editor/PostProcessBuild_ANDROID.cs:77
It seems that double ../ is not supprted in mac?
In this case I simply need to add following line above PostProcessBuild_ANDROID.cs:77:
folder = folder.Replace("Assets/StreamingAssets/../../", "");
Always remember you're unique, just like everyone else.
Last edit: 7 years 6 months ago by SweatyChair.
Please Log in or Create an account to join the conversation.
7 years 6 months ago #2245
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic PostProcessAndroid - "../" not supported in mac
Good to know. I normally build Android in Windows!
Will double check this and add a fix.
Thanks!!
Frank
Will double check this and add a fix.
Thanks!!
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.154 seconds