当前位置: 代码迷 >> Android >> 有部分android手机运行地图程序报错
  详细解决方案

有部分android手机运行地图程序报错

热度:42   发布时间:2016-05-01 21:40:54.0
有部分android手机运行地图程序报错,在线等
android程序中,准备完成:在一界面中,用地图显示出来,并在地图中标注此店 
现用了com.google.android.maps 包可运行时:有些机子可运行,有些机子报错,分别报错如下:


samsung 5570报错
[2011-12-29 15:48:47 - map] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2011-12-29 15:48:47 - map] Please check logcat output for more details.


htc 480*320 报错
Failed to install map.apk on device 'HT9CKHF00682': device offline
[2011-12-29 15:47:17 - map] com.android.ddmlib.InstallException: device offline


其中xml文件如下:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.map"
  android:versionCode="1"
  android:versionName="1.0">
  <application android:icon="@drawable/icon" android:label="@string/app_name">
  <uses-library android:name="com.google.android.maps" />  
  <activity android:name=".MapsActivity"
  android:label="@string/app_name">
  <intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  </activity>
  </application>
  <uses-permission android:name="android.permission.INTERNET" />
</manifest>


大家帮我看下什么问题,如何解决,thanks

------解决方案--------------------
应该是手机里没有依赖的jar包吧
  相关解决方案