Pushwoosh / pushwoosh-react-native-baidu-plugin

Other
1 stars 0 forks source link

Android build fails #1

Open meteorra opened 2 years ago

meteorra commented 2 years ago

Android build fail with the following logs:

Task :pushwoosh-react-native-plugin:stripReleaseDebugSymbols FAILED Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.

Task :app:mergeProdReleaseJavaResource Task :app:mergeExtDexProdRelease

FAILURE: Build failed with an exception.

Configuration: buildToolsVersion = "29.0.2" minSdkVersion = 23 compileSdkVersion = 29 targetSdkVersion = 29 androidXCore = "1.0.2"

    ndkVersion "21.4.7075529"
wfhm commented 2 years ago

@meteorra,

Hey, what React Native version are you using in your project? Also, what are your gradle version and Android gradle plugin version?

meteorra commented 2 years ago

"react-native": "0.63.4", Gradle 6.2 "com.android.tools.build:gradle:3.5.3"

wfhm commented 2 years ago

@meteorra,

I could not reproduce the issue with these versions, but I've found a handful of threads related to the same issues across different repositories, and the solution is to downgrade NDK version to a lower one. May I ask you to try downgrading to the 20.1.5948944 NDK version and let us know about the results?

meteorra commented 2 years ago

With exactly the same versions usual pushwoosh react native plugin builds well, but this one - not. This is already downgraded NDK version)

wfhm commented 2 years ago

@meteorra,

Sorry, I did not notice the issue was created in react-native-baidu repo.

When we released the plugin, it was a beta project that aimed to explore the demand from the audience and the technical feasibility of such an integration. As a result, it's been decided to discontinue support for the Baidu platform due to its instability and low demand from our customers.

Currently, the plugin is provided "as is," and there are no plans for further development or maintenance for this project.