Steps
- Get the Android SDK
Download ADT (Android Developer Tools) bundle from http://developer.android.com/sdk/index.html - Install the SDK and Eclipse IDE
Unpack the ZIP file and open the "eclipse" directory to launch eclipse
Errors
While launching Eclipse, an error message shows up.
A java Runtime environment(JRE) or Java Development Kit (JDK) must be available inorder to run Eclipse. No java virual machine was found after searching the following locations: D"\adt-bundle-windows-x86_64-20131030\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH
Solution
- TRY 1 - Set JAVA_HOME Environment Variable
Start Menu => Right click 電腦 choose 內容 => 進階系統設定 => 環境變數 => 系統變數編輯 Path - 加上 ;C:\Program Files (x86)\Java\jre6\bin
Result ...
Error message changes to be
Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll" - TRY 2 - Install JRE
Download latest JRE from http://www.java.com/en/download/manual.jsp and install it
Result ...
OK!!! (It is not necessary to process the procedure of TRY 1)
沒有留言:
張貼留言