Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating android map in intellij

I'm trying to create a simple map in androi (I want to add GPS coordinates later) in intellij 9.0.1 and I installed the sdk (and android 1.1 - 2.1 sdk platform support and google api 3-7). I created a new android project and I selected android 2.0.

Now I added to my AndroidManifest.xml like all the tutorials say, however when I run this class it isn't found. Does anyone know wether I'm doing something wrong or where I can find this package>

like image 536
user211992 Avatar asked Feb 05 '10 19:02

user211992


1 Answers

I would make sure that your Android facet is setup to use the Google API's. When you configure your Android SDK from IntelliJ, you can select your build target. I suspect you've chosen just the Android build target, and not the Goolge API build target.

Look under Project Structure->Facets->Android. Make sure your Android Platform is one of the Google API's.

like image 135
Steve K Avatar answered Oct 31 '22 11:10

Steve K