Android Apps without Android Studio - 2
In the previous post we installed the required tools from their respective websites.
Now we have to set ENVIRONMENT_VARIABLES as shown below.
ANDROID_HOME : F:\Droid\android
ANDROID_SDK_ROOT : F:\Droid\android\sdk
JAVA_HOME : F:\Droid\Java\jdk8
JDK_HOME : %JAVA_HOME%
CLASSPATH : .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
Now we will check if our tools are installed correctly or not.
Checking installations
Open the command prompt and enter the below commands one by one to check the versions.
java -version
This should show the below mentioned information.
C:\Users\me>java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
kotlin -version
This should show the below mentioned information.
C:\Users\me>kotlin -version
Kotlin version 1.3.72-release-468 (JRE 1.8.0_251-b08)
gradle -version
This should show the below mentioned information.
C:\Users\me>gradle -version
------------------------------------------------------------
Gradle 6.5
------------------------------------------------------------
Build time: 2020-06-02 20:46:21 UTC
Revision: a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4
Kotlin: 1.3.72
Groovy: 2.5.11
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 1.8.0_251 (Oracle Corporation 25.251-b08)
OS: Windows 8.1 6.3 amd64
sdkmanager –version
This should show the below mentioned information.
C:\Users\me>sdkmanager --version
26.1.1
Now as the required languages and build tools are installed, Do some practice to get familier with the new environment.
In the next post, We will install the Android Platform Tools