java.lang.noSuchMethodError
aleksbgs opened this issue · comments
Hey @aleksbgs,
Can you provide a complete stacktrace along with your package.json
file contents?
Thanks, can you also provide the content of your build.gradle
file? We need to know you support libraries versions and your target sdk
android {
compileSdkVersion 26
buildToolsVersion '26.1.0'
defaultConfig {
applicationId ""
minSdkVersion 23
targetSdkVersion 26
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
incremental = false; //If you see any build issues, try uncommenting this line development phases. Do not commit this line uncommented
}
configurations.all {
resolutionStrategy.force 'com.android.support:support-v4:26.1.0'
}
dependencies {
compile project(':react-native-mail')
compile project(':react-native-shake')
compile project(':react-native-image-crop-picker')
// Already in this file -- compile project(':react-native-firebase')
compile project(':apptentive-react-native')
it's working good on ios
Would you be able to update your target sdk version to 28
?
Apptentive SDK requires 28
to function properly.
targetSdkVersion 28 crash again
Sorry, I should've been more specific:
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
targetSdkVersion 28
}
configurations.all {
resolutionStrategy.force 'com.android.support:support-v4:28.0.0'
}
Sorry for the issue. I've created a ticket and we'll look at it soon.
any suggestion ?
Apptentive.presentMessageCenter() crash
Is the stack trace the same?
yes same