Because, recently very like the Yin-Yang division this at the cusp of the game, so I will write some of the game's functional test script or use cases.
First, I beginner py, maybe the update will be slow so I wrote slowly.
Second, this is purely self-reserved for the work.
Third, on the basic aspects of SDK,AVD, as well as the construction of the PY environment, here do not repeat.
These are the things that are always said.
First create your own simulator, the AVD in the creation simulator, here my configuration is as follows:
。
This is especially true of Cpu/abi, if you do not need to use Google Maps and other features, do not choose the GOOGLE_API_XXXXXXX CPU. This will prompt Google services to fail when you start.
Next install the Yin and Yang division apk.
After configuring the Android development system, enter the command for adb install Yin-Yang division. APK Path
You will encounter this hint during installation
[100%]/data/local/tmp/yys_v1.0.13_bili_pc.a
PKG:/DATA/LOCAL/TMP/YYS_V1.0.13_BILI_PC.A
Failure [Install_failed_container_error]/Storage Error
I now look at the information, as well as the solution of their own to explore the following several.
The first is that your storage space settings are too small, then the corresponding you set the SD space larger, in this case, do not put the ram to adjust too much, in order to pursue speed, or because more than the state of your computer environment will cause the failure to start
Second, if you are a developer who needs to androidmanifest.xml in the
android:installLocation="preferExternal进行修改
Third, modify the SD card read and Write permissions. Specific methods can refer to Http://stackoverflow.com/questions/22093597/installation-error-install-failed-container-error
Of course, there is a more brain-free way to install the APK, which is to drag the apk to the AVD simulator clock. Of course, there will be problems, you can also grab the package to check.
You may encounter a [Install_failed_no_matching_abis] error when installing the APK. This is because the CPU architecture does not support the cause, so you need to change the Cpu/abi property
Reference Solution
http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk
The road of regression--Mobile automation test (i)