when i test on emulator it gives me error as Your application has
stopped unexpectedly.
n LogCat is:-
11-28 18:10:06.265: E/AndroidRuntime(313): FATAL EXCEPTION: main
11-28 18:10:06.265: E/AndroidRuntime(313): java.lang.RuntimeException:
Unable to instantiate activity ComponentInfo{com.privacygram.activity/
com.privacygram.activity.ImageCapture}:
java.lang.InstantiationException:
com.privacygram.activity.ImageCapture
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2585)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2679)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.os.Handler.dispatchMessage(Handler.java:99)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.os.Looper.loop(Looper.java:123)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread.main(ActivityThread.java:4627)
11-28 18:10:06.265: E/AndroidRuntime(313): at
java.lang.reflect.Method.invokeNative(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313): at
java.lang.reflect.Method.invoke(Method.java:521)
11-28 18:10:06.265: E/AndroidRuntime(313): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-28 18:10:06.265: E/AndroidRuntime(313): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-28 18:10:06.265: E/AndroidRuntime(313): at
dalvik.system.NativeStart.main(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313): Caused by:
java.lang.InstantiationException:
com.privacygram.activity.ImageCapture
11-28 18:10:06.265: E/AndroidRuntime(313): at
java.lang.Class.newInstanceImpl(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313): at
java.lang.Class.newInstance(Class.java:1429)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.Instrumentation.newActivity(Instrumentation.java:1021)
11-28 18:10:06.265: E/AndroidRuntime(313): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2577)
11-28 18:10:06.265: E/AndroidRuntime(313): ... 11 more
On Nov 28, 4:45 pm, Raghav Sood <[email protected]>
wrote:
> Try installing it via ADB and post the LogCat.
>
> Thanks
>
> On Mon, Nov 28, 2011 at 5:12 PM, rachana govilkar <
>
>
>
>
>
>
>
>
>
> [email protected]> wrote:
> > helo....
> > i developd a small application n started testing on LG 2.2 android
> > device.....
> > but i am getting this error "there is problem parsing the package"
> > when installing .apk file.....
> > i searched this group but i dint get any satisfactory answer.....
>
> > <uses-sdk android:minSdkVersion="8" />
> > i hope this is not causing error....as 2.2 device has same API
> > level...
> > please reply soon....
> > thnk u in advance
>
> > --
> > 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
>
> --
> Raghav Soodhttp://www.androidactivist.org/- Authorhttp://www.appaholics.in/-
> Founder
--
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