B4J Question 1 is not a supported code page

tufanv

Expert
Licensed User
Longtime User
Hello,

With b4j 5.80 , I can compile in debug mode but i can't in release mode I am getting the error in the subject.

What can be the problem ?
 

tufanv

Expert
Licensed User
Longtime User
How do you define the code page?
It seems that you are defining a code page with the name "1".
I think that tese names must begin with a letter.

I don't know what is a code page ? I could sucessfully deploying apps in release mode and suddenly this started to happen in release mode. Maybe I did something but I don't know what.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Can you post the compilation window text?
B4X:
B4J Version: 5.82
Parsing code.    (0.03s)
Compiling code.    (0.10s)
   
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.03s)
Organizing libraries.    (0.00s)
Compiling generated Java code.    (1.41s)
Building jar file.    Error
1 is not a supported code page.
Parameter name: codepage
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Enable the IDE logs and see whether there is more information there: https://www.b4x.com/android/forum/posts/50478/
just this :
B4X:
B4J version: 5.82
.Net version: 4.0.30319.42000
Ini folder: C:\Users\tufan\AppData\Roaming\Anywhere Software\B4J
B4XClassifer created
B4XErrorTagger created
Failed to get scroller
Gui: 1012
*** no reuse ***
Gui: 530
B4XClassifer created
B4XErrorTagger created
B4XClassifer created
B4XErrorTagger created
B4XClassifer created
B4XErrorTagger created
*** no reuse ***
*** no reuse ***
*** no reuse ***
Gui: 401
Compilation task: 140.6113
Gui: 58
Compilation task: 1713.6377
Gui: 71
Compilation task: 1562.8118
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Nothing here.
I don't think that it is related to a change in v5.80 as nothing changed related to this compilation step. Have you made any other changes to the computer?

I see that it happened in release-obfuscation mode. Does it also happen in release mode?
Yes it also doesnt compile in release mode , just in debug mode.

As far as i remember , only thing I did today is updating the b4j from 5.5 to latest version. I dont know if it is related.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
This issue is related to SharpZipLib and the Windows locale settings. Have you tried to restart the computer?
yes I tried to restart. I also checked the web and saw that regional settings sometime causes the error , tried to change the language from Turkish to English US it also didnt help.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
This issue is related to SharpZipLib and the Windows locale settings. Have you tried to restart the computer?
is there anything else i can do about it ? I am stucked to debug version , what is the difference of debug and release the problems happens somewhere there but ..
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
This issue is related to SharpZipLib and the Windows locale settings. Have you tried to restart the computer?
@tufanv , have you changed the computer's locale? (Language &/or regional setting)?
Try setting them to international values, like GMT/ENG/QWERTY etc just to test it out
 
Upvote 0
Top