Android various simulator use notes

Source: Internet
Author: User

[TOC]

"√" Every day simulator advantages:
    1. Pure Green
    2. When simulating GPS positioning, the reaction is fast enough (the location information of GPS simulation can be taken precedence over the network positioning when debugging)
    3. The 2.1.3 version is sufficient for daily use.
Disadvantages:
    1. It's a lot of commercials.
    2. The options can be set to no more night gods simulator (but enough to use if you can set the resolution and DPI on the line)
    3. Upgrade to the latest tiantiansetup-v2.2.1-full installed on the C drive no problem, other disk has a problem, VBox emulator COM Component Registration exception.
    4. ROOT does not function properly.
Solution for ADB version too low

The \TTMNQ\Tools directory under the

    adb.exe    AdbWinApi.dll    AdbWinUsbApi.dll

3 key files can be replaced with the latest version in the Android SDK.

The way to start advertising
    1. Set the following directory permissions TTMNQ\UserData\TianTian\ad to disable reading. ( Pro-Test success )
    2. Create an ad file with the same name so that the program cannot automatically create an ad directory? ( not tested )
Removing redundant process methods

TTMNQ去多余进程Replace the program in the directory with the file.

    │  RYWebStatistics.bat      │  RYWebStatistics.exe      │  TianTianAdvert.bat      │  TianTianAdvert.exe      │  TianTianPushAd.bat      │  TianTianPushAd.exe      │  ToolUpdater不能替换会崩溃.exe    │  WebStatistics.bat    │  WebStatistics.exe    │    ├─download    │      MiniThunderPlatform.bat    │      MiniThunderPlatform.exe    │    ├─Tools    │      kpzsJoystickTool.bat    │      kpzsJoystickTool.exe    │      kpzsPay.bat    │      kpzsPay.exe    │    └─UserData       └─TianTian           WebStatistics.bat           WebStatistics.exe
Pits record 1. ADB cannot connect to emulator cause analysis:

The daily simulator uses a better compatibility approach, directly using a WiFi-like adb mode to link.

Solution:

ADB Connect 127.0.0.1:6555

2. When installing the app (APK) very very slow cause analysis:

After viewing the Logcat, we found that each time a new app is installed, you need to request a URL webapi.kaopu001.com, and then time out. Cause each installation to wait for n long time.

Solution:
    1. Disable network access for all system apps by using some emulator-available firewall apps.

      Pro-Test available app:adguard (invalid VPN mode, WiFi proxy mode available) Pro-test useless app:noroot firewall,droidwall

    2. Restricting network access to the daily emulator process via the host computer: theoretically. (not tested)
    3. It should be possible to change the host file or the host of the emulator itself in theory. (not tested)

3. When moving the TTMNQ directory to a non-disk root, you cannot set the GPS simulation location problem? Cause Analysis:

Is it possible that the program read the configuration file when it was written to the dead path? or when the initial installation, accidentally remember the previous configuration folder path caused.

Solution 1:

UserData\TianTiana copy of the catalog can be copied to the directory D:\TTMNQ\UserData\TianTian .

Solution 2:

Create a D:\TTMNQ 任意目录下的TTMNQ symbolic link to the folder directory (or Hard link)
such as through MKLLINK /D D:\TTMNQ D:\MNQ\TTMNQ orMKLLINK /H D:\TTMNQ D:\MNQ\TTMNQ

4.TTMNQ can start to display the desktop normally, but can't click to run any app, as if the desktop card dead? Cause Analysis:

The deletion of file ToolUpdater.exe caused.

Solution:

You can restore the file.

"√" Night God Simulator Advantages:
    1. The options you can set are much more than the daily simulator.
    2. A variety of skins
    3. Comes with root permissions
Disadvantages:
    1. Partially green (writes some settings to the system disk %LOCALAPPDATA%\Nox )
    2. When simulating GPS positioning, the response is too slow (it feels like a real machine requires a cold start of the GPS for a long time to be normal). Causes the program to always take precedence over network positioning. Not easy to debug.
ADB cannot connect to emulator

Start Nox\bin\debug.bat .

Solution for ADB version too low

The \Nox\bin directory under the

    nox_adb.exe    AdbWinApi.dll    AdbWinUsbApi.dll

3 key files can be replaced with the latest version in the Android SDK.
adb.exeThe file needs to be renamed tonox_adb.exe

"X" Getaway simulator

Because only compatibility mode can be used to cause low performance abandonment

"X" Genymotion

Registration is required to use. It's a lot of trouble to be green.

Advantages of the "x" Android SDK comes with simulator
    1. Android system ROM version up-to-date
    2. Pure Green
Disadvantages
    1. Performance is low with arm system mirroring
    2. Most apps that do not support the X86 architecture are not installed properly

Use notes for various Android emulators

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.