flutter_alibc: ^0.0.14
tobias: ^1.6.1
报错
D:\app\android\app\src\debug\AndroidManifest.xml:29:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaySdk-15.7.5-20200422171636-noUtdid.aar] AndroidManifest.xml:29:13-85
is also present at [com.alibaba.sdk.android:nb_trade:4.0.0.8] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:27:9-31:20 to override.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaySdk-15.7.5-20200422171636-noUtdid.aar] AndroidManifest.xml:29:13-85
is also present at [com.alibaba.sdk.android:nb_trade:4.0.0.8] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:27:9-31:20 to override.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
按照提示在 <application
...
tools:replace="android:label">
<activity
android:name=".MainActivity"
...
tools:replace="android:configChanges"
flutter_alibc: ^0.0.14 tobias: ^1.6.1 报错 D:\app\android\app\src\debug\AndroidManifest.xml:29:13-85 Error: Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaySdk-15.7.5-20200422171636-noUtdid.aar] AndroidManifest.xml:29:13-85 is also present at [com.alibaba.sdk.android:nb_trade:4.0.0.8] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation). Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:27:9-31:20 to override.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugManifest'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. 按照提示在 <application ... tools:replace="android:label"> <activity android:name=".MainActivity" ... tools:replace="android:configChanges"