I am new to android development. I got an error when I wrote the code
import com.google.android.maps.MapView;
in eclipse. The error is The import com.google can not be resolved.
Please anybody give suggestion to fix this problem.
Bring up your project properties, and go to Android. Do you have an Android target selected that includes the Google APIs? Perhaps you just have a generic Android target.
As Jim said, you have to select "Google APIs" (which is Android x.x + Google APIs) instead of something like "Android 2.2" in your project's properties.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With