【flutter】在android里面项目配置了支付宝SDK,编译直接报错,想请教下如何解决此类问题如何解决
tools:replace specified at line:21 for attribute android:configChanges, but no new value specified
在android里面项目配置了支付宝SDK,编译直接报错,想请教下如何解决此类问题如何解决
问题出现的环境背景及自己尝试过哪些方法
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
<application
android:name="io.flutter.app.FlutterApplication"android:label="纵横云"
tools:replace="android:configChanges"
android:appComponentFactory="android.support.v7.app.configChanges"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="fed182ae3a03c4ee2390ccc191643fad"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
你期待的结果是什么?实际看到的错误信息又是什么?
回答
以上是 【flutter】在android里面项目配置了支付宝SDK,编译直接报错,想请教下如何解决此类问题如何解决 的全部内容, 来源链接: utcz.com/a/85800.html