question

Keith Adler avatar image
Keith Adler asked

Maps do not work with APK shared with testers

I have an APK that I would like to install on other devices for demo purposes, but when it is installed from an APK file the maps appear like this: https://dl.dropboxusercontent.com/u/32296241/Device_Screen_Capture.jpg If I directly run the app it works without issue. The errors I receive on the APK installed devices are as follows: 06-27 09:51:42.260 26505-26505/? E/Maps-VersioningComponent﹕ Local manifest file does not exist: 06-27 09:51:42.436 26505-26505/? E/dalvikvm﹕ Could not find class 'com.amazon.client.framework.mvcp.controller.RootController', referenced from method com.amazon.geo.client.renderer.MapControlPolaris$5.checkRootController 6-27 09:51:42.566 26505-26544/? E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file /data/data/com.amazon.geo.mapsv2.services/shared_prefs/TrafficServiceImpl_preferences.xml 06-27 09:51:43.911 26505-26639/? E/Maps-Polaris﹕ [1;31mERROR: [jni/../native/renderer/downloader/UPNDownloadService.cpp: downloadDropFailed(), line 713][0m
amazon maps
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Hi, This sounds like a signing key issue. When you submit your app signature hash to the developer portal for maps registration, you may have used your debug key, and now that you have generated the signed apk, are using a different key. Therefore, maps will not work properly. I'd upload another maps registration using your apk signing keys, and this issue should be fixed. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Keith Adler avatar image
Keith Adler answered
This was exactly the case. I was not getting the hash for the debug key I was using the release key. For the Mac with OS X the command was: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.