Difference between revisions of "IoTGateway/BSP/Android/ApplicationDevelopGuide"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 
== preparations ==
 
== preparations ==
  
JDK
+
Please download "jdk-8u121-windows-x64.exe" from [http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html]. Launch the .exe file you downloaded . Follow the setup wizard to install JDK .
 +
 
 +
Then refer to the following step to open system variables window:
 +
 
 +
Computer -> Properties -> Advanced system settings -> Advanced -> envionment variables.
 +
 
 +
 
 +
 
 +
Create a new system variable JAVA_HOME. The variable value is the location where JDK installed, such as: D:\Program Files\Java\jdk1.8.0_121
 +
 
 +
 
 +
 
 +
Create a new system variable CLASS_PATH. The variable value is: .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;
 +
 
 +
Edit system variable PATH. Add: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
  
 
== Build Android Studio development environment ==
 
== Build Android Studio development environment ==

Revision as of 05:15, 6 February 2017

preparations

Please download "jdk-8u121-windows-x64.exe" from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. Launch the .exe file you downloaded . Follow the setup wizard to install JDK .

Then refer to the following step to open system variables window:

Computer -> Properties -> Advanced system settings -> Advanced -> envionment variables.


Create a new system variable JAVA_HOME. The variable value is the location where JDK installed, such as: D:\Program Files\Java\jdk1.8.0_121


Create a new system variable CLASS_PATH. The variable value is: .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;

Edit system variable PATH. Add: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

Build Android Studio development environment

Build Eclipse development environment

ADB Tool