我正在更新AndroidStudio中的项目,使用目标API 20而不是19。在这个过程中我遇到这样的错误:在play-services 4.0.30 AndroidManifest.xml中找不到元素/清单/应用程序
[PathToMyProject]\myproject\build\exploded-aar\com.google.android.gms\play-services\4.0.30\AndroidManifest.xml: Error:(1) Could not find element /manifest/application. //showing several times
这是文件的AndroidManifest.xml哪里是错误:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.gms"
android:versionCode="4030530"
android:versionName="4.0.30 (889083-30)" >
<uses-sdk android:minSdkVersion="8"/>
</manifest>
当我添加<application/>
标签和运行make或重建,清单是一个未知原因刷新并且不包含已添加<application>
标记并再次显示错误...