Saving new step-by-step photos
| ←Older revision | Revision as of 07:31, 26 February 2019 | ||
| Line 4: | Line 4: | ||
|
== Steps ==
|
== Steps ==
|
||
|
=== Installing the Java Development Kit ===
|
=== Installing the Java Development Kit ===
|
||
| − |
#Understand the purpose of the Java Development Kit. The Java Development Kit (JDK) will allow you to "call" Java commands in Android Studio. When downloading the JDK, it's important to ensure that you're selecting the most up-to-date version possible.<ref>https://ift.tt/2GLA5dm>
|
+ |
#Understand the purpose of the Java Development Kit. The Java Development Kit (JDK) will allow you to "call" Java commands in Android Studio. When downloading the JDK, it's important to ensure that you're selecting the most up-to-date version possible.<ref>https://ift.tt/2GLA5dm>[[Image:Set up an Android Development Environment Step 1 Version 3.jpg|center]]
|
| − |
#Open the JDK website. Go to https://ift.tt/iqBXhF in your computer's browser. This is the page for all Java downloads, which includes the most recent version of the JDK.
|
+ |
#Open the JDK website. Go to https://ift.tt/iqBXhF in your computer's browser. This is the page for all Java downloads, which includes the most recent version of the JDK.[[Image:Set up an Android Development Environment Step 2 Version 2.jpg|center]]
|
| − |
#Click . It's a grey button near the top of the page, just below the "Java" entry in the "Java SE Downloads" section of the page.
|
+ |
#Click . It's a grey button near the top of the page, just below the "Java" entry in the "Java SE Downloads" section of the page.[[Image:Set up an Android Development Environment Step 3 Version 3.jpg|center]]
|
| − |
#Check the "Accept License Agreement" box. This option is near the bottom of the page.
|
+ |
#Check the "Accept License Agreement" box. This option is near the bottom of the page.[[Image:Set up an Android Development Environment Step 4 Version 3.jpg|center]]
|
| − |
#Select your operating system's link. At the bottom of the page, you'll see a list of operating system names with links next to them. You'll need to click the proper link for your computer's operating system:
|
+ |
#Select your operating system's link. At the bottom of the page, you'll see a list of operating system names with links next to them. You'll need to click the proper link for your computer's operating system:[[Image:Set up an Android Development Environment Step 5 Version 2.jpg|center]]
|
|
#*''Windows'' - Click '''jdk-10_windows-x64_bin.exe''' to the right of the "Windows" heading.
|
#*''Windows'' - Click '''jdk-10_windows-x64_bin.exe''' to the right of the "Windows" heading.
|
||
|
#*''Mac'' - Click '''jdk-10_osx-x64_bin.dmg''' to the right of the "macOS" heading.
|
#*''Mac'' - Click '''jdk-10_osx-x64_bin.dmg''' to the right of the "macOS" heading.
|
||
| − |
#Open the JDK setup file. Double-click the downloaded JDK setup file to do so.
|
+ |
#Open the JDK setup file. Double-click the downloaded JDK setup file to do so.[[Image:Set up an Android Development Environment Step 6 Version 2.jpg|center]]
|
| − |
#Install the JDK. This process will differ depending on your operating system:
|
+ |
#Install the JDK. This process will differ depending on your operating system:[[Image:Set up an Android Development Environment Step 7 Version 2.jpg|center]]
|
|
#*'''Windows'''
|
#*'''Windows'''
|
||
|
#**Click '''Yes''' when prompted.
|
#**Click '''Yes''' when prompted.
|
||
| Line 25: | Line 25: | ||
|
#**Enter your password when prompted, then click '''Install Software'''
|
#**Enter your password when prompted, then click '''Install Software'''
|
||
|
#**Click '''Close''' when the installation completes.
|
#**Click '''Close''' when the installation completes.
|
||
| − |
#Set the Java path on a Mac. If you use a Mac, you'll need to open '''Terminal''' and do the following after the Java installation is complete:<ref>https://www.youtube.com/watch?v=PraWD9BrL-0</ref>
|
+ |
#Set the Java path on a Mac. If you use a Mac, you'll need to open '''Terminal''' and do the following after the Java installation is complete:<ref>https://www.youtube.com/watch?v=PraWD9BrL-0</ref>[[Image:Set up an Android Development Environment Step 8 Version 2.jpg|center]]
|
|
#*Type in and press
|
#*Type in and press
|
||
|
#*Use the downward-facing arrow key to place your cursor below the "export PATH" text line.
|
#*Use the downward-facing arrow key to place your cursor below the "export PATH" text line.
|
||
| Line 32: | Line 32: | ||
|
=== Installing Android Studio ===
|
=== Installing Android Studio ===
|
||
| − |
#Understand what's entailed in Android Studio. Android Studio is a complete suite of software which includes an Integrated Development Environment (IDE) and the proper Android development kit (SDK) needed in order to create Android software.
|
+ |
#Understand what's entailed in Android Studio. Android Studio is a complete suite of software which includes an Integrated Development Environment (IDE) and the proper Android development kit (SDK) needed in order to create Android software.[[Image:Set up an Android Development Environment Step 9 Version 2.jpg|center]]
|
|
#*Prior to Android Studio, developers had to download a third-party IDE (such as Oracle's Eclipse) and then install it alongside the Java Development Kit and the Android SDK; this is no longer necessary.<ref>https://ift.tt/2GLbjdc>
|
#*Prior to Android Studio, developers had to download a third-party IDE (such as Oracle's Eclipse) and then install it alongside the Java Development Kit and the Android SDK; this is no longer necessary.<ref>https://ift.tt/2GLbjdc>
|
||
|
#*Android Studio support for the Oracle Eclipse plug-in is no longer available.
|
#*Android Studio support for the Oracle Eclipse plug-in is no longer available.
|
||
| − |
#Open the Android Studio download page. Go to https://ift.tt/1rQt9Qs in your computer's web browser.
|
+ |
#Open the Android Studio download page. Go to https://ift.tt/1rQt9Qs in your computer's web browser.[[Image:Set up an Android Development Environment Step 10.jpg|center]]
|
| − |
#Click . It's a lime-green button near the bottom of the page.
|
+ |
#Click . It's a lime-green button near the bottom of the page.[[Image:Set up an Android Development Environment Step 11.jpg|center]]
|
| − |
#Check the "I have read and agree with…" box. This option is near the bottom of the page.
|
+ |
#Check the "I have read and agree with…" box. This option is near the bottom of the page.[[Image:Set up an Android Development Environment Step 12.jpg|center]]
|
| − |
#Click . It's a blue button at the bottom of the page. The Android Studio setup file will begin downloading onto your computer.
|
+ |
#Click . It's a blue button at the bottom of the page. The Android Studio setup file will begin downloading onto your computer.[[Image:Set up an Android Development Environment Step 13.jpg|center]]
|
| − |
#Double-click the setup file. It's a green Android Studio icon. This will prompt the Android Studio installation window to begin opening.
|
+ |
#Double-click the setup file. It's a green Android Studio icon. This will prompt the Android Studio installation window to begin opening.[[Image:Set up an Android Development Environment Step 14.jpg|center]]
|
| − |
#Install Android Studio. Once the setup file opens, you can install Android Studio. This process will differ slightly depending on your computer's operating system:<ref>https://ift.tt/2GJhZZr>
|
+ |
#Install Android Studio. Once the setup file opens, you can install Android Studio. This process will differ slightly depending on your computer's operating system:<ref>https://ift.tt/2GJhZZr>[[Image:Set up an Android Development Environment Step 15.jpg|center]]
|
|
#*'''Windows'''
|
#*'''Windows'''
|
||
|
#**Click '''Yes''' when prompted.
|
#**Click '''Yes''' when prompted.
|
||
| Line 52: | Line 52: | ||
|
#**Click '''Next''' twice.
|
#**Click '''Next''' twice.
|
||
|
#**Click '''Finish'''
|
#**Click '''Finish'''
|
||
| − |
#Allow Android Studio to install. This can take several minutes, so be patient and keep your computer plugged in if necessary.
|
+ |
#Allow Android Studio to install. This can take several minutes, so be patient and keep your computer plugged in if necessary.[[Image:Set up an Android Development Environment Step 16.jpg|center]]
|
|
#*On Windows, you may have to click '''Next''' and then click '''Finish''' one more time before Android Studio finishes installing.
|
#*On Windows, you may have to click '''Next''' and then click '''Finish''' one more time before Android Studio finishes installing.
|
||
| − |
#Open Android Studio. If Android Studio doesn't open immediately after the final '''Finish''' click, double-click (Windows) or click (Mac) the Android Studio shortcut.
|
+ |
#Open Android Studio. If Android Studio doesn't open immediately after the final '''Finish''' click, double-click (Windows) or click (Mac) the Android Studio shortcut.[[Image:Set up an Android Development Environment Step 17.jpg|center]]
|
|
#*On Windows, you'll need to check the "I do not have a previous version" box and then click '''OK''' before proceeding.
|
#*On Windows, you'll need to check the "I do not have a previous version" box and then click '''OK''' before proceeding.
|
||
| − |
#Set up Android Studio. Android Studio will open to a setup wizard, so do the following to complete it:
|
+ |
#Set up Android Studio. Android Studio will open to a setup wizard, so do the following to complete it:[[Image:Set up an Android Development Environment Step 18.jpg|center]]
|
|
#*Click '''Next'''
|
#*Click '''Next'''
|
||
|
#*Check the "Standard" box.
|
#*Check the "Standard" box.
|
||
| Line 63: | Line 63: | ||
|
#*Click '''Next'''
|
#*Click '''Next'''
|
||
|
#*Click '''Finish''' twice.
|
#*Click '''Finish''' twice.
|
||
| − |
#Start a new Android Studio project. Click '''Start a new Android Studio project''' on the main page, then fill out the form by entering the necessary information and clicking '''Next''' on each page. At this point, you are ready to begin coding your very first Android application.<ref>https://ift.tt/2Nv5ely>
|
+ |
#Start a new Android Studio project. Click '''Start a new Android Studio project''' on the main page, then fill out the form by entering the necessary information and clicking '''Next''' on each page. At this point, you are ready to begin coding your very first Android application.<ref>https://ift.tt/2Nv5ely>[[Image:Set up an Android Development Environment Step 19.jpg|center]]
|
|
#*Android Studio's website has a basic "Hello World" tutorial here: https://ift.tt/1yMsLiA
|
#*Android Studio's website has a basic "Hello World" tutorial here: https://ift.tt/1yMsLiA
|
||
| − |
#Update your Android Studio software often. The best way to ensure that Android Studio continues to be a competitive development environment is by keeping it up-to-date:<ref>https://ift.tt/2Nu1h0F>
|
+ |
#Update your Android Studio software often. The best way to ensure that Android Studio continues to be a competitive development environment is by keeping it up-to-date:<ref>https://ift.tt/2Nu1h0F>[[Image:Set up an Android Development Environment Step 20.jpg|center]]
|
|
#*Click '''File''' (Windows) or '''Android Studio''' (Mac).
|
#*Click '''File''' (Windows) or '''Android Studio''' (Mac).
|
||
|
#*Click '''Settings''' (Windows) or '''Preferences...''' (Mac).
|
#*Click '''Settings''' (Windows) or '''Preferences...''' (Mac).
|
||
from wikiHow - Recent Changes [en] https://ift.tt/2GKApcg
via IFTTT