While trying to tackle the native map not showing problem, I was experimenting with building Android app with certificates. I used a simplify test where the source contains only:
Form hi = new Form("Welcome", new BorderLayout());
MapContainer c = new MapContainer();
hi.add(BorderLayout.CENTER, c);
hi.show();
, and relevant build hints:
codename1.android.keystore=...
codename1.android.keystoreAlias=...
codename1.android.keystorePassword=...
codename1.arg.android.debug=false
codename1.arg.android.GoogleMaps.minPlayServicesVersion=9.4.0
codename1.arg.android.playService.maps=true
codename1.arg.android.release=true
codename1.arg.android.xapplication=<meta-data android\:name\="com.google.android.maps.v2.API_KEY" android\:value\="AIza......."/>
codename1.arg.android.playService.maps=true
I used certificate generated through the CN1 generator. Before adding the certificate, the build went fine without any complaints, but after adding the certificate, build failed with a similar error log as in another question with parse CN1Lib. This is the complete error log.
I'd like to know if this can be resolved or do I need some workaround for it? Thanks in advance.
Edit: I'm not sure if this help, but the issue can be reproduced through:
Create a new cn1 project (I used Eclipse Oxygen), then install native Google maps plugin and refresh cn1lib as instructed
In the start(), add a new MapContainer to the form with BorderLayout in Center
Add the build hints as instructed in github for the native maps cn1lib
Add Android certificate in cn1 settings
Build the project
Things that are not mentioned are left in default state