我将我的monodroid代码从谷歌地图版本1升级到谷歌地图版本2,并创建一个模拟器来测试应用程序。虽然我删除了对android.googlemaps的引用并删除了清单的uselibrary代码,但仍然出现INSTALL_FAILER_SHARED)LIBRARY
错误。
除了上述工作之外,我该如何解决此错误?
这是我的清单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="20" android:versionName="1.2.1.311" package="my.package">
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" />
<!-- Perimission -->
<permission android:name="my.package.permission.MAPS_RECEIVE" android:protectionLevel="signature" />
<uses-permission android:name="my.package.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!-- features -->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-feature android:name="android.hardware.location.network" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<activity android:name="PropertyImagesActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
<application android:label="@string/app_name">
<!-- Put your Google Maps V2 API Key here. This key will not work for you.-->
<!-- See https://developers.google.com/maps/documentation/android/start#obtaining_an_api_key -->
<meta-data android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyBS5Mg8w_e2sDjlgGenB6s_uSYF0qHrMiM"/>
</application>
</manifest>
可能是谷歌地图除外吗?
答案 0 :(得分:0)
在Android设备或模拟器上安装com.google.android.gms.apk和com.android.vending-4.2.3.apk。