Always has issue with the following when using react-native-facebook-login together react-native-splash-screen npm module together
Program type already present: android.support.v4.app.BackStackRecord$Op
Environment:
Where did the issue happen?
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
Which build Step causes the issue and which version of the step?
E.g.: Git Clone v3.6.0
Reproducibility
Does a âRebuildâ help? (You can trigger a rebuild from the Buildâs page, by clicking the âRebuildâ button in the top right corner of a finished build) : YES/NO
Does the issue happen sporadically, or every time? :
Does upgrading the build Step to the latest version help? : YES/NO
When did the issue start? :
Local reproduction
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (âTesting with a full clean git cloneâ) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
Local reproduction: Linux / Android (docker based) stack builds
Please copy paste the buildâs bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you canât share the url / log here then send the url or full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related Discuss issue.
Configure project :app
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
WARNING: API âvariant.getMergeResources()â is obsolete and has been replaced with âvariant.getMergeResourcesProvider()â.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API âvariant.getPackageApplication()â is obsolete and has been replaced with âvariant.getPackageApplicationProvider()â.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API âvariant.getMergeAssets()â is obsolete and has been replaced with âvariant.getMergeAssetsProvider()â.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Configure project :react-native-facebook-login
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Configure project :react-native-gesture-handler
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Configure project :react-native-image-picker
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Configure project :react-native-splash-screen
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Configure project :react-native-vector-icons
NDK is missing a âplatformsâ directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/vagrant/git/android.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
What went wrong:
Could not resolve all files for configuration â:app:debugCompileClasspathâ.
Could not find com.android.support:support-v4:${rootProject.ext.supportLibVersion}.
Required by:
project :app
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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use ââwarning-mode allâ to show the individual deprecation warnings.
See Command-Line Interface
BUILD FAILED in 1m 20s
78 actionable tasks: 78 executed
e[31;1mBuild task failed, error: exit status 1e[0m
the problem could be this: com.android.support:support-v4:${rootProject.ext.supportLibVersion}.
on bitrise, env vars donât use the {} brackets so it may escape the value