tags:

views:

126

answers:

2

I used google.map api to develop a project which works well on android 2.1. But when I run the same project on android 2.2, it encountered some errors. The shown errors are

-- AndroidRuntime FATAL EXCEPTION:main -- AndroidRuntime java.lang.NoClassDefFoundError:android.net.NetworkConnectivityListener

-- AndroidRuntime at com.google.android.maps.MapActivity.onCreate(MapActivity.java:199)

I don't know where is the problem? Can anyone help me? I will apreciate it very much!

A: 

I guess you are missing this in your manifest:

<uses-permission android:name="android.permission.INTERNET" />
Macarse
A: 

Thank you for your answer. I had solve the problem. need to add in the manifest file between application