Open Kang-Kim1 opened 8 months ago
š Hi @Kang-Kim1 and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:
I have the same issue above
I solved it by using the version
appsflyer_sdk: 6.11.3
I solved this problem flutter_3.0.5/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-5.0.11/android/build.gradle Delete the namespace in this file and add it to flutter_3.0.5/.pub-cache/hosted/pub.dartlang.org/appsflyer_sdk-6.13.2/android/src/main/AndroidManifest.xml Add package in
group 'com.appsflyer.appsflyersdk' version '1.0-SNAPSHOT' buildscript { repositories { mavenCentral() google() } }
rootProject.allprojects { repositories { mavenCentral() google() } } apply plugin: 'com.android.library' android { defaultConfig { minSdkVersion 16 compileSdk 31 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
lintOptions {
disable 'InvalidPackage'
}
// namespace 'com.appsflyer.appsflyersdk' }
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'com.appsflyer:af-android-sdk:6.13.0' implementation 'com.android.installreferrer:installreferrer:2.1' }
The following error occurs when trying to build or run my flutter project on Android device :
Additional info :
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
I spent 2 whole days to resolve the issue but no luck so far,,, (It seems not many people are struggling with the same issue..)
I would be so glad if anyone can share some valuable knowledges to resolve this type of exception...
Please let me know if any further information is needed! Thanks.