Home | History | Annotate | Download | only in launch

Lines Matching refs:avd

43 import com.android.sdklib.internal.avd.AvdManager;
44 import com.android.sdklib.internal.avd.AvdManager.AvdInfo;
86 private static final String FLAG_AVD = "-avd"; //$NON-NLS-1$
208 // default AVD: None
309 // this happens if the AVD Manager failed to find the folder in which the AVDs are
318 // FIXME: check errors on missing sdk, AVD manager, or project target.
328 * with compatible (and not yet running) AVD.
330 * * Preferred AVD set.
331 * If Preferred AVD is not running: launch it.
332 * Launch the application on the preferred AVD.
333 * * No preferred AVD.
336 * If == 1, launch the application on this AVD/device.
343 // first check if we have a preferred AVD name, and if it actually exists, and is valid
345 // We need to check this in case the AVD was recreated with a different target that is
354 "Preferred AVD '%1$s' is not compatible with the project target '%2$s'. Looking for a compatible AVD...",
367 "Automatic Target Mode: Preferred AVD
375 // at this point we have a valid preferred AVD that is not running.
380 "Automatic Target Mode: Preferred AVD '%1$s' is not available. Launching new emulator.",
387 // no (valid) preferred AVD? look for one.
425 // We need to figure out which AVD first.
427 // we are going to take the closest AVD. ie a compatible AVD that has the API level
435 "Automatic Target Mode: launching new emulator with compatible AVD '%1$s'",
442 "Failed to find an AVD compatible with target '%1$s'.",
451 if (MessageDialog.openQuestion(shell, "Android AVD Error",
472 "Launching new emulator with compatible AVD '%1$s'",
487 message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible AVD '%2$s'",
514 // or the AVD to launch.
544 * Find a matching AVD.
549 for (AvdInfo avd : avds) {
550 if (projectTarget.canRunOn(avd.getTarget())) {
555 avd.getTarget().getVersion().getApiLevel() <
557 defaultAvd = avd;