It is too laggy for Andriod Studio to bring its own simulator, and VirtualBox is installed in Genymotion simulator, and then a bunch of settings will result in card B.
Online under a carefree simulator, this simulator is dedicated to the game, the current official version are Android 4. X version. I used Android 5.1, a beta version, to debug.
Setting method of Android studio + carefree simulator:
(how to install as and how to download and install Xiaoyao will not be mentioned.)
1. Set deployment target options
2. Running carefree simulator
3. Run the command line and switch the directory to the installed carefree Directory: (mine is on D: disk)
cd D:\Program Files\Microvirt\MEmu
4. Use the command to check the number of ports opened by the free running program
netstat -nb
The default port is 5037
Because there are too many ports on this computer, I use the command to write the output to a file
netstat -nb > c:\port.txt
Open C:\ port.txt You can find data like this:
5. Using command to connect Xiaoyao
adb.exe connect 127.0.0.1:5037
The connected prompt indicates that the connection is successful
6. Android studio point to run, select just successfully connected to the carefree simulator
PS: if Android studio can’t connect to night God, restart the simulator.
Original text
Read More:
- Android studio simulator architecture choose arm or x86 to solve the problem of missing libraryexception
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Android Studio – add configuration for Android studio
- Error reported by ISE simulator: ERROR:Simulator : 861 – failed to link the design solution
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- ISE simulator reported an error: ERROR:Simulator : 861 – failed to link the design solution
- Android Studio Error: Invoke-customs are only supported starting with Android O (–min-api 26)
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- android studio:Error inflating class android.support.v4.widget.SwipeRefreshLayout
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error
- Android studio upgrade 4.1 plug-in error
- Android Studio could not resolve resource
- Error launching Android Studio
- Prompt “namespace ‘app’ not bound” when compiling Android studio
- Android studio disable install run