开发android 原生插件后打自定义基座包的时候报错,请问应当如何解决
错误信息如下:
[PackagePath]/app/AndroidManifest.xml:80:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [spiral_android.aar] AndroidManifest.xml:80:13-85
is also present at [com.alipay.sdk:alipaysdk-android:15.8.11] AndroidManifest.xml:39:13-167 value=(orientation|keyboardHidden|navigation|screenSize|locale|keyboard|screenLayout|density|fontScale|layoutDirection|smallestScreenSize).
Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:78:9-82:20 to override.
[PackagePath]/app/AndroidManifest.xml:85:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5AuthActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [spiral_android.aar] AndroidManifest.xml:85:13-85
is also present at [com.alipay.sdk:alipaysdk-android:15.8.11] AndroidManifest.xml:45:13-167 value=(orientation|keyboardHidden|navigation|screenSize|locale|keyboard|screenLayout|density|fontScale|layoutDirection|smallestScreenSize).
Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:83:9-87:20 to override.
[PackagePath]/app/AndroidManifest.xml:90:13-85 Error:
Attribute activity#com.alipay.sdk.app.PayResultActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [spiral_android.aar] AndroidManifest.xml:90:13-85
is also present at [com.alipay.sdk:alipaysdk-android:15.8.11] AndroidManifest.xml:51:13-167 value=(orientation|keyboardHidden|navigation|screenSize|locale|keyboard|screenLayout|density|fontScale|layoutDirection|smallestScreenSize).
Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:88:9-97:20 to override.
[PackagePath]/app/AndroidManifest.xml:106:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5OpenAuthActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [spiral_android.aar] AndroidManifest.xml:106:13-85
is also present at [com.alipay.sdk:alipaysdk-android:15.8.11] AndroidManifest.xml:65:13-167 value=(orientation|keyboardHidden|navigation|screenSize|locale|keyboard|screenLayout|density|fontScale|layoutDirection|smallestScreenSize).
Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:104:9-110:20 to override.
FAILURE: Build failed with an exception.
0 个回复