Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to put an Android debug keystore into a subversion repository and then getting Eclipse to use it?

In order to use the Google Maps API, Google requires the MD5 fingerprint of a keystore:

  • To display Maps data in a MapView, you need to register for a Maps API Key
  • Each Maps API Key is uniquely associated with a specific certificate, based on an MD5 fingerprint of the certificate
  • You can register multiple certificates under your developer identity
  • You can get a temporary Maps API Key based on your debug certificate, but before you publish your application, you must register for a new Key based on your release certificate and update references in your MapViews accordingly

We have multiple people who are going to be using the Google Maps API and we are using Subversion to track everything. It seems a lot easier if all the developers simply point at the same keystore but the Eclipse IDE doesn't seem like it has a way to point at more than one keystore and each developer works on multiple projects.

Is there a way to get Eclipse to use a keystore in the current Subversion repository without being a hassle (i.e. without having to change preferences all the time)?

Or should there be a new SVN repository dedicated solely to managing the debug keystore for all of our devs?

How are you doing this at your organization?

like image 551
Lenny Porter Avatar asked Jan 28 '26 00:01

Lenny Porter


1 Answers

Basically, default debug keystore is stored in /Users/{NAME}/.android/debug_keystore

  1. Set SVN Repository and Checkout to the computer, which contains the file “debug.keystore”
  2. In Eclipse, File->Preference->Android->Build.
  3. Set “Custom debug keystore” to “debug.keystore” file in SVN Checkout Directory

http://chrislee.kr/wp/2010/12/31/share-google-android-api-key-in-eclipse-with-other-team-members/

like image 96
bbodenmiller Avatar answered Jan 30 '26 16:01

bbodenmiller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!