I was trying to develop a simple Android App to display Google Map but hit some error when trying to run it.
As you can see from the screenshot above, it says “com.google.android cannot be resolved” and Eclipse does not allowed me to proceed:
SOLUTION:
Need to install Google-API SDK. Follow steps below in order to patch that SDK Manager.
(1) Open Android SDK Manager
Window –> Android SDK Manager
(2)Look for the Android version that you wanted to use (for my case, I’m using Android 2.1). Check “Google APIs by Google Inc”. Then click install
(3)Accept the terms
(4)Click Yes when prompted “ADB Restart”
(5)Update done….
(6)Change Project Build Targer
Right click project –> Properties –> Android
Change the selection from Android 2.1 to Google APIs
(7) No more error at Java editor









