Hi,

My first android app with Google Maps does not work.
I don't know what to do next.

Is there anything I have to do?

Here is exception in the Debug Monitor and my environment.

// Exception
//
09-09 09:54:57.909: ERROR/AndroidRuntime(791): Uncaught handler:
thread main exiting due to uncaught exception
09-09 09:54:57.919: ERROR/AndroidRuntime(791):
java.lang.IllegalAccessError: cross-loader access from pre-verified
class
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
dalvik.system.DexFile.defineClass(Native Method)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
dalvik.system.DexFile.loadClass(DexFile.java:193)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.Instrumentation.newActivity(Instrumentation.java:1097)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2186)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.os.Handler.dispatchMessage(Handler.java:99)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.os.Looper.loop(Looper.java:123)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
java.lang.reflect.Method.invokeNative(Native Method)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
java.lang.reflect.Method.invoke(Method.java:521)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
09-09 09:54:57.919: ERROR/AndroidRuntime(791):     at
dalvik.system.NativeStart.main(Native Method)

// Environment
//
SDK: android-sdk-windows-1.5_r3
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest
   xmlns:android="http://schemas.android.com/apk/res/android";
   package="com.example"
   android:versionCode="1"
   android:versionName="1.0.0">
  <application
     android:icon="@drawable/icon"
     android:label="@string/app_name">
    <activity
       android:name=".HelloMapActivity"
       android:label="@string/app_name">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
    <uses-library
       android:name="com.google.android.maps"></uses-library>
  </application>
   <uses-permission
         android:name="android.permission.INTERNET" />
<uses-sdk android:minSdkVersion="3"/>
</manifest>

--~--~---------~--~----~------------~-------~--~----~
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