我将我的 monodroid 代码从谷歌地图版本 1 升级到谷歌地图版本 2,并创建了一个模拟器来测试应用程序。虽然我删除了对 android.googlemaps 的引用并删除了清单的使用库代码,但仍然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>
它可能来自谷歌地图以外的其他东西吗?