I have the same problem.I made all mentioned changes to
androidmanifest.xml.
here is my manifest file

?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
    package="BuddyProj.BuddyPack">
    <uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
/>
   <uses-permission android:name="android.permission.INTERNET" /
>
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".BuddyApp" android:label="@string/
app_name">
        <uses-library android:name="com.google.android.maps" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

I am still getting the following error:
09-22 13:26:01.254: WARN/dalvikvm(698): Unable to resolve superclass
of LBuddyProj/BuddyPack/BuddyApp; (11)
09-22 13:26:01.263: WARN/dalvikvm(698): Link of class 'LBuddyProj/
BuddyPack/BuddyApp;' failed
09-22 13:26:01.284: DEBUG/AndroidRuntime(698): Shutting down VM
09-22 13:26:01.306: WARN/dalvikvm(698): threadid=3: thread exiting
with uncaught exception (group=0x40010e28)
09-22 13:26:01.306: ERROR/AndroidRuntime(698): Uncaught handler:
thread main exiting due to uncaught exception
09-22 13:26:01.343: ERROR/AndroidRuntime(698):
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{BuddyProj.BuddyPack/BuddyProj.BuddyPack.BuddyApp}:
java.lang.ClassNotFoundException: BuddyProj.BuddyPack.BuddyApp in
loader [EMAIL PROTECTED]
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2060)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2147)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.os.Handler.dispatchMessage(Handler.java:88)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.os.Looper.loop(Looper.java:123)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread.main(ActivityThread.java:3708)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
java.lang.reflect.Method.invokeNative(Native Method)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
java.lang.reflect.Method.invoke(Method.java:492)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:734)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:492)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
dalvik.system.NativeStart.main(Native Method)
09-22 13:26:01.343: ERROR/AndroidRuntime(698): Caused by:
java.lang.ClassNotFoundException: BuddyProj.BuddyPack.BuddyApp in
loader [EMAIL PROTECTED]
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:215)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:453)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:421)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.Instrumentation.newActivity(Instrumentation.java:1095)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2052)
09-22 13:26:01.343: ERROR/AndroidRuntime(698):     ... 11 more


Any clues?

Best Regards,
Sudheer


