简体   繁体   中英

cannot run my android app on actual device or AVD

Iam doing some android development using android studio 2.0, recently Iam failing in running any app neither in my actual device nor on my AVD. I have make the last updates required for android studio and SDK.

Here are some of the error messages:

Error:Exception in thread "main" 
Error:  at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Error:  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Error:  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

I solved this issue by checking the Use in-process build in the compiler settings.

Ctrl + Alt + sBuild, Execution, DeploymentCompiler

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM