嗨,当我试图在模拟器或任何设备中运行我的应用程序时,它会向我们显示
[2011-02-12 17:27:14 - FirstImage] ------------------------------
[2011-02-12 17:27:14 - FirstImage] Android Launch!
[2011-02-12 17:27:14 - FirstImage] adb is running normally.
[2011-02-12 17:27:14 - FirstImage] Performing com.gis.image.FirstImage activity launch
[2011-02-12 17:27:14 - FirstImage] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2011-02-12 17:27:16 - FirstImage] Uploading FirstImage.apk onto device '04038F041500E00A'
[2011-02-12 17:27:27 - FirstImage] Installing FirstImage.apk...
[2011-02-12 17:27:35 - FirstImage] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2011-02-12 17:27:35 - FirstImage] Please check logcat output for more details.
[2011-02-12 17:27:35 - FirstImage] Launch canceled!
logcat中的显示为
02-12 16:53:53.685: ERROR/CalWidget(3574): Hardware.isScreenOn=false but App.bIsScreenOn=true
02-12 16:54:13.679: ERROR/WeatherEngine(1403): queryString = http://motor.accu-weather.com/widget/motor/weather-data.asp?location=ASI|IN|IN031|MADURAI&metric=1
02-12 16:55:13.056: ERROR/smtp(1485): is not yahoo com
02-12 16:55:14.423: ERROR/smtp(1485): is not yahoo com
02-12 17:19:54.212: ERROR/WeatherEngine(1403): queryString = http://motor.accu-weather.com/widget/motor/weather-data.asp?location=ASI|IN|IN031|MADURAI&metric=1
02-12 17:21:25.775: ERROR/ConnectivityService(1276): connected default network is not mActiveDefaultNetwork!
02-12 17:21:25.783: ERROR/WeatherEngine(1403): queryString = http://motor.accu-weather.com/widget/motor/weather-data.asp?location=ASI|IN|IN031|MADURAI&metric=1
02-12 17:21:26.791: ERROR/WeatherEngine(1403): queryString = http://motor.accu-weather.com/widget/motor/weather-data.asp?location=ASI|IN|IN031|MADURAI&metric=1
02-12 17:24:34.783: ERROR/WeatherEngine(1403): Error Happen
02-12 17:24:34.783: ERROR/WeatherWidgetProvider(1403): failed to get weather info from server
02-12 17:24:39.791: ERROR/WeatherUpdateService(1403): Failed to get Weather info, retryCount=2
02-12 17:24:39.799: ERROR/WeatherEngine(1403): queryString = http://motor.accu-weather.com/widget/motor/weather-data.asp?location=ASI|IN|IN031|MADURAI&metric=1
02-12 17:25:25.463: ERROR/smtp(1485): is not yahoo com
02-12 17:25:26.822: ERROR/smtp(1485): is not yahoo com
02-12 17:31:45.471: ERROR/PackageManager(1276): Couldn't copy package file to temp file.
02-12 17:31:45.580: ERROR/AndroidRuntime(3715): ERROR: thread attach failed
02-12 17:32:30.580: ERROR/PackageManager(1276): Couldn't copy package file to temp file.
02-12 17:32:30.689: ERROR/AndroidRuntime(3729): ERROR: thread attach failed
错误是什么帮助我
答案 0 :(得分:2)
它只是显示:Unable to detect device compatibility
和Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
。
1)确保您的设备兼容,或者您已正确安装USB驱动程序。
2)确保您的设备有足够的存储空间来安装应用程序。
3)尝试在Manual Mode
中运行您的应用程序。要执行此操作,只需转到Run>> Run Configurations...
选择Project
,然后在左侧窗口中点击target
标签。这里将Deployment Target Selection Mode
设置为Manual
。然后点击Run
。将打开一个新窗口Android Device Chooser
。在这里,您可以在您想要的设备上运行您的应用程序。