toto_tata
toto_tata

Reputation: 15402

Android/Eclipse: where can I find the /Users/USER_NAME/.android/debug.keystore folder?

To use the Google Maps API, I need to generate a debug API key. For this, I need to find the /Users/USER_NAME/.android/debug.keystore folder...but nothing on my Mac ! Do you know how to find this folder ???

Note that I run Eclipse on a Mac. I checked in Eclipse=>Preferences=>Android=>Debug that the default debug keystore is indeed /Users/USER_NAME/.android/debug.keystore but no way to find it.

Thanks !!

Upvotes: 9

Views: 10732

Answers (3)

John Paul Manoza
John Paul Manoza

Reputation: 1735

I encountered this problem before. This UNIX Code solves the error.

In the terminal, type

cp -r /var/root/.android /tmp

This command will copy the entire .android directory to your temp folder. Maybe the reason for this is that android emulator keeps on searching the .android directory from your Mac's tmp folder. The installer keeps that .android directory to your root directory not on the tmp directory. You have to manually copy the directory to your /tmp directory everytime your mac starts.

Mac hides every directory which names starts with a symbol.

Upvotes: 1

Phil
Phil

Reputation: 36289

Open the terminal and type cd ~/.android. Next, type open . and your Finder window will open displaying all the files there, including debug.keystore.

Upvotes: 29

user874649
user874649

Reputation:

The folder .android is probably hidden. Navigate using the console/terminal.

Upvotes: 1

Related Questions