First, jdk download, installation and environment variable configuration
1) jdk download
a, Enter the URL https://www.oracle.com/to enter the oracle official website, as follows, click java se under the downloads column to enter the java se download interface:
As follows, click the download button of jdk in the download interface, and a download interface with multiple versions of jdk pops up:
As follows, select the latest version of jdk 8u92, after selecting to accept the agreement,Choose the appropriate version to download according to your computer system:
2) jdk installation
First in the d drive, create new empty folders d:\ java \ jdk1.8.0_92 and d:\ java \ jre1.8.0_92 to facilitate installation.
Double-click to run the downloaded jdk. You will be prompted twice for the file installation location on the way.The first time is the installation location of jdk,The second time is the installation location of jre,Select the installation locations as d:\ java \ jdk1.8.0_92 and d:\ java \ jre1.8.0_92, as follows:
The final file installation location is as follows:
3) jdk system environment variable configuration (and test)
On the desktop,Right-click on the computer --->Properties --->Advanced Environment Settings --->Advanced --->Environment Variables,The operation demonstration is as follows
There are many tutorials online that are too complex to configure,There are only two steps required here:
a. Add the jdk bin path to the path environment variable of the system variable. Note that each path must end with a semicolon.
path:increase d:\ java \ jdk1.8.0_92 \ bin;
b. Add a java_home entry to the system variable environment variable to store the jdk installation path
java_home:d:\ java \ jdk1.8.0_92
Restart the computer,The above two paths can take effect.The system will automatically generate the classpath option in the system variables. After win + r start cmd command line interface,The following uses javac to test whether the jdk configuration is successful.If the following information is displayed successfully, the configuration is successful:
Second, the eclipse integrated development environment
Early developers need to download eclipse first and then download and install the adt plugin and android SDK and configure it.There are many steps like this,The Android developer's official website provides packaged downloads of related development environments.It contains eclipse, adt, and android sdk, download and extract directly,After that, the environment will be much easier.
1) Download of Android SDK and eclipse integrated development environment package (adt-bundle)
Enter the URL of the official document of Android development http://wear.techbrood.com/. After entering the website,Above the menu bar,Click the develop option, then click the tools option, and click the button "download eclipse adt" in the web page content as follows:
After entering the download page,Click the mouse in the order shown below,Download:
2) Decompress the adt-bundle package, configure environment variables,And open eclipse
As follows,Select the d drive to decompress, the following is the decompressed file:
Add the tools directory path under the sdk folder to the path option of the system environment variable:
Then open the eclipse application in d:\ adt-bundle-windows-x86_64-20140702 \ eclipse directory,The first time you open eclipse, you need to set the project storage directory.Just set it yourself,Such as f:\ android_workplace.
After opening eclipse, click the window menu --->preferences --->android, select the unzipped sdk directory for the sdk location directory on the right, and click apply. In this way, the sdk is matched:
Although the new version has the android 4.4w platform,But when I create avd (virtual android emulator) later, the error is displayed,Lack of cpu/abi image, the next chapter describes how to solve it.
Related articles
- Android StatusBar transparency method (different version adaptation)
- Android get apk detailed information through aapt command (including: package name, version number, SDK, etc)
- Android programming method to obtain package name, version information and VersionName name
- Android code to get information such as the phone's version number
- Android get app version number and version name
- Detailed Android version adaptation: 90 Pie
- php - coincheck api authentication doesn't work
- php - i would like to introduce the coincheck api so that i can make payments with bitcoin on my ec site
- [php] i want to get account information using coincheck api
- python - you may need to restart the kernel to use updated packages error
- the emulator process for avd pixel_2_api_29 was killed occurred when the android studio emulator was started, so i would like to
- python 3x - typeerror: 'method' object is not subscriptable
- javascript - how to check if an element exists in puppeteer
- xcode - pod install [!] no `podfile 'found in the project directory
- i want to call a child component method from a parent in vuejs
- vuejs - [vuetify] unable to locate target [data-app] i want to unit test to avoid warning