Hi, I've tried to run emulator on JENKINS. But it still failed to run command for "android create". I've tried to run the same command in command line. And I found that only jenkins user cannot run the command. If I use sudo user or root user, It can be run. Is there any best suggestion to solve this issue? I got below exception everytime I try to run use jenkins user.
Exception in thread "main" java.lang.NullPointerException at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1387) at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1366) at com.android.sdklib.internal.avd.AvdManager.<init>(AvdManager.java:315) at com.android.sdklib.internal.avd.AvdManager.getInstance(AvdManager.java:325) at com.android.sdkmanager.Main.createAvd(Main.java:1100) at com.android.sdkmanager.Main.doAction(Main.java:268) at com.android.sdkmanager.Main.run(Main.java:119) at com.android.sdkmanager.Main.main(Main.java:102) -- View this message in context: http://jenkins.361315.n4.nabble.com/JENKINS-user-cannot-run-android-create-command-tp4660342.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.