Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
这个问题一般都会遇到。那么是什么原因那?
原因是缺少Android Virtual Device。
解决方法:(http://developer.android.com/guide/developing/eclipse-adt.html#Running)
Open a command-line (e.g.,"Command Prompt" application on Windows, or "Terminal" on Mac/Linux) and navigate to your SDK package's tools/ directory.
First, you need to select a Deployment Target. To view available targets, execute:
android list targets
This will output a list of available Android targets, such as:
id:1 Name: Android 1.1 Type: platform API level: 2 Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P id:2 Name: Android 1.5 Type: platform API level: 3 Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
Find the target that matches the Android platform upon which you'd like to run your application. Note the integer value of the id — you'll use this in the next step.
Create a new AVD using your selected Deployment Target. Execute:
android create avd --name <your_avd_name> --target <targetID>
Next, you'll be asked whether you'd like to create a custom hardware profile. If you respond "yes," you'll be presented with a series of prompts to define various aspects of the device hardware (leave entries blank to use default values, which are shown in brackets). Otherwise, press return to use all default values ("no" is the default).