我想開發一個應用程序使用谷歌地圖,但不知道爲什麼它仍然給我的錯誤,我重新檢查我的清單文件似乎都沒問題。這裏是清單:錯誤與<uses-library android:name =「com.google.android.maps」/>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.interstars"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<uses-library android:name="com.google.android.maps"/>
<activity
android:name="com.example.interstars.InterMainActivity"
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>
</manifest>
錯誤
2 08:47:06 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\uchman\Documents\Work place\InterStars\AndroidManifest.xml: Attribute name "uses-library" associated with an element type "application" must be followed by the ' = ' character.
我缺少什麼樣的事情?我仍然是Android編程的初學者。
請參閱thi鏈接http://stackoverflow.com/questions/3541061/androidmanifest-xml-unable-to-include-external-library –
試過了,但它didn不工作 – uchman21
如果有任何像android-support-v4添加庫? –