On Aug 24, 3:55 am, "Casey Borders" <[EMAIL PROTECTED]> wrote:
> > How are you trying to "register touches"?
>
> Gah!  I didn't call setClickable!  Nevermind, it was REALLY late!
> Thanks for your help!
>
>
>
> On Sat, Aug 23, 2008 at 5:34 AM, woodm <[EMAIL PROTECTED]> wrote:
>
> > How are you trying to "register touches"?
>
> > Are you using Overlay's and overriding the onTap / onTouchEvent
> > methods?
>
> > On Aug 23, 4:50 am, "Casey Borders" <[EMAIL PROTECTED]> wrote:
> >> Now I am having another weird problem.  If I define the MapView in a
> >> layout xml file, everything works like you would expect.  If I create
> >> it programmatically like I show above, then it doesn't register
> >> touches.  Any idea what's up with that?
>
> >> On Fri, Aug 22, 2008 at 3:20 AM, Casey Borders <[EMAIL PROTECTED]> wrote:
> >> > That did it!!  Thank you!!
>
> >> > On Fri, Aug 22, 2008 at 3:05 AM, woodm <[EMAIL PROTECTED]> wrote:
>
> >> >> I was having this same problem yesterday but managed to solve it.
>
> >> >> It's just a case of fixing your AndroidManifest.xml file. It needs to
> >> >> use the correct permissions and contain a <uses-library
> >> >> android:name="com.google.android.maps" /> tag.
>
> >> >> This post:
> >> >>http://groups.google.com/group/android-developers/browse_thread/threa...
>
> >> >> was a great help to me, and shows the permissions you need to use.
>
> >> >> On Aug 22, 6:45 am, "Casey Borders" <[EMAIL PROTECTED]> wrote:
> >> >>> I have and application that was running fine under m5, but it fails in
> >> >>> 0.9.  I tried to nail down what was causing it to fail and I have an
> >> >>> extremely simple MapActivity that is failing too.  Here's the code:
>
> >> >>> package org.moo.android.Test;
>
> >> >>> import com.google.android.maps.MapActivity;
> >> >>> import com.google.android.maps.MapView;
>
> >> >>> import android.os.Bundle;
> >> >>> import android.view.Window;
>
> >> >>> publicclassMapTest extends MapActivity
> >> >>> {
> >> >>>         private MapView mMap;
>
> >> >>> @Override
> >> >>> public void onCreate(Bundle icicle)
> >> >>> {
> >> >>>        super.onCreate(icicle);
> >> >>>         requestWindowFeature(Window.FEATURE_NO_TITLE);
>
> >> >>>         mMap = new MapView(this, "MapAPIKey");
> >> >>>         setContentView(mMap);
>
> >> >>> }
>
> >> >>>         @Override
> >> >>>         protected boolean isRouteDisplayed()
> >> >>>         {
> >> >>>                 return false;
> >> >>>         }
>
> >> >>> }
>
> >> >>> Here's the logcat output:
>
> >> >>> 08-22 05:36:30.274: WARN/dalvikvm(263):Unabletoresolvesuperclass
> >> >>> of Lorg/moo/android/Test/MapTest; (4)
> >> >>> 08-22 05:36:30.284: WARN/dalvikvm(263): Link ofclass
> >> >>> 'Lorg/moo/android/Test/MapTest;' failed
> >> >>> 08-22 05:36:30.294: DEBUG/AndroidRuntime(263): Shutting down VM
> >> >>> 08-22 05:36:30.304: WARN/dalvikvm(263): threadid=3: thread exiting
> >> >>> with uncaught exception (group=0x40010e28)
> >> >>> 08-22 05:36:30.304: ERROR/AndroidRuntime(263): Uncaught handler:
> >> >>> thread main exiting due to uncaught exception
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):
> >> >>> java.lang.RuntimeException:Unableto instantiate activity
> >> >>> ComponentInfo{org.moo.android.Test/org.moo.android.Test.MapTest}:
> >> >>> java.lang.ClassNotFoundException: org.moo.android.Test.MapTest in
> >> >>> loader [EMAIL PROTECTED]
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2060)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2147)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread.access$1800(ActivityThread.java:112)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.os.Handler.dispatchMessage(Handler.java:88)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.os.Looper.loop(Looper.java:123)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread.main(ActivityThread.java:3708)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> java.lang.reflect.Method.invokeNative(Native Method)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> java.lang.reflect.Method.invoke(Method.java:492)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:­734)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:492)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> dalvik.system.NativeStart.main(Native Method)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263): Caused by:
> >> >>> java.lang.ClassNotFoundException: org.moo.android.Test.MapTest in
> >> >>> loader [EMAIL PROTECTED]
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:215)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> java.lang.ClassLoader.loadClass(ClassLoader.java:453)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> java.lang.ClassLoader.loadClass(ClassLoader.java:421)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.Instrumentation.newActivity(Instrumentation.java:1095)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     at
> >> >>> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2052)
> >> >>> 08-22 05:36:30.334: ERROR/AndroidRuntime(263):     ... 11 more
> >> >>> 08-22 05:36:30.364: INFO/Process(51): Sending signal. PID: 263 SIG: 3
> >> >>> 08-22 05:36:30.404: INFO/dalvikvm(263): threadid=7: reacting to signal 
> >> >>> 3
> >> >>> 08-22 05:36:30.464: INFO/dalvikvm(263): Wrote stack trace to
> >> >>> '/data/anr/traces.txt'
> >> >>> 08-22 05:36:35.364: DEBUG/dalvikvm(93): GC freed 1197 objects / 58416
> >> >>> bytes in 198ms
> >> >>> 08-22 05:36:35.364: DEBUG/dalvikvm(124): GC freed 3 objects / 72 bytes 
> >> >>> in 185ms
>
> >> >>> What's going wrong here?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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