Issue
If I export the project to APK and sign the app with my key, the MapView works on my cellphone. But not when I run the app on my cellphone by selecting Run in Eclipse.
I think this is because it is not signed with my key. I looked at the project settings, but I could not find any options to sign the app to run it.
I cannot export it all the time just to debug/run the app. What are my options? Is it impossible to get MapView working if I run it from Eclipse's Run menu?
Possible solutions could be
- Is there any way to sign the app for Run/Debug automatically?
- Is there any option to get MapView working without signing for
Run/Debug?
Solution
Yeah this is a bit annoying. When you run the app from eclipse it is being signed by the debug.keystore. I recommend commenting out your api key and then put the api key for the debug.keystore and then when you want to run out of eclipse switch it back out. See link below for more info on the debug.keystore.
http://developer.android.com/guide/publishing/app-signing.html
Answered By - MikeIsrael
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.