我剛剛下載了metaio中的AR示例程序。當我運行或建立程序。顯示的錯誤: 安裝因無效的APK文件而失敗! [2011-08-29 21:15:30 - Example_SDK]請查看logcat輸出瞭解更多詳情。 [2011-08-29 21:15:30 - Example_SDK]發佈取消!由於APK文件無效導致安裝失敗?
這裏是logcat。我已閱讀有關此問題的其他問題,但仍無法正常工作,包括確保手機和sdk目標設備版本相同。
08-29 21:15:00.186: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44aa7230 Intent PendingIntent{44bd8348: PendingIntentRecord{44aa6930 com.google.android.apps.maps startService}}}
08-29 21:15:00.206: DEBUG/TrafficAppWidgetUpdateService(1165): No longer requesting location updates.
08-29 21:15:05.846: DEBUG/UsbConnectionSettings(1188): -enableChargeOnly()
08-29 21:15:05.846: INFO/global(1188): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
08-29 21:15:05.856: DEBUG/UsbConnectionSettings(1188): usb_cable_connect = 1
08-29 21:15:05.916: DEBUG/UsbConnectionSettings(1188): -onPause()
08-29 21:15:06.056: INFO/LSState(102): EventReceiver:android.intent.action.NOTIFICATION_ADD
08-29 21:15:06.206: WARN/InputManagerService(102): Starting input on non-focused client [email protected] (uid=10005 pid=1188)
08-29 21:15:06.896: DEBUG/UsbConnectionSettings(1188): -onStop()
08-29 21:15:06.896: DEBUG/UsbConnectionSettings(1188): -onDestroy()
08-29 21:15:14.076: DEBUG/dalvikvm(1188): GC_EXPLICIT freed 1940 objects/164512 bytes in 115ms
08-29 21:15:27.726: DEBUG/TrafficAppWidgetUpdateService(1165): Got widget id to update: 20
08-29 21:15:27.746: DEBUG/TrafficAppWidgetUpdateService(1165): Scheduled update for 20 in 29 s.
08-29 21:15:27.756: WARN/TrafficAppWidgetUpdateService(1165): Requested widget update, but no data found for id: 20
08-29 21:15:27.766: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44aa5aa8 Intent PendingIntent{44d17750: PendingIntentRecord{44aa6930 com.google.android.apps.maps startService}}}
08-29 21:15:27.776: DEBUG/TrafficAppWidgetUpdateService(1165): No longer requesting location updates.
08-29 21:15:28.526: DEBUG/TrafficAppWidgetUpdateService(1165): Got widget id to update: 25
08-29 21:15:28.526: DEBUG/TrafficAppWidgetUpdateService(1165): Scheduled update for 25 in 29 s.
08-29 21:15:28.536: WARN/TrafficAppWidgetUpdateService(1165): Requested widget update, but no data found for id: 25
08-29 21:15:28.556: DEBUG/TrafficAppWidgetUpdateService(1165): No longer requesting location updates.
08-29 21:15:28.556: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44d1b8f8 Intent PendingIntent{44cb74e0: PendingIntentRecord{44aa6930 com.google.android.apps.maps startService}}}
08-29 21:15:29.574: INFO/wpa_supplicant(170): CTRL-EVENT-STATE-CHANGE id=22 state=6
08-29 21:15:29.576: VERBOSE/WifiMonitor(102): Event [CTRL-EVENT-STATE-CHANGE id=22 state=6]
08-29 21:15:29.576: INFO/wpa_supplicant(170): WPA: Group rekeying completed with 00:26:5a:cb:c8:73 [GTK=TKIP]
08-29 21:15:29.576: INFO/wpa_supplicant(170): CTRL-EVENT-STATE-CHANGE id=22 state=7
08-29 21:15:29.576: VERBOSE/WifiStateTracker(102): Changing supplicant state: COMPLETED ==> GROUP_HANDSHAKE
08-29 21:15:29.586: VERBOSE/WifiMonitor(102): Event [WPA: Group rekeying completed with 00:26:5a:cb:c8:73 [GTK=TKIP]]
08-29 21:15:29.586: VERBOSE/WifiMonitor(102): Event [CTRL-EVENT-STATE-CHANGE id=22 state=7]
08-29 21:15:29.596: VERBOSE/WifiStateTracker(102): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
08-29 21:15:32.836: DEBUG/dalvikvm(350): GC_EXPLICIT freed 1942 objects/105944 bytes in 99ms
08-29 21:15:37.856: DEBUG/dalvikvm(581): GC_EXPLICIT freed 2758 objects/105040 bytes in 111ms
08-29 21:15:40.119: VERBOSE/AlarmManager(102): Alarm triggering: Alarm{44e30020 type 2 com.google.android.location}
08-29 21:15:40.136: DEBUG/WifiService(102): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
08-29 21:15:40.146: DEBUG/WifiService(102): enable and start wifi due to updateWifiState
08-29 21:15:40.146: VERBOSE/AlarmManager(102): Adding Alarm{44f62eb0 type 2 com.google.android.location} Jan 01 08:25:58 am
08-29 21:15:41.036: INFO/wpa_supplicant(170): CTRL-EVENT-SCAN-RESULTS Ready
08-29 21:15:41.066: DEBUG/LocationMasfClient(102): getNetworkLocation(): Returning cache location with accuracy 50.0
08-29 21:15:41.496: DEBUG/dalvikvm(1172): GC_FOR_MALLOC freed 4875 objects/483848 bytes in 110ms
08-29 21:15:41.576: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44dfe9e8 Intent PendingIntent{44d7c620: PendingIntentRecord{44dfe990 com.google.android.apps.maps startService}}}
08-29 21:15:42.666: WARN/LocationMasfClient(102): uploadCollectionReport(): no ReplyElement
08-29 21:15:43.966: DEBUG/dalvikvm(1180): GC_FOR_MALLOC freed 5896 objects/403016 bytes in 106ms
08-29 21:15:44.446: DEBUG/dalvikvm(1172): GC_FOR_MALLOC freed 8146 objects/419664 bytes in 114ms
08-29 21:15:45.147: VERBOSE/AlarmManager(102): Alarm triggering: Alarm{44f62eb0 type 2 com.google.android.location}
08-29 21:15:45.166: VERBOSE/AlarmManager(102): Adding Alarm{44a76a50 type 2 com.google.android.location} Jan 01 08:26:53 am
08-29 21:15:45.176: DEBUG/WifiService(102): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
08-29 21:15:45.186: DEBUG/WifiService(102): enable and start wifi due to updateWifiState
08-29 21:15:56.746: DEBUG/TrafficAppWidgetUpdateService(1165): Got widget id to update: 20
08-29 21:15:56.756: DEBUG/TrafficAppWidgetUpdateService(1165): Scheduled update for 20 in 29 s.
08-29 21:15:56.776: WARN/TrafficAppWidgetUpdateService(1165): Requested widget update, but no data found for id: 20
08-29 21:15:56.806: DEBUG/TrafficAppWidgetUpdateService(1165): No longer requesting location updates.
08-29 21:15:56.806: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44e5c5b0 Intent PendingIntent{44b54330: PendingIntentRecord{44aa6930 com.google.android.apps.maps startService}}}
08-29 21:15:57.536: DEBUG/TrafficAppWidgetUpdateService(1165): Got widget id to update: 25
08-29 21:15:57.556: DEBUG/TrafficAppWidgetUpdateService(1165): Scheduled update for 25 in 29 s.
08-29 21:15:57.566: WARN/TrafficAppWidgetUpdateService(1165): Requested widget update, but no data found for id: 25
08-29 21:15:57.596: VERBOSE/LocationManagerService(102): _removeUpdates: listener = Receiver{44e873d8 Intent PendingIntent{44b781c8: PendingIntentRecord{44aa6930 com.google.android.apps.maps startService}}}
08-29 21:15:57.606: DEBUG/TrafficAppWidgetUpdateService(1165): No longer requesting location updates.
08-29 21:16:03.556: DEBUG/AndroidRuntime(1305): >>>>>>>>>>>>>> AndroidRuntime START
----
我真的不知道是什麼問題。
您的logcat似乎沒有包含應用程序安裝嘗試。 –
社區再次將這種情況重新調整了一遍,但它沒有一個有意義的錯誤日誌就被放棄了,所以無法回答(ABI不匹配是一個很好的猜測,但只是猜測)。投票結束,因爲目前沒有辦法回答它。 –