Download and configure Java download Java
JDK official website Download website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Click Agree Agreement, then download the corresponding system version of the JDK
Configure Java
???? Go to Control Panel \ System and Security \ System interface click Advanced System settings \ Advanced \ environment variable (N) Enter environment variable start configuration
???? Create a new Java_home under System variable (S)
????
???? Add in Path under System variable (s)
????
????
???? Create a new CLASSPATH under System variable (S)
????
detecting Java
- Enter Java-version display version information
- Input Java Javac No error description configured successfully, otherwise reconfiguration
Configure Android Studio
???? Android Studio Download URL: https://developer.android.google.cn/studio/index.html
???? Visual Studio emulator download URL: https://www.visualstudio.com/zh-hans/vs/msft-android-emulator/?rr=https%3A%2F% 2fmsdn.microsoft.com%2fzh-cn%2flibrary%2fdn771552.aspx
???? Install Android Studio and configure it before you download both.
???? Building stuck solution, turn off Android studio
???????? Open the Gradle directory C:\Users\danda\.gradle\wrapper\dists view the Gradle version and enter this directory
???????? Enter the directory after entering the garbled directory, delete all the files inside
???????? Open URL: https://services.gradle.org/distributions/ Select the corresponding version, download the package into a garbled directory, restart Android Studio and open the project again
???? To install the Visual Studio emulator:
- Enable CPU Virtualization
- Enable win-brought Hyper-V, and then restart your computer
- Install vs Emulator: Visual Studio Emulator for Android, and set compatibility to open in admin mode
- Open emulator to download the Android version you need
???? Configuring the emulator to Android studio
- Open it
- Select all three options
- Set shortcut keys
Name Fill in
program fill in the address of the VS simulator
Parametes: Open cmd into the VS simulator location input emulatorcmd.exe/sku:android list/type:device Get your ID
and then in Parametes input: ???? /sku:android launch/id:363f7aed-462c-46bd-9fec-f1dd3b79916c
Working directory: $ProjectFileDir $
- Set the icon (can not be set), after the right mouse click on the question mark, select the arrow pointing at
Select Add After
????????
???????? Click OK after selecting
????????
???????? Icon Creation Complete
????????
???????? PS: Running through Android studio requires Andtoid studio to be run by an administrator
- Registry Registration
Enter Regedit to enter Registry Editor
Then the computer \hkey_local_machine\software\wow6432node
Wow6432node above right-click on new Item (K), name is Android SDK Tools
Then select the string value, named path
Finally edit the path value data for the SDK directory (the SDK directory can be copied in Android studio)
Run vs Simulator
???? Run 1 First, the simulator starts successfully after clicking 2
Emulator connection Succeeded
This does not need to use genymotion, after all, Genymotion's free version of the watermark is unbearable, this vs simulator is very fast, and Intel's speed is almost
Click the arrow direction and more features
End
http://www.sohu.com/a/202680234_791833
AMD processor configuration Android Studio and VS simulator