06-26 17:07:09.898: E/AndroidRuntime(380): FATAL EXCEPTION: main
06-26 17:07:09.898: E/AndroidRuntime(380): java.lang.NoClassDefFoundError: org.mythrii.email.Mail
06-26 17:07:09.898: E/AndroidRuntime(380): at org.mythrii.email.Email$1.onClick(Email.java:19)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.view.View.performClick(View.java:2485)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.view.View$PerformClick.run(View.java:9080)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.os.Handler.handleCallback(Handler.java:587)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.os.Handler.dispatchMessage(Handler.java:92)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.os.Looper.loop(Looper.java:123)
06-26 17:07:09.898: E/AndroidRuntime(380): at android.app.ActivityThread.main(ActivityThread.java:3683)
06-26 17:07:09.898: E/AndroidRuntime(380): at java.lang.reflect.Method.invokeNative(Native Method)
06-26 17:07:09.898: E/AndroidRuntime(380): at java.lang.reflect.Method.invoke(Method.java:507)
06-26 17:07:09.898: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-26 17:07:09.898: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-26 17:07:09.898: E/AndroidRuntime(380): at dalvik.system.NativeStart.main(Native Method)
The solution to this problem is to create a folder named "libs" in the project directory and copying all the external jar files there.
For further explanation, you can refer to this link.
http://tools.android.com/recent/dealingwithdependenciesinandroidprojects
I think what you face is that your code compiles , but # run time it crashes . How do i solve this , create a libs folder in your project inside eclipse(if its not exist) and add the jar file that contains the org.mythrii.email.Mail class inside the libs folder , Then run you app .
Related
I'm new to android programming and especially eclipse. I have a very hard time undersanding what the LogCat errors mean and where to look to fix them. I'm used to Visual Studios so it usually tells me where the error is located at. All of the classes it shows me arent even classes that I have created, but built in ones so I'm just confused..
LogCat:
06-26 09:03:56.201: E/AndroidRuntime(3428): FATAL EXCEPTION: main
06-26 09:03:56.201: E/AndroidRuntime(3428): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.basicscanner/com.example.basicscanner.MainActivity}: java.lang.ClassNotFoundException: com.example.basicscanner.MainActivity in loader dalvik.system.PathClassLoader[/data/app/com.example.basicscanner-1.apk]
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.os.Handler.dispatchMessage(Handler.java:99)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.os.Looper.loop(Looper.java:130)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread.main(ActivityThread.java:3683)
06-26 09:03:56.201: E/AndroidRuntime(3428): at java.lang.reflect.Method.invokeNative(Native Method)
06-26 09:03:56.201: E/AndroidRuntime(3428): at java.lang.reflect.Method.invoke(Method.java:507)
06-26 09:03:56.201: E/AndroidRuntime(3428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-26 09:03:56.201: E/AndroidRuntime(3428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-26 09:03:56.201: E/AndroidRuntime(3428): at dalvik.system.NativeStart.main(Native Method)
06-26 09:03:56.201: E/AndroidRuntime(3428): Caused by: java.lang.ClassNotFoundException: com.example.basicscanner.MainActivity in loader dalvik.system.PathClassLoader[/data/app/com.example.basicscanner-1.apk]
06-26 09:03:56.201: E/AndroidRuntime(3428): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
06-26 09:03:56.201: E/AndroidRuntime(3428): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
06-26 09:03:56.201: E/AndroidRuntime(3428): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
06-26 09:03:56.201: E/AndroidRuntime(3428): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
It means that the compiler is not able to find your class, maybe because you haven't defined it in your android manifest or maybe the path to your class is not right;)
It is a problem of your Intent.
Please add your Activity in your AndroidManifest.xml.
When you want to making new activity, you should register it in your AndroidManifest.xml.
I am not able to figure this problem out.I added the following jars.
httpClient-4.2.5.jar
httpcore-4.2.4.jar
httpmime-4.2.5.jar
I added these jar through Add External JARs option in Build Paths and then added them manually in the libs folder of my eclipse project still it gives me the following error while debugging the following line.
MultipartEntity multipartEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
Actually I am trying to upload multiple images to my php server using this.
Logcat:
06-26 02:06:08.082: E/AndroidRuntime(20389): FATAL EXCEPTION: IntentService[SyncService]
06-26 02:06:08.082: E/AndroidRuntime(20389): java.lang.NoClassDefFoundError: org.apache.http.entity.mime.MultipartEntity
06-26 02:06:08.082: E/AndroidRuntime(20389): at com.example.cameralibrary.ServerCommunication.uploadUserPhoto(ServerCommunication.java:43)
06-26 02:06:08.082: E/AndroidRuntime(20389): at com.example.cameralibrary.SyncService.onHandleIntent(SyncService.java:38)
06-26 02:06:08.082: E/AndroidRuntime(20389): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:59)
06-26 02:06:08.082: E/AndroidRuntime(20389): at android.os.Handler.dispatchMessage(Handler.java:99)
06-26 02:06:08.082: E/AndroidRuntime(20389): at android.os.Looper.loop(Looper.java:138)
06-26 02:06:08.082: E/AndroidRuntime(20389): at android.os.HandlerThread.run(HandlerThread.java:60)
06-26 02:06:08.082: E/AndroidRuntime(20389): Caused by: java.lang.ClassNotFoundException: org.apache.http.entity.mime.MultipartEntity in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.example.cameralibrary-2.apk]
06-26 02:06:08.082: E/AndroidRuntime(20389): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
06-26 02:06:08.082: E/AndroidRuntime(20389): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
06-26 02:06:08.082: E/AndroidRuntime(20389): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
Found out myself.The problem was that I didn't include the READ_EXTERNAL_STORAGE permission.
I added the following line in my manifest and it worked.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
I have developed a Android Map Application in Android and Want to Launch It On Google Play.
Problem is that when I Try to Run it On Emulator It Shows this Error in Console
[2013-06-24 10:14:18 - Track] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2013-06-24 10:14:18 - Track] Please check logcat output for more details.
[2013-06-24 10:14:18 - Track] Launch canceled!
Please Any One Help Me To Test it On Emulator and Tell me What Exactly I am Missing or Is There any other problem in it.Thanks in Advance
Update
Log Cat
06-24 14:43:12.462: D/dalvikvm(380): GC_CONCURRENT freed 376K, 48% free 3039K/5831K, external 716K/1038K, paused 5ms+5ms
06-24 14:43:16.303: D/dalvikvm(380): GC_CONCURRENT freed 578K, 50% free 3020K/6023K, external 716K/1038K, paused 5ms+49ms
06-24 14:43:16.863: D/dalvikvm(380): GC_CONCURRENT freed 298K, 47% free 3234K/6023K, external 716K/1038K, paused 5ms+7ms
06-24 14:43:17.193: D/dalvikvm(380): GC_CONCURRENT freed 468K, 47% free 3318K/6215K, external 716K/1038K, paused 5ms+32ms
06-24 14:43:17.643: D/dalvikvm(380): GC_CONCURRENT freed 432K, 46% free 3417K/6279K, external 717K/1038K, paused 5ms+6ms
06-24 14:43:37.943: E/log_tag(380): Error in http connectionjava.net.UnknownHostException: sml.com.pk
06-24 14:43:37.943: E/log_tag(380): Error converting result java.lang.NullPointerException
06-24 14:43:37.963: D/AndroidRuntime(380): Shutting down VM
06-24 14:43:37.974: W/dalvikvm(380): threadid=1: thread exiting with uncaught exception (group=0x40015560)
06-24 14:43:37.982: E/AndroidRuntime(380): FATAL EXCEPTION: main
06-24 14:43:37.982: E/AndroidRuntime(380): java.lang.RuntimeException: Unable to start activity ComponentInfo{map2.pkg.pkg/map2.pkg.pkg.GMapsActivity}: java.lang.NullPointerException
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.os.Handler.dispatchMessage(Handler.java:99)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.os.Looper.loop(Looper.java:130)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread.main(ActivityThread.java:3683)
06-24 14:43:37.982: E/AndroidRuntime(380): at java.lang.reflect.Method.invokeNative(Native Method)
06-24 14:43:37.982: E/AndroidRuntime(380): at java.lang.reflect.Method.invoke(Method.java:507)
06-24 14:43:37.982: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-24 14:43:37.982: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-24 14:43:37.982: E/AndroidRuntime(380): at dalvik.system.NativeStart.main(Native Method)
06-24 14:43:37.982: E/AndroidRuntime(380): Caused by: java.lang.NullPointerException
06-24 14:43:37.982: E/AndroidRuntime(380): at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:112)
06-24 14:43:37.982: E/AndroidRuntime(380): at org.json.JSONTokener.nextValue(JSONTokener.java:90)
06-24 14:43:37.982: E/AndroidRuntime(380): at org.json.JSONArray.<init>(JSONArray.java:87)
06-24 14:43:37.982: E/AndroidRuntime(380): at org.json.JSONArray.<init>(JSONArray.java:103)
06-24 14:43:37.982: E/AndroidRuntime(380): at map2.pkg.pkg.GMapsActivity.onCreate(GMapsActivity.java:112)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-24 14:43:37.982: E/AndroidRuntime(380): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
06-24 14:43:37.982: E/AndroidRuntime(380): ... 11 more
06-24 14:44:28.792: I/Process(380): Sending signal. PID: 380 SIG: 9
Sir I Have Created Emulator as Google Inc But Now Again m getting Error Above Log Cat/
1) Install Google map APIs. This can be done in Eclispe
Windows/Android SDK and AVD Manager -> Available Packages -> Third
Party Add-ons -> Google Inc. -> Google APIs by Google Inc., Android
API X
2) From command line create new AVD. This can be done by listing
targets (android list targets), then android create avd -n
new_avd_api_233 -t "Google Inc.:Google APIs:X"
3) Then create AVD in Eclipse Windows/Android SDK and AVD Manager ->
New... -> (Name: new_avd_X, Target: Google APIs (Google Inc.) - API
Level X)
4) Create Android Project in Eclipse File/New/Android Project and
select Google APIs Build Target.
5) add between
tags.
5) Run Project as Android Application.
If you’re installing an apk into the Android Emulator and seeing this
error (INSTALL_FAILED_MISSING_SHARED_LIBRARY), it may mean that the
app relies on the Google APIs (e.g. for Google Maps and the other
Google Android apps) and your AVD that you’re running was created
without the Google APIs.
Create a new AVD from the AVD Manager using the one of the Google API
targets at the API level that you need and you should be good to go.
This is my first time into the ArcGIS but not the first time for Android. I am an Android developer. For one of our recent projects, i am exploring the ArcGIS modules/samples. I did the following steps:
Installed Eclipse JUNO (latest) - Since my previous version got corrupted, had to replace the system.
Downloaded ArcGIS runtime SDK for Android 10.1.1.
Installed the ArcGIS plugin from the downloaded zip file obtained from step 2.
Restarted Eclipse/System.
Now to explore the basic "Hello World" ArcGIS app, i did the following steps.
File - New - Project - In the new window - selected the "ArcGIS for Android" option.
Out of the 2 options i selected "ArcGIS samples for Android". This option opened another window to fetch the samples from local or online.
I selected "LOCAL".
Under "Maps" section, i selected the "Hello World" sample project.
Now the Hello World project is in my workspace.
Cleaned and build the project. All errors gone.
Run the project.
I am obtaining the following error log:
06-26 16:36:15.678: E/AndroidRuntime(2672): FATAL EXCEPTION: main
06-26 16:36:15.678: E/AndroidRuntime(2672): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.HelloWorld}: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.access$600(ActivityThread.java:130)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.os.Handler.dispatchMessage(Handler.java:99)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.os.Looper.loop(Looper.java:137)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.main(ActivityThread.java:4745)
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Method.invokeNative(Native Method)
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Method.invoke(Method.java:511)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
06-26 16:36:15.678: E/AndroidRuntime(2672): at dalvik.system.NativeStart.main(Native Method)
06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Activity.setContentView(Activity.java:1867)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate(HelloWorld.java:42)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Activity.performCreate(Activity.java:5008)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
06-26 16:36:15.678: E/AndroidRuntime(2672): ... 11 more
06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.reflect.InvocationTargetException
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Constructor.constructNative(Native Method)
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
06-26 16:36:15.678: E/AndroidRuntime(2672): ... 22 more
06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.ExceptionInInitializerError
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapView.a(Unknown Source)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapView.<init>(Unknown Source)
06-26 16:36:15.678: E/AndroidRuntime(2672): ... 25 more
06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java: findLibrary returned null
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.Runtime.loadLibrary(Runtime.java:365)
06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.System.loadLibrary(System.java:535)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.core.internal.util.e$1.initialize(Unknown Source)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.io.a.a(Unknown Source)
06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapSurface.<clinit>(Unknown Source)
06-26 16:36:15.678: E/AndroidRuntime(2672): ... 27 more
Later i followed the ArcGIS forums and came across many links for example
http://forums.arcgis.com/threads/484...-returned-null
http://forums.arcgis.com/threads/850...ello-World-run
but alas the error was never cleared.
I encountered a similar problem with one of my Android projects. It had the libs folder with .so files for armeabi and armeabi-v7a. I converted the project into a library and used it one of my another project. Since it was a small project i didn't needed to explore the converted library project. This is due to the referencing of the .so files or library files related to the Eclipse updates. I am still unsure how to configure the .so files into the build path so that there is no "Unsatisfied link" error.
Please see the screenshot attached for the Build Path of this project.
Like Google maps , arc GIS also won't work in Emulator , to run your
app in Real device it should work
I have an android application and am trying to test the installation by downloading from a URL. The app is developed by me and I can load the app into emulator using eclipse and run it properly.
I uploaded the apk to webserver and point the emulators android browser to the location http://localhost:9080/myapp.apk. Emulator downloads the app properly. When I try to click on the downloaded file to install, it throws an error saying Unfortunately the process android.process.media has stopped. I am not sure how to proceed further to resolve this issue
Emulator Configuration: Android avd running on API 14, ICS 4.0.0 with 1GB sdcard.iso
Appreciate any insights.
Logcat shows the following:
07-10 19:17:19.195: I/qtaguid(380): Untagging socket 65 failed errno=-2
07-10 19:17:19.195: W/NetworkManagementSocketTagger(380): untagSocket(65) failed with errno -2
07-10 19:17:19.624: D/dalvikvm(80): GC_CONCURRENT freed 398K, 10% free 12133K/13383K, paused 10ms+10ms
07-10 19:17:20.174: D/dalvikvm(147): GC_CONCURRENT freed 699K, 31% free 11440K/16455K, paused 4ms+8ms
07-10 19:17:20.734: D/dalvikvm(147): GC_CONCURRENT freed 535K, 32% free 11325K/16455K, paused 3ms+7ms
07-10 19:17:21.025: D/dalvikvm(80): GC_EXPLICIT freed 105K, 10% free 12084K/13383K, paused 5ms+11ms
07-10 19:17:21.484: D/dalvikvm(380): GC_CONCURRENT freed 373K, 5% free 10112K/10631K, paused 4ms+5ms
07-10 19:17:24.464: W/KeyguardViewMediator(80): verifyUnlock called when not externally disabled
07-10 19:17:24.594: W/dalvikvm(380): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/drm/DrmManagerClient;
07-10 19:17:24.604: D/AndroidRuntime(380): Shutting down VM
07-10 19:17:24.614: W/dalvikvm(380): threadid=1: thread exiting with uncaught exception (group=0x409961f8)
07-10 19:17:24.654: E/AndroidRuntime(380): FATAL EXCEPTION: main
07-10 19:17:24.654: E/AndroidRuntime(380): java.lang.ExceptionInInitializerError
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.providers.downloads.DownloadDrmHelper.getOriginalMimeType(DownloadDrmHelper.java:97)
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.providers.downloads.DownloadReceiver.openDownload(DownloadReceiver.java:153)
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.providers.downloads.DownloadReceiver.handleNotificationBroadcast(DownloadReceiver.java:104)
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.providers.downloads.DownloadReceiver.onReceive(DownloadReceiver.java:74)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2118)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.app.ActivityThread.access$1500(ActivityThread.java:122)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.os.Handler.dispatchMessage(Handler.java:99)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.os.Looper.loop(Looper.java:137)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.app.ActivityThread.main(ActivityThread.java:4340)
07-10 19:17:24.654: E/AndroidRuntime(380): at java.lang.reflect.Method.invokeNative(Native Method)
07-10 19:17:24.654: E/AndroidRuntime(380): at java.lang.reflect.Method.invoke(Method.java:511)
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
07-10 19:17:24.654: E/AndroidRuntime(380): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
07-10 19:17:24.654: E/AndroidRuntime(380): at dalvik.system.NativeStart.main(Native Method)
07-10 19:17:24.654: E/AndroidRuntime(380): Caused by: java.lang.UnsatisfiedLinkError: Library drmframework_jni not found; tried [/vendor/lib/libdrmframework_jni.so, /system/lib/libdrmframework_jni.so]
07-10 19:17:24.654: E/AndroidRuntime(380): at java.lang.Runtime.loadLibrary(Runtime.java:393)
07-10 19:17:24.654: E/AndroidRuntime(380): at java.lang.System.loadLibrary(System.java:535)
07-10 19:17:24.654: E/AndroidRuntime(380): at android.drm.DrmManagerClient.<clinit>(DrmManagerClient.java:56)
07-10 19:17:24.654: E/AndroidRuntime(380): ... 15 more
07-10 19:17:24.804: W/InputManagerService(80): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#41647c30
07-10 19:17:25.044: I/WindowManager(80): createSurface Window{415ef168 paused=false}: DRAW NOW PENDING
Apparently its a bug in Android as pointed by #SevaAlekseyev above
code.google.com/p/android/issues/detail?id=21173
I was able to install by clicking on the app from downloads
Resolved in 4.1 (API 16). I get the same error because of an unsatisfied link error, libdrmframework_jni.so. Works well on a device.