嗨,我已经在谷歌上搜索了很多次这个问题!错误:targetapi 有效指令为:REMOVE、REPLACE、STRICT
这是我的毕业生:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.firebase:firebase-analytics:17.2.2'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.firebase:firebase-firestore:21.3.1'
在这里我得到了错误的firebase清单:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.google.firebase"
android:versionName="19.3.0">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="28"/>
<application>
<provider
android:name="com.google.firebase.provider.FirebaseInitProvider"
android:authorities="com.mycompany.myapp.firebaseinitprovider"
android:exported="false"
android:initOrder="100"/>
<service
android:name="com.google.firebase.components.ComponentDiscoveryService"
android:directBootAware="true"
android:exported="false"
tools:targetApi="n"/>
</application>
</manifest>