I have Android application (.apk bundle). Application name contains umlauts. I'm trying to convert .apk bundle to .bar (BlackBerry 10). I'm using BlackBerry Repackaging Tool Plug-in for Eclipse.
After repackaging and signing process application name in MANIFEST.MF file in .bar bundle contains '?' signs instead of umlauts. I can't upload the .bar bundle to BlackBerry World due to this. When I'm trying to upload it I'm getting the error:
Invalid signature file digest for Manifest main attributes System.exit calls not allowed!
Michail, your own answer doesn't work properly. BAR file is signed and verified, but if I install final application to real Z10 device, there is "App f\u00FCr BlackBerry" as an application name (escaped sequence is printed directly).
I found easy solution here: Cyrillic app name incorrectly encoded during porting Android app to Blackberry
Problem is in encoding used by BlackBerry command tools. Only you need is to add
-Dfile.encoding=utf-8
parameter into apk2bar and blackberry-signer batch commands. For example:
java -Djava.awt.headless=true -Dfile.encoding=utf-8 -Xmx512M -cp "$LIB/BarPackager.jar:$LIB/Apk2Bar.jar"...
Then you can use signing for BlackBerry World directly from Eclipse.