我的 AndroidManifest.xml 文件看起来像这样<?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.example.varianttecnology.uberclone"><!-- The ACCESS_COARSE/FINE_LOCATION permissions are not required to use Google Maps Android API v2, but you must specify either coarse or fine location permissions for the 'MyLocation' functionality. --><uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/><application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- The API key for Google Maps-based APIs is defined as a string resource. (See the file "res/values/google_maps_api.xml"). Note that the API key is linked to the encryption key used to sign the APK. You need a different API key for each encryption key, including the release key that is used to sign the APK for publishing. You can define the keys for the debug and release targets in src/debug/ and src/release/. --> <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" /> <activity android:name=".Welcome" android:label="@string/title_activity_welcome"></activity></application>问题:这个新选项卡是 AS 3.2.1 中的新选项吗?还是因为 AS 3.2.1 发现以前版本没有的新警告而出现?警告是什么?我如何解决它?
2 回答

函数式编程
TA贡献1807条经验 获得超9个赞
可以通过将多个清单文件的权限与
<uses-permission tools:node="merge" android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission tools:node="merge" android:name="android.permission.ACCESS_COARSE_LOCATION" />

喵喵时光机
TA贡献1846条经验 获得超7个赞
请尝试在 AndroidManifest.xml 中输入此代码。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
...>
<activity
android:name="com.google.firebase.auth.internal.FederatedSignInActivity"
tools:replace="android:launchMode"
android:launchMode="standard" />
...
添加回答
举报
0/150
提交
取消