4

I do need to have different debug keystores for several Android projects. How can I do that with plain Eclipse (no additional tools)?

The problem is that it's not possible to connect different apps, that share the same debug key, to Google Drive. Only one, the first one, works - always.

Currently I debug with release versions but the process to generate the signed apps for each debug cycle is very time consuming.

Any help is highly appreciated.

Harald Wilhelm
  • 6,656
  • 11
  • 67
  • 85

3 Answers3

0

You can change the debug.keystore location in Windows > Preferences > Android > Build. Refer Signing in Debug mode. This will, however, affect all the projects in the workspace.

Rajesh
  • 15,724
  • 7
  • 46
  • 95
  • Thanks - but this was not the question. From my 11 Android apps, three have to do with Google Drive. There's no way to work with Google Drive with three different apps (packages) that share the same key (SHA). – Harald Wilhelm Sep 29 '12 at 08:35
  • I understand, that's why I had mentioned the caveat. You will have to have the projects in different workspaces. Other than that, your only option is to use Ant build, which you can also execute from Eclipse. That's my opinion, though. You can wait and see if you get any more responses. – Rajesh Sep 29 '12 at 08:42
0

Recently, they changed the APIs & Auth section in the Google Cloud Console. Now there is a Credentials section instead of 'Registered Apps'

In 1 'project' in the Developer Console, I currently have 2 different OAuth entries that have the same debug key sha1, and it works fine. They do of course, have different package names.

aaronvargas
  • 12,189
  • 3
  • 52
  • 52
  • It is possible to register different keystores for some Google APIs (for instance for Maps v2), but the essence of the question is whether it's possible to have Eclipse build using a specific debug keystore on a per-project basis. – Paul Lammertsma Jan 28 '14 at 14:51
0

While it's not possible to do this through Eclipse, you may want to consider building your app through Ant. A detailed description can be found in this answer.

Community
  • 1
  • 1
Paul Lammertsma
  • 37,593
  • 16
  • 136
  • 187