On Tue, Jul 5, 2011 at 12:11 PM,
dunc%[email protected]
<dunc%[email protected]> wrote:
> I've written a maps app and it runs fine on every device apart from a
> Superpad 2 / Flytouch 3. Which is a cheap Chinese tablet that runs
> google's maps app just fine.
>
> Problem is that com.google.android.maps.MapActivity.onCreate() throws.
> It's not even my code!
>
> Has anyone seen this before and is it fixable from my app?
>
> This is the stack trace....
>
> java.lang.NoClassDefFoundError:
> android.net.NetworkConnectivityListener
>        at com.google.android.maps.MapActivity.onCreate(MapActivity.java:199)

There is no such class in your device. I see a
NetworkConnectivityListener class in the source code, but it is in
android.common, not android.net. Current editions of the Google Maps
app do not use the same MapView component as SDK developers use, so
the fact that Google Maps runs OK does not mean that MapView will.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to