2018년 2월 4일 일요일

Fail to load dx.jar 메시지 출력시 - Android Phonegap

에러 메시지 :

Error:Android Dex: [classes.jar] Failed to load dx.jar
Error:Android Dex: [classes.jar] java.lang.ClassNotFoundException: com.android.dx.command.DxConsole
Error:Android Dex: [classes.jar] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
Error:Android Dex: [classes.jar] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Error:Android Dex: [classes.jar] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Error:Android Dex: [classes.jar] at org.jetbrains.android.compiler.tools.AndroidDxRunner.loadDex(AndroidDxRunner.java:80)
Error:Android Dex: [classes.jar] at org.jetbrains.android.compiler.tools.AndroidDxRunner.runDex(AndroidDxRunner.java:136)
Error:Android Dex: [classes.jar] at org.jetbrains.android.compiler.tools.AndroidDxRunner.main(AndroidDxRunner.java:336)
Error:Android Dex: [classes.jar] Exception in thread "main" java.lang.NullPointerException
Error:Android Dex: [classes.jar] at org.jetbrains.android.compiler.tools.AndroidDxRunner.runDex(AndroidDxRunner.java:139)


해결책 : android SDK Build-Tools 의 버젼을 25.0.3 버젼을 사용한다.

Tools -> Android -> SDK Manager -> SDK Tools tab -> check "Show package details"



댓글 1개:

  1. Once gamers undergo the signup process, they may need to make a deposit to an account to allow them to} claim any bonus codes we have reviewed and get started profitable actual money payouts. Without a reviewed no deposit bonus, gamers do should fund an account to enjoy actual money video games. This website supports some of the the} most trusted fee strategies in the industry and gamers will profit from secure processing with each and every transaction that is conducted. All deposits and withdrawals are passed by way of encryption software program for one of the best ranges of player protection. The fee strategies supplied will rely on your nation 메리트카지노 of residence.

    답글삭제