[Android] Try to Run the CTS on Android Emulator
Google provides the Android Compatibility Test Suite (CTS) for developer to test its Android distribution. You can use it to verify the Android platform. This test procedure provides you the basic compatibility of Android Market.
Here are the steps,
1. Prepare the Android SDK and download the Android CTS package on your computer.
2. unpack the Android CTS on your home directory
3. change the directory to “android-cts/tools/”
4. start the Android Emulator and execute this command,
#> SDK_ROOT=${ADNORID_SDK_ROOT} ./startcts
5. In the cts host, all the commands start with “start”.
a. This command provides you a help,
# cts_host> help
b. List all available plans,
# cts_host> ls –plan
c. Run a test plan
# cts_host> start –plan CTS
6. Wait for the test plan to be done. Enjoy it!
發佈留言
很抱歉,必須登入網站才能發佈留言。