Im getting same problem when im trying to run my app on android studio it says error while launching activity here is a photo of error The Error
Notes:
1)-I already writed -r to install flags
2)-I already disactivated instant run
EDIT:1)http://www.imgim.com/8369incib5094271.png 2)http://www.imgim.com/2752incio6976569.png
3)http://www.imgim.com/5162incis8193748.png
Related
classnotfoundexception basedexclassloader Showing my Google console App Crash report but i'm unable to find but App running perfect from android Studio but when i try to download from play store first time app crash then start working fine
Crash Report
What is this error ?
I want add a device in android studio but i get this error: 'invalid option --enable whpx'
I keep getting an error when trying to run my app in android studio.
Image of error.
Text version: "Emulator: glTexImage2D: got err pre :( 0x502 internal 0x1907 format 0x1907 type 0x1401"
Google doesn't turn up anything. Does anyone know what it means or how to fix it?
Edit: the other solution didn't work. I'm still getting the error and the virtual device only shows a white screen.
i'm a beginner in android studio (first time). I have this problem after i created empty activity then run with real device (mobile phone).
I hope some one can help me. Thank you.
More information
My device run on android 5.1 and connect with usb
Android studio v. 3.0.1
่JDK v. 9.0.4
JRE v. 9.0.4
Original code (empty project template)
I got the following message in the console.
Error:java.lang.RuntimeException: Internal error when trying to read zip file 'C:\Users\Jimmy.gradle\caches\transforms-1\files-1.1\support-core-ui-26.1.0.aar\3ac945728978df452e7f8cdd66ea71d9\jars\classes.jar'.
Error:com.google.common.base.VerifyException
Error:Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: Internal error when trying to read zip file 'C:\Users\Jimmy.gradle\caches\transforms-1\files-1.1\support-core-ui-26.1.0.aar\3ac945728978df452e7f8cdd66ea71d9\jars\classes.jar'.
Attached Images
im using eclipse to develop android app.
Im debugging my app on real device, htc desire hd.
When i start my app from eclipse its allways restart my phone.
This behavior wasnt allways like this and suddenly happaned.
I tried 3 different ROMs all 4.2.2 and its happing in all of them.
In my log cat i dont see any errors except this in my console:
[2013-09-05 21:25:33 - WorkoutLog2] Failed to install WorkoutLog2.apk on device 'HT0BRRX047774!
[2013-09-05 21:25:33 - WorkoutLog2] (null)
[2013-09-05 21:25:33 - WorkoutLog2] Launch failed on device: HT0BRRX047774
Why this is happening?