I am able to figure out my problem removing duplicate content provider
name from the Manifest file.

On Apr 21, 10:56 am, Subba <raochoud...@gmail.com> wrote:
> Is the correct group to ask the above question. Can somebody tell me
> how to run the emulator with Open source Framework code.
>
> On Apr 21, 12:25 am, Subba <raochoud...@gmail.com> wrote:
>
> > I have added new provider under com.android.provider.contacts. I was
> > able to compile the code by  adding my Provider name to the Android.mk
> > file.
>
> > These are stpes are i am following.
>
> > 1. .build/envsetup.sh
>
> > 2. lunch 1
>
> > 3. make
>
> > 4. emualtor
>
> > When emulator  tries to publish my provider it's throwing below
> > exception. Do i need to copy any class files to Dalvikvm? Please
> > suggest me
>
> >  D/AndroidRuntime(  647): Shutting down VM
> > W/dalvikvm(  647): threadid=3: thread exiting with uncaught exception
> > (group=0x4000fe70)
> > E/AndroidRuntime(  647): Uncaught handler: thread main exiting due to
> > uncaught exception
> > E/AndroidRuntime(  647): java.lang.RuntimeException: Unable to get
> > provider com.android.providers.contacts.CMContactsProvider:
> > java.lang.ClassNotFoundException:
> > com.android.providers.contacts.CMContactsProvider in loader
> > dalvik.system.pathclassloa...@435da488
> > E/AndroidRuntime(  647):        at 
> > android.app.ActivityThread.installProvider
> > (ActivityThread.java:3857)
> > E/AndroidRuntime(  647):        at
> > android.app.ActivityThread.installContentProviders(ActivityThread.java:
> > 3659)
> > E/AndroidRuntime(  647):        at
> > android.app.ActivityThread.handleBindApplication(ActivityThread.java:
> > 3618)
> > E/AndroidRuntime(  647):        at android.app.ActivityThread.access$2500
> > (ActivityThread.java:112)
> > E/AndroidRuntime(  647):        at 
> > android.app.ActivityThread$H.handleMessage
> > (ActivityThread.java:1729)
> > E/AndroidRuntime(  647):        at android.os.Handler.dispatchMessage
> > (Handler.java:99)
> > E/AndroidRuntime(  647):        at android.os.Looper.loop(Looper.java:123)
> > E/AndroidRuntime(  647):        at android.app.ActivityThread.main
> > (ActivityThread.java:3948)
> > E/AndroidRuntime(  647):        at java.lang.reflect.Method.invokeNative
> > (Native Method)
> > E/AndroidRuntime(  647):        at java.lang.reflect.Method.invoke
> > (Method.java:521)
> > E/AndroidRuntime(  647):        at com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:782)
> > E/AndroidRuntime(  647):        at com.android.internal.os.ZygoteInit.main
> > (ZygoteInit.java:540)
> > E/AndroidRuntime(  647):        at dalvik.system.NativeStart.main(Native
> > Method)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to