Thanx Dave you set me on the right path
i have figured out that i can alter the apk wich codenameone builds. With winrar i can add files to the assets and creae a new keystore key and self sign the apk.
for other people who has the same problem with too many images the steps are to workaround the 50 mb limit for android
1 create apk file with codenameone with a fewer iamges
2 open the apk file in WinRar or other zip file
3 delete in META-INF folder the rsa and cf file
4 add to assets the image files
5 create a new keystore key
- open cmd in administrator
- go to java folder
- go to to the bin folder
- check if keytool.exe exits
- run
keytool -genkey -v -keyalg RSA -alias Naam -keystore naamapp.jks -storepass password -validity 5000 -keysize 2048 -sigalg MD5withRSA
6 put the apk file in the same jva/bin folder
7 create new signed apk
- run
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore naamapp.jks naam apk file wtith.apk Alias
Alias is the same alias name in step 6
Op woensdag 29 april 2020 18:56:20 UTC+2 schreef Dave Dyer: