Java Java Development Kit
Android Software Development Kit
ADT Plugin
問題一
報錯如:
Failed to load (%ANDROID_SDK__HOME%)\build-tools\26.0.0-preview\lib\dx.jar
Unable to build: the file dx.jar was not loaded from the SDK folder
CAUSE:
國内現在可以通路的ADT版本是23.0.7,Google已經不再更新ADT了,這就會導緻現有的ADT版本比SDK版本低。
SOLUTION:
1.删除SDK Manager裡面高版本的build-tools。比如27.0.3.
2.下載下傳SDK Manager裡面較低版本的build-tools。比如23.0.3.
問題二
CAUSE:
sun/misc/BASE64Encoder has been dropped in Java 9. It is available till Java 8.
SOLUTION:
是以下次新的JDK1.8,安裝
So i have change edit the eclipse.ini file by adding this line before the -vmargs
line :
-vm
D:\your address\bin\javaw.exe