我确实在清单文件的元数据中添加了 google API 密钥,但仍然收到错误“API 密钥未找到”
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.abit">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme"
>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
<meta-data
android:name="com.google.android.geo.AIzaSyDPUc0RSV5OZzACrJcFPuBpxUHi0000000"
android:value="AIzaSyDPUc0RSV5OZzACrJcFPuBpxUHi0000000" />
</application>
我不知道哪里出了问题。请帮忙!!!
慕码人8056858
相关分类