1

我已经在各种情况下在我的模拟器上运行了这个应用程序这个应用程序,但令人惊讶的是它现在刚刚停止安装。当我运行时,我没有看到模拟器上安装了应用程序。控制台消息如下:

[2013-09-26 12:03:58 -JackHealthCare] ------------------------------
[2013-09-26 12:03:58 - JackHealthCare] Android Launch!
[2013-09-26 12:03:58 - JackHealthCare] adb is running normally.
[2013-09-26 12:03:58 - JackHealthCare] Performing com.example.jackhealthcare.SplashActivity activity launch
[2013-09-26 12:03:59 - JackHealthCare] Failed to find an AVD compatible with target 'Google APIs'. 
[2013-09-26 12:05:05 - JackHealthCare] Performing com.example.jackhealthcare.SplashActivity activity launch
[2013-09-26 12:05:08 - JackHealthCare] Launching a new emulator with Virtual Device 'GingerbreadApi' 
[2013-09-26 12:05:28 - JackHealthCare] New emulator found: emulator-5554
[2013-09-26 12:05:28 - JackHealthCare] Waiting for HOME ('android.process.acore') to be launched... 
[2013-09-26 12:06:48 - JackHealthCare] emulator-5554 disconnected! Cancelling 'com.example.jackealthcare.SplashActivity activity launch'!
[2013-09-26 12:15:02 - JackHealthCare] ------------------------------
[2013-09-26 12:15:02 - JackHealthCare] Android Launch!
[2013-09-26 12:15:02 - JackHealthCare] adb is running normally. 
[2013-09-26 12:15:02 - JackHealthCare] Performing com.example.jackhealthcare.SplashActivity activity launch 
[2013-09-26 12:15:03 - JackHealthCare] Failed to find an AVD compatible with target 'Google APIs'. 
[2013-09-26 12:16:38 - JackHealthCare] Performing com.example.jackhealthcare.SplashActivity activity launch
[2013-09-26 12:16:42 - JackHealthCare] Launching a new emulator with Virtual Device 'GingerbreadApi' 
[2013-09-26 12:16:49 - JackHealthCare] New emulator found: emulator-5554 
[2013-09-26 12:16:49 - JackHealthCare] Waiting for HOME ('android.process.acore') to be launched... 
[2013-09-26 12:18:05 - JackHealthCare] emulator-5554 disconnected! Cancelling 'com.example.jackhealthcare.SplashActivity activity launch'!
4

3 回答 3

3

您必须在应用程序中使用 Google API。

Failed to find an AVD compatible with target 'Google APIs'.

您需要创建一个安装了 Google API 的 AVD。

请参阅: https ://developers.google.com/android/add-ons/google-apis/installing

于 2013-09-26T11:29:30.797 回答
1
[2013-09-26 12:15:03 - RhemaHealthCare] Failed to find an AVD compatible with target 'Google APIs'. 

创建一个新的 Android 虚拟设备,选择 Target as Google API - API Level x。

于 2013-09-26T11:30:51.180 回答
1

您已在 AVD 上安装了您的应用,但没有 google API

您应该创建 Google API AVD 来运行您的应用程序。

注意:每当您运行集成地图的应用程序时,请使用Google API AVD

于 2013-09-26T11:31:31.040 回答