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
现用了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
解决方案 »
- ubuntu中安装了JDK 但不能用javah命令
- android开发问题:安装时的用户协议怎么加上去?
- android如何声明多个包?
- EditText如何获取焦点?
- android动画双缓冲用法求教
- android imageview显示不了图片
- android简易计算器问题
- 本菜鸟在使用pagerview遇到问题求解
- AnalogClock和DigitalClock为何显示的时间不是系统当前时间?
- 新手关于ListView simpleadapter 只显示一条数据的问题
- android 模拟器无法上网
- 是什么原理让不同类继承的Button和Activity的onKeyDown事件被触发
现就剩这个问题了
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.如果没有依赖的jar包,那怎么处理呢,