开发者

HelloMapView in android

开发者 https://www.devze.com 2022-12-15 20:51 出处:网络
I am trying to write a mapView application .When I 开发者_JAVA技巧extend my class with MapActvity it will generate an error force to close application.

I am trying to write a mapView application .When I 开发者_JAVA技巧extend my class with MapActvity it will generate an error force to close application. And in log chat I got an run-time error like classNotFoundException.

please solve my problem.


It's hard to point out the error without knowing what you've done so far, but at the very least you must add the library to your manifest:

<uses-library android:name="com.google.android.maps" />

You should also go into Window > Android SDK and AVD Manager in Eclipse and make sure the device your running is targeting Google APIs (Google Inc.) rather than Android x.x

0

精彩评论

暂无评论...
验证码 换一张
取 消