Closed wefyns closed 1 year ago
Hey @wefyns and thank you for reaching out. Please take a look on: https://dev.appsflyer.com/hc/docs/install-android-sdk#backup-rules https://github.com/AppsFlyerSDK/appsflyer-android-sdk/issues/9#issuecomment-760150089 Let us know if it solved your problem.
Hey @wefyns and thank you for reaching out. Please take a look on: https://dev.appsflyer.com/hc/docs/install-android-sdk#backup-rules AppsFlyerSDK/appsflyer-android-sdk#9 (comment) Let us know if it solved your problem.
solved. thanks
@wefyns how exactly have you solved it?
I have android:allowBackup="false"
in my /android/app/src/main/AndroidManifest.xml
yet still I have this build error.
I using adapty react-native library for subscription and after install appsflyer library my project don't start (android)
here is error
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 C:\Users\wefyn\Desktop\projects\freelance\chatai\android\app\src\debug\AndroidManifest.xml:11:18-70 Error: Attribute application@fullBackupContent value=(@xml/adapty_backup_rules) from [com.github.adaptyteam:AdaptySDK-Android:2.3.3] AndroidManifest.xml:11:18-70 is also present at [com.appsflyer:af-android-sdk:6.10.3] AndroidManifest.xml:21:18-73 value=(@xml/appsflyer_backup_rules). element at AndroidManifest.xml:7:5-12:19 to override.
FAILURE: Build completed with 2 failures.
Suggestion: add 'tools:replace="android:fullBackupContent"' to
1: Task failed with an exception.
2: Task failed with an exception.
What went wrong: java.lang.StackOverflowError (no error message)
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 6m 21s
info Run CLI with --verbose flag for more details.
I try to make (Suggestion: add 'tools:replace="android:fullBackupContent"')
and got this error error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':app:processDebugMainManifest'.
Try:
2: Task failed with an exception.
What went wrong: java.lang.StackOverflowError (no error message)
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 46s
info Run CLI with --verbose flag for more details.
somebody know how to fix it?