tapsellorg / TapsellPlusSDK-ReactNativePlugin

2 stars 2 forks source link

Manifest merge failed (android:configChange) #1

Closed MoriNoise closed 3 years ago

MoriNoise commented 4 years ago

C:\project\inosoft project\mankan\android\app\src\debug\AndroidManifest.xml:17:13-83 Error: Attribute activity#ir.tapsell.sdk.TapsellAdActivity@configChanges value=(keyboard|keyboardHidden|orientation|screenSize) from [:react-native-tapsell] AndroidManifest.xml:17:13-83 is also present at [ir.tapsell.sdk:tapsell-sdk-android:4.3.6] AndroidManifest.xml:24:13-74 value=(keyboardHidden|orientation|screenSize). Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:15:9-20:20 to override.

FAILURE: Build failed with an exception.

//////////////////////////

so how can i fix that when i install this on my app i will get this error

MoriNoise commented 4 years ago

Task :react-native-tapsell-plus:processDebugManifest FAILED

HessiPard commented 3 years ago

C:\project\inosoft project\mankan\android\app\src\debug\AndroidManifest.xml:17:13-83 Error: Attribute activity#ir.tapsell.sdk.TapsellAdActivity@configChanges value=(keyboard|keyboardHidden|orientation|screenSize) from [:react-native-tapsell] AndroidManifest.xml:17:13-83 is also present at [ir.tapsell.sdk:tapsell-sdk-android:4.3.6] AndroidManifest.xml:24:13-74 value=(keyboardHidden|orientation|screenSize). Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:15:9-20:20 to override.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute activity#ir.tapsell.sdk.TapsellAdActivity@configChanges value=(keyboard|keyboardHidden|orientation|screenSize) from [:react-native-tapsell] AndroidManifest.xml:17:13-83 is also present at [ir.tapsell.sdk:tapsell-sdk-android:4.3.6] AndroidManifest.xml:24:13-74 value=(keyboardHidden|orientation|screenSize). Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:15:9-20: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.
  • Get more help at https://help.gradle.org

//////////////////////////

so how can i fix that when i install this on my app i will get this error

you probably use tapsell-plus and tapsell together. just remove tapsell and use tapsell-plus only. But however the project builds but doesn't run. this issue

mahdi-malv commented 3 years ago

Closing because of inactivity. Feel free to re-open if this issue still exists with the latest SDK.

hsnMoghadasi commented 3 years ago

same here

mahdi-malv commented 3 years ago

@hsnMoghadasi If you're mentioning #5 , that's a different error. Plugin is re-written since.