Practical No. 02
Practical No. 02
Experiment No. 02
Title of the experiment Install and configure java development kit (JDK), Android studio and android
SDK.
Open a web browser and go to the official Android Studio download page: Android Studio
Download.
Ensure that you download the version of Android Studio that is compatible with your operating
system (Windows, macOS, or Linux).
Click on the "Download Android Studio" button. This will start the download process.
Read and review the terms and conditions provided by Google for using Android Studio.
Once the download is complete, run the installer. The installation process may vary slightly
depending on your operating system.
For Windows:
o Run the downloaded executable file (e.g., android-studio-ide-xxx.xxx.xxx.xxx-
windows.exe).
o Follow the on-screen instructions to install Android Studio. You may be prompted
to choose installation options, such as the location where Android Studio will be
installed.
After the installation is complete, launch Android Studio. The first time you run it, you may need
to set up the Android Studio environment, including downloading additional components and
configuring SDK settings.
Android Studio includes an emulator called the Android Virtual Device (AVD). You may need to
set up an AVD to test your applications. You can do this through the AVD Manager within Android
Studio.
Android Studio may prompt you to update SDK components or download additional tools. Follow
the prompts to ensure you have the latest SDK components.
i. Start Developing:
Once the installation and setup are complete, you're ready to start developing Android
applications using Android Studio.
2. List various IDEs that can be used to execute android operating system.
Android Studio
Eclipse with ADT (Android Development Tools) Plugin
IntelliJ IDEA
Visual Studio with Xamarin
NetBeans with NBAndroid Plugin
Xcode (for macOS, with Flutter or NativeScript)
React Native (with Visual Studio Code, Atom, etc.)
The Java Development Toolkit (JDK) is essential for Android development due to the following
reasons:
1. Programming Language: Java is the primary programming language used for Android app
development. The Android SDK (Software Development Kit), which includes tools and
libraries for Android development, is designed to work seamlessly with Java.
2. Java Virtual Machine (JVM): Android applications are executed on a Java Virtual Machine
(JVM) that runs on Android devices. The JVM interprets or compiles Java bytecode into
machine code that can run on different hardware architectures. The JDK includes tools
like javac (Java compiler) to compile Java source code into bytecode.
3. Java Standard Libraries: Android applications often leverage the Java Standard Libraries,
which are included in the JDK. These libraries provide a wide range of functions and
utilities that developers can use in their Android projects.
4. Compatibility: The Android operating system, in its early stages, adopted Java as its
primary development language. While Android applications are now developed using
Kotlin as well, Java remains a crucial language for Android development. The JDK ensures
compatibility with Java-based Android development.
In summary, the Java Development Toolkit is essential for Android development because it
provides the necessary language, runtime environment (JVM), libraries, and tools for writing,
compiling, and running Android applications written in Java. While Android development has
expanded to support other languages like Kotlin, the foundational role of Java and the JDK in the
Android ecosystem remains significant.
Process related (15M) Product related (10 M) Total (25) Sign of the teacher