facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.37k stars 24.25k forks source link

Execution failed for task ':ReactAndroid:buildReactNdkLib' #18658

Closed rat-moonshine closed 6 years ago

rat-moonshine commented 6 years ago

Environment

macOS: 10.11.6 Android SDK/Tools: 26.1.1 Android NDK: 16.1.44+ Gradle: (latest installed by brew) react-native-cli: 2.0.1

Steps to Reproduce

While running ./gradlew :RNTester:android:app:installDebug to react-native folder, command terminated at some point throwing error.

Expected Behaviour

Command complete successfully.

Actual Behaviour

The said command thrown following error (last few lines from the Terminal output):

$ ./gradlew :RNTester:android:app:installDebug
Incremental java compilation is an incubating feature.
:ReactAndroid:preBuild UP-TO-DATE
:ReactAndroid:preReleaseBuild UP-TO-DATE
:ReactAndroid:checkReleaseManifest
:ReactAndroid:preDebugAndroidTestBuild UP-TO-DATE
:ReactAndroid:preDebugBuild UP-TO-DATE
:ReactAndroid:preDebugUnitTestBuild UP-TO-DATE
:ReactAndroid:preReleaseUnitTestBuild UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoDrawee181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFbcore181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFresco181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipeline181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookSoloaderSoloader030Library UP-TO-DATE
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:ReactAndroid:prepareReleaseDependencies
:ReactAndroid:compileReleaseAidl UP-TO-DATE
:ReactAndroid:compileReleaseNdk UP-TO-DATE
:ReactAndroid:compileLint UP-TO-DATE
:ReactAndroid:copyReleaseLint UP-TO-DATE
:ReactAndroid:compileReleaseRenderscript UP-TO-DATE
:ReactAndroid:generateReleaseBuildConfig UP-TO-DATE
:ReactAndroid:generateReleaseResValues UP-TO-DATE
:ReactAndroid:generateReleaseResources UP-TO-DATE
:ReactAndroid:mergeReleaseResources UP-TO-DATE
:ReactAndroid:processReleaseManifest UP-TO-DATE
:ReactAndroid:processReleaseResources UP-TO-DATE
:ReactAndroid:generateReleaseSources UP-TO-DATE
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:ReactAndroid:createNativeDepsDirectories UP-TO-DATE
:ReactAndroid:downloadBoost UP-TO-DATE
:ReactAndroid:prepareBoost UP-TO-DATE
:ReactAndroid:downloadDoubleConversion UP-TO-DATE
:ReactAndroid:prepareDoubleConversion UP-TO-DATE
:ReactAndroid:downloadFolly UP-TO-DATE
:ReactAndroid:prepareFolly UP-TO-DATE
:ReactAndroid:downloadGlog UP-TO-DATE
:ReactAndroid:prepareGlog UP-TO-DATE
:ReactAndroid:downloadJSCHeaders UP-TO-DATE
:ReactAndroid:prepareJSC
:ReactAndroid:buildReactNdkLib
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:49: /Users/santanu/Documents/React: No such file or directory
make: Entering directory `/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/react/jni'
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:49: Native/react-native/ReactAndroid/src/main/jni/Application.mk: No such file or directory
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-14.    
Android NDK: NDK_PROJECT_PATH==null.  Please explicitly set APP_BUILD_SCRIPT.    
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:108: *** Android NDK: Aborting.    .  Stop.
make: Leaving directory `/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/react/jni'
:ReactAndroid:buildReactNdkLib FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ReactAndroid:buildReactNdkLib'.
> Process 'command '/Users/santanu/Library/Android/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13.163 secs

Please, help.

react-native-bot commented 6 years ago

Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run react-native info and edit your issue to include these results under the Environment section?

Thank you for your contributions.

rat-moonshine commented 6 years ago

My bad, I'm new to React Native. I tried to run the command you mentioned, but probably I'm doing something wrong:

Santanus-MacBook-Pro:react-native santanu$ react-native info
Command `info` unrecognized. Make sure that you have run `npm install` and that you are inside a react-native project.

I've tried running the gradle command with --info, though; and here its long output (if this help):

$ ./gradlew :RNTester:android:app:installDebug --info
Starting Build
Settings evaluated using settings file '/Users/santanu/Documents/React Native/react-native/settings.gradle'.
Projects loaded. Root project using build file '/Users/santanu/Documents/React Native/react-native/build.gradle'.
Included projects: [root project 'react-native', project ':RNTester', project ':ReactAndroid', project ':RNTester:android', project ':RNTester:android:app']
Evaluating root project 'react-native' using build file '/Users/santanu/Documents/React Native/react-native/build.gradle'.
Evaluating project ':RNTester' using build file '/Users/santanu/Documents/React Native/react-native/RNTester/build.gradle'.
Evaluating project ':ReactAndroid' using build file '/Users/santanu/Documents/React Native/react-native/ReactAndroid/build.gradle'.
Creating configuration compile
Creating configuration publish
Creating configuration provided
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration androidTestCompile
Creating configuration androidTestPublish
Creating configuration androidTestProvided
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration testCompile
Creating configuration testPublish
Creating configuration testProvided
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration debugCompile
Creating configuration debugPublish
Creating configuration debugProvided
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration testDebugCompile
Creating configuration testDebugPublish
Creating configuration testDebugProvided
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration releaseCompile
Creating configuration releasePublish
Creating configuration releaseProvided
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration testReleaseCompile
Creating configuration testReleasePublish
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Parsing the SDK, no caching allowed
Parsing /Users/santanu/Library/Android/sdk/add-ons/addon-google_apis-google-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/23.0.1/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/26.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/27.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/emulator/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/android/m2repository/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/google/m2repository/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout/1.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/ndk-bundle/package.xml
Parsing /Users/santanu/Library/Android/sdk/patcher/v4/package.xml
Parsing /Users/santanu/Library/Android/sdk/platform-tools/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-26/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-27/package.xml
Parsing /Users/santanu/Library/Android/sdk/sources/android-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/sources/android-26/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/default/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/google_apis/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-26/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-26/google_apis/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-27/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/tools/package.xml
Parsing /Users/santanu/Library/Android/sdk/add-ons/addon-google_apis-google-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/23.0.1/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/26.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/build-tools/27.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/emulator/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/android/m2repository/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/google/m2repository/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout/1.0.2/package.xml
Parsing /Users/santanu/Library/Android/sdk/ndk-bundle/package.xml
Parsing /Users/santanu/Library/Android/sdk/patcher/v4/package.xml
Parsing /Users/santanu/Library/Android/sdk/platform-tools/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-26/package.xml
Parsing /Users/santanu/Library/Android/sdk/platforms/android-27/package.xml
Parsing /Users/santanu/Library/Android/sdk/sources/android-23/package.xml
Parsing /Users/santanu/Library/Android/sdk/sources/android-26/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/default/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-23/google_apis/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-26/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-26/google_apis/x86_64/package.xml
Parsing /Users/santanu/Library/Android/sdk/system-images/android-27/google_apis/x86/package.xml
Parsing /Users/santanu/Library/Android/sdk/tools/package.xml
Incremental Java compilation disabled in variant debug as you are using 3 source folders : /Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/java,/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/libraries/soloader/java,/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/first-party/fb/jni/java
Not using incremental javac compilation.
Not using incremental javac compilation.
Incremental Java compilation disabled in variant release as you are using 3 source folders : /Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/java,/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/libraries/soloader/java,/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/first-party/fb/jni/java
Not using incremental javac compilation.
Not using incremental javac compilation.
Not using incremental javac compilation.
Evaluating project ':RNTester:android' using build file '/Users/santanu/Documents/React Native/react-native/RNTester/android/build.gradle'.
Evaluating project ':RNTester:android:app' using build file '/Users/santanu/Documents/React Native/react-native/RNTester/android/app/build.gradle'.
Creating configuration compile
Creating configuration apk
Creating configuration provided
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration androidTestCompile
Creating configuration androidTestApk
Creating configuration androidTestProvided
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration testCompile
Creating configuration testApk
Creating configuration testProvided
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration debugCompile
Creating configuration debugApk
Creating configuration debugProvided
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration testDebugCompile
Creating configuration testDebugApk
Creating configuration testDebugProvided
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration releaseCompile
Creating configuration releaseApk
Creating configuration releaseProvided
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration testReleaseCompile
Creating configuration testReleaseApk
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Parsing the SDK, no caching allowed
file or directory '/Users/santanu/Documents/React Native/react-native/RNTester/android/app/libs', not found
file or directory '/Users/santanu/Documents/React Native/react-native/RNTester/android/app/libs', not found
file or directory '/Users/santanu/Documents/React Native/react-native/RNTester/android/app/libs', not found
file or directory '/Users/santanu/Documents/React Native/react-native/RNTester/android/app/libs', not found
Using incremental javac compilation.
Incremental java compilation is an incubating feature.
Not using incremental javac compilation.
Using incremental javac compilation.
Not using incremental javac compilation.
Not using incremental javac compilation.
All projects evaluated.
Selected primary task ':RNTester:android:app:installDebug' from project :RNTester:android:app
Tasks to be executed: [task ':ReactAndroid:preBuild', task ':ReactAndroid:preReleaseBuild', task ':ReactAndroid:checkReleaseManifest', task ':ReactAndroid:preDebugAndroidTestBuild', task ':ReactAndroid:preDebugBuild', task ':ReactAndroid:preDebugUnitTestBuild', task ':ReactAndroid:preReleaseUnitTestBuild', task ':ReactAndroid:prepareComAndroidSupportAppcompatV72301Library', task ':ReactAndroid:prepareComAndroidSupportSupportV42301Library', task ':ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library', task ':ReactAndroid:prepareComFacebookFrescoDrawee181Library', task ':ReactAndroid:prepareComFacebookFrescoFbcore181Library', task ':ReactAndroid:prepareComFacebookFrescoFresco181Library', task ':ReactAndroid:prepareComFacebookFrescoImagepipeline181Library', task ':ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library', task ':ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library', task ':ReactAndroid:prepareComFacebookSoloaderSoloader030Library', task ':ReactAndroid:prepareOrgWebkitAndroidJscR174650Library', task ':ReactAndroid:prepareReleaseDependencies', task ':ReactAndroid:compileReleaseAidl', task ':ReactAndroid:compileReleaseNdk', task ':ReactAndroid:compileLint', task ':ReactAndroid:copyReleaseLint', task ':ReactAndroid:compileReleaseRenderscript', task ':ReactAndroid:generateReleaseBuildConfig', task ':ReactAndroid:generateReleaseResValues', task ':ReactAndroid:generateReleaseResources', task ':ReactAndroid:mergeReleaseResources', task ':ReactAndroid:processReleaseManifest', task ':ReactAndroid:processReleaseResources', task ':ReactAndroid:generateReleaseSources', task ':ReactAndroid:incrementalReleaseJavaCompilationSafeguard', task ':ReactAndroid:createNativeDepsDirectories', task ':ReactAndroid:downloadBoost', task ':ReactAndroid:prepareBoost', task ':ReactAndroid:downloadDoubleConversion', task ':ReactAndroid:prepareDoubleConversion', task ':ReactAndroid:downloadFolly', task ':ReactAndroid:prepareFolly', task ':ReactAndroid:downloadGlog', task ':ReactAndroid:prepareGlog', task ':ReactAndroid:downloadJSCHeaders', task ':ReactAndroid:prepareJSC', task ':ReactAndroid:buildReactNdkLib', task ':ReactAndroid:packageReactNdkLibs', task ':ReactAndroid:compileReleaseJavaWithJavac', task ':ReactAndroid:extractReleaseAnnotations', task ':ReactAndroid:mergeReleaseShaders', task ':ReactAndroid:compileReleaseShaders', task ':ReactAndroid:generateReleaseAssets', task ':ReactAndroid:mergeReleaseAssets', task ':ReactAndroid:mergeReleaseProguardFiles', task ':ReactAndroid:packageReleaseRenderscript', task ':ReactAndroid:packageReleaseResources', task ':ReactAndroid:processReleaseJavaRes', task ':ReactAndroid:transformResourcesWithMergeJavaResForRelease', task ':ReactAndroid:transformClassesAndResourcesWithSyncLibJarsForRelease', task ':ReactAndroid:mergeReleaseJniLibFolders', task ':ReactAndroid:transformNative_libsWithMergeJniLibsForRelease', task ':ReactAndroid:transformNative_libsWithSyncJniLibsForRelease', task ':ReactAndroid:bundleRelease', task ':RNTester:android:app:preBuild', task ':RNTester:android:app:preDebugBuild', task ':RNTester:android:app:checkDebugManifest', task ':RNTester:android:app:preReleaseBuild', task ':RNTester:android:app:prepareComAndroidSupportAppcompatV72301Library', task ':RNTester:android:app:prepareComAndroidSupportSupportV42301Library', task ':RNTester:android:app:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library', task ':RNTester:android:app:prepareComFacebookFrescoDrawee181Library', task ':RNTester:android:app:prepareComFacebookFrescoFbcore181Library', task ':RNTester:android:app:prepareComFacebookFrescoFresco181Library', task ':RNTester:android:app:prepareComFacebookFrescoImagepipeline181Library', task ':RNTester:android:app:prepareComFacebookFrescoImagepipelineBase181Library', task ':RNTester:android:app:prepareComFacebookFrescoImagepipelineOkhttp3181Library', task ':RNTester:android:app:prepareComFacebookReactReactAndroid100000MasterLibrary', task ':RNTester:android:app:prepareComFacebookSoloaderSoloader030Library', task ':RNTester:android:app:prepareOrgWebkitAndroidJscR174650Library', task ':RNTester:android:app:prepareDebugDependencies', task ':RNTester:android:app:compileDebugAidl', task ':RNTester:android:app:compileDebugRenderscript', task ':RNTester:android:app:generateDebugBuildConfig', task ':RNTester:android:app:mergeDebugShaders', task ':RNTester:android:app:compileDebugShaders', task ':RNTester:android:app:generateDebugAssets', task ':RNTester:android:app:mergeDebugAssets', task ':RNTester:android:app:generateDebugResValues', task ':RNTester:android:app:generateDebugResources', task ':RNTester:android:app:mergeDebugResources', task ':RNTester:android:app:bundleDebugJsAndAssets', task ':RNTester:android:app:processDebugManifest', task ':RNTester:android:app:processDebugResources', task ':RNTester:android:app:generateDebugSources', task ':RNTester:android:app:incrementalDebugJavaCompilationSafeguard', task ':RNTester:android:app:compileDebugJavaWithJavac', task ':RNTester:android:app:compileDebugNdk', task ':RNTester:android:app:compileDebugSources', task ':RNTester:android:app:transformClassesWithDexForDebug', task ':RNTester:android:app:mergeDebugJniLibFolders', task ':RNTester:android:app:transformNative_libsWithMergeJniLibsForDebug', task ':RNTester:android:app:transformNative_libsWithStripDebugSymbolForDebug', task ':RNTester:android:app:processDebugJavaRes', task ':RNTester:android:app:transformResourcesWithMergeJavaResForDebug', task ':RNTester:android:app:validateSigningDebug', task ':RNTester:android:app:packageDebug', task ':RNTester:android:app:assembleDebug', task ':RNTester:android:app:installDebug']
:ReactAndroid:preBuild (Thread[main,5,main]) started.
:ReactAndroid:preBuild
Skipping task ':ReactAndroid:preBuild' as it has no actions.
:ReactAndroid:preBuild UP-TO-DATE
:ReactAndroid:preBuild (Thread[main,5,main]) completed. Took 0.021 secs.
:ReactAndroid:preReleaseBuild (Thread[main,5,main]) started.
:ReactAndroid:preReleaseBuild
Skipping task ':ReactAndroid:preReleaseBuild' as it has no actions.
:ReactAndroid:preReleaseBuild UP-TO-DATE
:ReactAndroid:preReleaseBuild (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:checkReleaseManifest (Thread[main,5,main]) started.
:ReactAndroid:checkReleaseManifest
Executing task ':ReactAndroid:checkReleaseManifest' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:ReactAndroid:checkReleaseManifest (Thread[main,5,main]) completed. Took 0.003 secs.
:ReactAndroid:preDebugAndroidTestBuild (Thread[main,5,main]) started.
:ReactAndroid:preDebugAndroidTestBuild
Skipping task ':ReactAndroid:preDebugAndroidTestBuild' as it has no actions.
:ReactAndroid:preDebugAndroidTestBuild UP-TO-DATE
:ReactAndroid:preDebugAndroidTestBuild (Thread[main,5,main]) completed. Took 0.001 secs.
:ReactAndroid:preDebugBuild (Thread[main,5,main]) started.
:ReactAndroid:preDebugBuild
Skipping task ':ReactAndroid:preDebugBuild' as it has no actions.
:ReactAndroid:preDebugBuild UP-TO-DATE
:ReactAndroid:preDebugBuild (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:preDebugUnitTestBuild (Thread[main,5,main]) started.
:ReactAndroid:preDebugUnitTestBuild
Skipping task ':ReactAndroid:preDebugUnitTestBuild' as it has no actions.
:ReactAndroid:preDebugUnitTestBuild UP-TO-DATE
:ReactAndroid:preDebugUnitTestBuild (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:preReleaseUnitTestBuild (Thread[main,5,main]) started.
:ReactAndroid:preReleaseUnitTestBuild
Skipping task ':ReactAndroid:preReleaseUnitTestBuild' as it has no actions.
:ReactAndroid:preReleaseUnitTestBuild UP-TO-DATE
:ReactAndroid:preReleaseUnitTestBuild (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library
Skipping task ':ReactAndroid:prepareComAndroidSupportAppcompatV72301Library' as it is up-to-date (took 0.095 secs).
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library (Thread[main,5,main]) completed. Took 0.095 secs.
:ReactAndroid:prepareComAndroidSupportSupportV42301Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComAndroidSupportSupportV42301Library
Skipping task ':ReactAndroid:prepareComAndroidSupportSupportV42301Library' as it is up-to-date (took 0.003 secs).
:ReactAndroid:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportSupportV42301Library (Thread[main,5,main]) completed. Took 0.005 secs.
:ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library
Skipping task ':ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library' as it is up-to-date (took 0.004 secs).
:ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library (Thread[main,5,main]) completed. Took 0.004 secs.
:ReactAndroid:prepareComFacebookFrescoDrawee181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoDrawee181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoDrawee181Library' as it is up-to-date (took 0.008 secs).
:ReactAndroid:prepareComFacebookFrescoDrawee181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoDrawee181Library (Thread[main,5,main]) completed. Took 0.008 secs.
:ReactAndroid:prepareComFacebookFrescoFbcore181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoFbcore181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoFbcore181Library' as it is up-to-date (took 0.002 secs).
:ReactAndroid:prepareComFacebookFrescoFbcore181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFbcore181Library (Thread[main,5,main]) completed. Took 0.003 secs.
:ReactAndroid:prepareComFacebookFrescoFresco181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoFresco181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoFresco181Library' as it is up-to-date (took 0.002 secs).
:ReactAndroid:prepareComFacebookFrescoFresco181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFresco181Library (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:prepareComFacebookFrescoImagepipeline181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoImagepipeline181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoImagepipeline181Library' as it is up-to-date (took 0.004 secs).
:ReactAndroid:prepareComFacebookFrescoImagepipeline181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipeline181Library (Thread[main,5,main]) completed. Took 0.005 secs.
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library' as it is up-to-date (took 0.002 secs).
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase181Library (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library
Skipping task ':ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library' as it is up-to-date (took 0.001 secs).
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp3181Library (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:prepareComFacebookSoloaderSoloader030Library (Thread[main,5,main]) started.
:ReactAndroid:prepareComFacebookSoloaderSoloader030Library
Skipping task ':ReactAndroid:prepareComFacebookSoloaderSoloader030Library' as it is up-to-date (took 0.001 secs).
:ReactAndroid:prepareComFacebookSoloaderSoloader030Library UP-TO-DATE
:ReactAndroid:prepareComFacebookSoloaderSoloader030Library (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library (Thread[main,5,main]) started.
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library
Skipping task ':ReactAndroid:prepareOrgWebkitAndroidJscR174650Library' as it is up-to-date (took 0.002 secs).
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library (Thread[main,5,main]) completed. Took 0.003 secs.
:ReactAndroid:prepareReleaseDependencies (Thread[main,5,main]) started.
:ReactAndroid:prepareReleaseDependencies
Executing task ':ReactAndroid:prepareReleaseDependencies' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:ReactAndroid:prepareReleaseDependencies (Thread[main,5,main]) completed. Took 0.001 secs.
:ReactAndroid:compileReleaseAidl (Thread[main,5,main]) started.
:ReactAndroid:compileReleaseAidl
Skipping task ':ReactAndroid:compileReleaseAidl' as it is up-to-date (took 0.022 secs).
:ReactAndroid:compileReleaseAidl UP-TO-DATE
:ReactAndroid:compileReleaseAidl (Thread[main,5,main]) completed. Took 0.024 secs.
:ReactAndroid:compileReleaseNdk (Thread[main,5,main]) started.
:ReactAndroid:compileReleaseNdk
Skipping task ':ReactAndroid:compileReleaseNdk' as it has no source files.
:ReactAndroid:compileReleaseNdk UP-TO-DATE
:ReactAndroid:compileReleaseNdk (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:compileLint (Thread[main,5,main]) started.
:ReactAndroid:compileLint
Skipping task ':ReactAndroid:compileLint' as it is up-to-date (took 0.001 secs).
:ReactAndroid:compileLint UP-TO-DATE
:ReactAndroid:compileLint (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:copyReleaseLint (Thread[main,5,main]) started.
:ReactAndroid:copyReleaseLint
Skipping task ':ReactAndroid:copyReleaseLint' as it has no source files.
:ReactAndroid:copyReleaseLint UP-TO-DATE
:ReactAndroid:copyReleaseLint (Thread[main,5,main]) completed. Took 0.001 secs.
:ReactAndroid:compileReleaseRenderscript (Thread[main,5,main]) started.
:ReactAndroid:compileReleaseRenderscript
Skipping task ':ReactAndroid:compileReleaseRenderscript' as it is up-to-date (took 0.01 secs).
:ReactAndroid:compileReleaseRenderscript UP-TO-DATE
:ReactAndroid:compileReleaseRenderscript (Thread[main,5,main]) completed. Took 0.011 secs.
:ReactAndroid:generateReleaseBuildConfig (Thread[main,5,main]) started.
:ReactAndroid:generateReleaseBuildConfig
Skipping task ':ReactAndroid:generateReleaseBuildConfig' as it is up-to-date (took 0.004 secs).
:ReactAndroid:generateReleaseBuildConfig UP-TO-DATE
:ReactAndroid:generateReleaseBuildConfig (Thread[main,5,main]) completed. Took 0.005 secs.
:ReactAndroid:generateReleaseResValues (Thread[main,5,main]) started.
:ReactAndroid:generateReleaseResValues
Skipping task ':ReactAndroid:generateReleaseResValues' as it is up-to-date (took 0.001 secs).
:ReactAndroid:generateReleaseResValues UP-TO-DATE
:ReactAndroid:generateReleaseResValues (Thread[main,5,main]) completed. Took 0.002 secs.
:ReactAndroid:generateReleaseResources (Thread[main,5,main]) started.
:ReactAndroid:generateReleaseResources
Skipping task ':ReactAndroid:generateReleaseResources' as it has no actions.
:ReactAndroid:generateReleaseResources UP-TO-DATE
:ReactAndroid:generateReleaseResources (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:mergeReleaseResources (Thread[main,5,main]) started.
:ReactAndroid:mergeReleaseResources
Skipping task ':ReactAndroid:mergeReleaseResources' as it is up-to-date (took 0.196 secs).
:ReactAndroid:mergeReleaseResources UP-TO-DATE
:ReactAndroid:mergeReleaseResources (Thread[main,5,main]) completed. Took 0.199 secs.
:ReactAndroid:processReleaseManifest (Thread[main,5,main]) started.
:ReactAndroid:processReleaseManifest
Skipping task ':ReactAndroid:processReleaseManifest' as it is up-to-date (took 0.002 secs).
:ReactAndroid:processReleaseManifest UP-TO-DATE
:ReactAndroid:processReleaseManifest (Thread[main,5,main]) completed. Took 0.024 secs.
:ReactAndroid:processReleaseResources (Thread[main,5,main]) started.
:ReactAndroid:processReleaseResources
Skipping task ':ReactAndroid:processReleaseResources' as it is up-to-date (took 0.044 secs).
:ReactAndroid:processReleaseResources UP-TO-DATE
:ReactAndroid:processReleaseResources (Thread[main,5,main]) completed. Took 0.049 secs.
:ReactAndroid:generateReleaseSources (Thread[main,5,main]) started.
:ReactAndroid:generateReleaseSources
Skipping task ':ReactAndroid:generateReleaseSources' as it has no actions.
:ReactAndroid:generateReleaseSources UP-TO-DATE
:ReactAndroid:generateReleaseSources (Thread[main,5,main]) completed. Took 0.0 secs.
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard (Thread[main,5,main]) started.
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard
Skipping task ':ReactAndroid:incrementalReleaseJavaCompilationSafeguard' as it is up-to-date (took 0.004 secs).
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard (Thread[main,5,main]) completed. Took 0.006 secs.
:ReactAndroid:createNativeDepsDirectories (Thread[main,5,main]) started.
:ReactAndroid:createNativeDepsDirectories
Skipping task ':ReactAndroid:createNativeDepsDirectories' as it has no actions.
:ReactAndroid:createNativeDepsDirectories UP-TO-DATE
:ReactAndroid:createNativeDepsDirectories (Thread[main,5,main]) completed. Took 0.001 secs.
:ReactAndroid:downloadBoost (Thread[main,5,main]) started.
:ReactAndroid:downloadBoost
Executing task ':ReactAndroid:downloadBoost' (up-to-date check took 0.001 secs) due to:
  Task.upToDateWhen is false.
Destination file already exists. Skipping 'boost_1_63_0.tar.gz'
:ReactAndroid:downloadBoost UP-TO-DATE
:ReactAndroid:downloadBoost (Thread[main,5,main]) completed. Took 0.009 secs.
:ReactAndroid:prepareBoost (Thread[main,5,main]) started.
:ReactAndroid:prepareBoost
Skipping task ':ReactAndroid:prepareBoost' as it is up-to-date (took 1.351 secs).
:ReactAndroid:prepareBoost UP-TO-DATE
:ReactAndroid:prepareBoost (Thread[main,5,main]) completed. Took 1.37 secs.
:ReactAndroid:downloadDoubleConversion (Thread[main,5,main]) started.
:ReactAndroid:downloadDoubleConversion
Executing task ':ReactAndroid:downloadDoubleConversion' (up-to-date check took 0.0 secs) due to:
  Task.upToDateWhen is false.
Destination file already exists. Skipping 'double-conversion-1.1.1.tar.gz'
:ReactAndroid:downloadDoubleConversion UP-TO-DATE
:ReactAndroid:downloadDoubleConversion (Thread[main,5,main]) completed. Took 0.005 secs.
:ReactAndroid:prepareDoubleConversion (Thread[main,5,main]) started.
:ReactAndroid:prepareDoubleConversion
Skipping task ':ReactAndroid:prepareDoubleConversion' as it is up-to-date (took 0.005 secs).
:ReactAndroid:prepareDoubleConversion UP-TO-DATE
:ReactAndroid:prepareDoubleConversion (Thread[main,5,main]) completed. Took 0.009 secs.
:ReactAndroid:downloadFolly (Thread[main,5,main]) started.
:ReactAndroid:downloadFolly
Executing task ':ReactAndroid:downloadFolly' (up-to-date check took 0.001 secs) due to:
  Task.upToDateWhen is false.
Destination file already exists. Skipping 'folly-2016.09.26.00.tar.gz'
:ReactAndroid:downloadFolly UP-TO-DATE
:ReactAndroid:downloadFolly (Thread[main,5,main]) completed. Took 0.004 secs.
:ReactAndroid:prepareFolly (Thread[main,5,main]) started.
:ReactAndroid:prepareFolly
Skipping task ':ReactAndroid:prepareFolly' as it is up-to-date (took 0.12 secs).
:ReactAndroid:prepareFolly UP-TO-DATE
:ReactAndroid:prepareFolly (Thread[main,5,main]) completed. Took 0.122 secs.
:ReactAndroid:downloadGlog (Thread[main,5,main]) started.
:ReactAndroid:downloadGlog
Executing task ':ReactAndroid:downloadGlog' (up-to-date check took 0.0 secs) due to:
  Task.upToDateWhen is false.
Destination file already exists. Skipping 'glog-0.3.3.tar.gz'
:ReactAndroid:downloadGlog UP-TO-DATE
:ReactAndroid:downloadGlog (Thread[main,5,main]) completed. Took 0.004 secs.
:ReactAndroid:prepareGlog (Thread[main,5,main]) started.
:ReactAndroid:prepareGlog
Skipping task ':ReactAndroid:prepareGlog' as it is up-to-date (took 0.004 secs).
:ReactAndroid:prepareGlog UP-TO-DATE
:ReactAndroid:prepareGlog (Thread[main,5,main]) completed. Took 0.021 secs.
:ReactAndroid:downloadJSCHeaders (Thread[main,5,main]) started.
:ReactAndroid:downloadJSCHeaders
Executing task ':ReactAndroid:downloadJSCHeaders' (up-to-date check took 0.001 secs) due to:
  Task.upToDateWhen is false.
Destination file already exists. Skipping 'JavaScript.h'
Destination file already exists. Skipping 'JSBase.h'
Destination file already exists. Skipping 'JSContextRef.h'
Destination file already exists. Skipping 'JSObjectRef.h'
Destination file already exists. Skipping 'JSRetainPtr.h'
Destination file already exists. Skipping 'JSStringRef.h'
Destination file already exists. Skipping 'JSValueRef.h'
Destination file already exists. Skipping 'WebKitAvailability.h'
:ReactAndroid:downloadJSCHeaders UP-TO-DATE
:ReactAndroid:downloadJSCHeaders (Thread[main,5,main]) completed. Took 0.008 secs.
:ReactAndroid:prepareJSC (Thread[main,5,main]) started.
:ReactAndroid:prepareJSC
Executing task ':ReactAndroid:prepareJSC' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:ReactAndroid:prepareJSC (Thread[main,5,main]) completed. Took 0.319 secs.
:ReactAndroid:buildReactNdkLib (Thread[main,5,main]) started.
:ReactAndroid:buildReactNdkLib
Executing task ':ReactAndroid:buildReactNdkLib' (up-to-date check took 0.004 secs) due to:
  No history is available.
Starting process 'command '/Users/santanu/Library/Android/sdk/ndk-bundle/ndk-build''. Working directory: /Users/santanu/Documents/React Native/react-native/ReactAndroid Command: /Users/santanu/Library/Android/sdk/ndk-bundle/ndk-build NDK_PROJECT_PATH=null NDK_APPLICATION_MK=/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/Application.mk NDK_OUT=/Users/santanu/Documents/React Native/react-native/ReactAndroid/build/tmp/buildReactNdkLib NDK_LIBS_OUT=/Users/santanu/Documents/React Native/react-native/ReactAndroid/build/react-ndk/all THIRD_PARTY_NDK_DIR=/Users/santanu/Documents/React Native/react-native/ReactAndroid/build/third-party-ndk REACT_COMMON_DIR=/Users/santanu/Documents/React Native/react-native/ReactAndroid/../ReactCommon -C /Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/react/jni --jobs 4
Successfully started process 'command '/Users/santanu/Library/Android/sdk/ndk-bundle/ndk-build''
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:49: /Users/santanu/Documents/React: No such file or directory
make: Entering directory `/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/react/jni'
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-14.    
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:49: Native/react-native/ReactAndroid/src/main/jni/Application.mk: No such file or directory
Android NDK: NDK_PROJECT_PATH==null.  Please explicitly set APP_BUILD_SCRIPT.    
make: Leaving directory `/Users/santanu/Documents/React Native/react-native/ReactAndroid/src/main/jni/react/jni'
/Users/santanu/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:108: *** Android NDK: Aborting.    .  Stop.
:ReactAndroid:buildReactNdkLib FAILED
:ReactAndroid:buildReactNdkLib (Thread[main,5,main]) completed. Took 0.296 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ReactAndroid:buildReactNdkLib'.
> Process 'command '/Users/santanu/Library/Android/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 13.617 secs

I've updated the react-native version to the Environment section.

react-native-bot commented 6 years ago

It looks like you're using an old version of React Native. The info command was added last summer. Please upgrade and let us know if this reproduced in 0.54 or 0.55.

shawvyu commented 6 years ago

I have the same problem,Please answer thanks

react-native-bot commented 6 years ago

I am closing this issue as the reporter has not yet confirmed the issue exists in the latest release. If you have reproduced this issue in the latest release and are interested in fixing it, please open a new issue with up to date information. Thanks.

woshi82 commented 6 years ago

There is similar problem comes in react-native 0.55.0,but it seems something goes wrong in yoga. https://github.com/facebook/react-native/issues/18833

dingshaoran commented 5 years ago

same issue 0.54.4

more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4. Android SDK Build Tools 27.0.3 will be used. To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:693: Android NDK: Module reactnativejni depends on undefined modules: fbjni make: Leaving directory/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 35s 21 actionable tasks: 18 executed, 3 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no] no Gradle Cloud Services license agreement not accepted.

The build scan was not published due to a configuration problem.

The buildScan extension 'licenseAgree' value must be exactly the string 'yes' (without quotes). The value given was 'no'.

To agree to the license, include the following in your root project's configuration: buildScan { licenseAgreementUrl = 'https://gradle.com/terms-of-service'; licenseAgree = 'yes' }

For more information, please see https://gradle.com/scans/help/plugin-license.

Alternatively, if you are using Gradle Enterprise, specify the server location. For more information, please see https://gradle.com/scans/help/plugin-enterprise-config.

dsrdeMacBook-Pro:android dsr$ ./gradlew installDebug --scan

Configure project :ReactAndroid The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_qwkryv7t281e5bzbqpje1d0t.run(/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build.gradle:137) (Run with --stacktrace to get the full stack trace of this deprecation warning.) WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:693: Android NDK: Module reactnativejni depends on undefined modules: fbjni /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop. make: Leaving directory/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni'

FAILURE: Build failed with an exception.

BUILD FAILED in 11s 21 actionable tasks: 18 executed, 3 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no] no Gradle Cloud Services license agreement not accepted.

The build scan was not published due to a configuration problem.

The buildScan extension 'licenseAgree' value must be exactly the string 'yes' (without quotes). The value given was 'no'.

To agree to the license, include the following in your root project's configuration: buildScan { licenseAgreementUrl = 'https://gradle.com/terms-of-service'; licenseAgree = 'yes' }

For more information, please see https://gradle.com/scans/help/plugin-license.

Alternatively, if you are using Gradle Enterprise, specify the server location. For more information, please see https://gradle.com/scans/help/plugin-enterprise-config.

dsrdeMacBook-Pro:android dsr$ o /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni dsrdeMacBook-Pro:android dsr$ o /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni dsrdeMacBook-Pro:android dsr$ ./gradlew installDebug --scan

Configure project :ReactAndroid The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_qwkryv7t281e5bzbqpje1d0t.run(/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build.gradle:137) (Run with --stacktrace to get the full stack trace of this deprecation warning.) WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' [armeabi-v7a] StaticLibrary : libboost.a [armeabi-v7a] Prebuilt : libjsc.so <= /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/jni/armeabi-v7a/ make: /Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar: Command not found make: *** [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/libboost.a] Error 127 make: *** Waiting for unfinished jobs.... make: Leaving directory/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni'

FAILURE: Build failed with an exception.

BUILD FAILED in 4s 22 actionable tasks: 8 executed, 14 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no] ^[[A^[[A ^C^CdsrdeMacBook-Pro:android dsr$ dsrdeMacBook-Pro:android dsr$ dsrdeMacBook-Pro:android dsr$ ./gradlew installDebug --scan

Configure project :ReactAndroid The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_qwkryv7t281e5bzbqpje1d0t.run(/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build.gradle:156) (Run with --stacktrace to get the full stack trace of this deprecation warning.) WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory `/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' [armeabi-v7a] Compile++ : reactnativejni <= AndroidJSCFactory.cpp [armeabi-v7a] Compile++ : reactnativejni <= CatalystInstanceImpl.cpp [armeabi-v7a] Compile++ : reactnativejni <= CxxModuleWrapper.cpp [armeabi-v7a] Compile++ : reactnativejni <= JavaModuleWrapper.cpp [armeabi-v7a] Compile++ : reactnativejni <= JMessageQueueThread.cpp [armeabi-v7a] Compile++ : reactnativejni <= JSCPerfLogging.cpp [armeabi-v7a] Compile++ : reactnativejni <= JSLoader.cpp [armeabi-v7a] Compile++ : reactnativejni <= JSLogging.cpp In file included from ./JSLogging.cpp:3: In file included from ./JSLogging.h:In file included from ./JSCPerfLogging.cpp5:: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSContextRef.h:329: : In file included from ./JSCPerfLogging.h:In file included from 5: /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSObjectRef.hIn file included from :/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSContextRef.h31:: 29In file included from : In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSObjectRef.h:31: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSValueRef.h:30/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/JSValueRef.h: :/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/WebKitAvailability.h:30: 31/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/JavaScriptCore/WebKitAvailability.h::3110::10 :fatal error : fatal error'AvailabilityMacros.h' file not found : 'AvailabilityMacros.h' file not found

    include #include

     ^~~~~~~~~~~~~~~~~~~~~~
     ^~~~~~~~~~~~~~~~~~~~~~

In file included from In file included from In file included from ./CatalystInstanceImpl.cpp./JavaModuleWrapper.cpp:./JSLoader.cpp3:: In file included from :33: In file included from ./CatalystInstanceImpl.h./JavaModuleWrapper.h:: 5: In file included from In file included from :/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/NativeModule.h3:: 5In file included from : ./JSLoader.h/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/stringIn file included from :5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string::/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:404040: : In file included from : /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.hIn file included from :40In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h::: 40In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from 40/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: : In file included from : /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.hIn file included from In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:37: :40: In file included from In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:/Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h44:: 33In file included from : /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.hIn file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h::37: In file included from 37: : In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h44In file included from : In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33/Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h::3736: : /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.hIn file included from :96/Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h::1833:: In file included from error/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h: :expected ';' at end of declaration list : In file included from 37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:37:36: : In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:/Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h96::3618: :/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h :error96: :expected ';' at end of declaration list18 : error: expected ';' at end of declaration list sighandler_t sa_handler; ^ sighandler_t sa_handler;

             ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler' sighandler_t sa_handler; ^#define sa_handler _u._sa_handler /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

                 ^

In file included from ./JavaModuleWrapper.cpp:3: In file included from ./JavaModuleWrapper.h:5: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/NativeModule.h:5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: expected ')' void (sa_sigaction)(int, struct siginfo, void*); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:24: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                   ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void*); ^ ^ In file included from ./CatalystInstanceImpl.cpp:3: In file included from ./CatalystInstanceImpl.h: 3: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h::4085: :In file included from 22/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:: 40note: : In file included from expanded from macro 'sa_handler'/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h :40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37#define sa_handler _u._sa_handler ^: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33:

In file included from ./JSLoader.cpp:3: In file included from ./JSLoader.h:5In file included from : In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string::37: 40In file included from : /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.hIn file included from :/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h36:: 40/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h::40: error: expected ')' In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h void (sa_sigaction)(int, struct siginfo, void*); :37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h: ^36 : /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:: 86error:: 24expected ')': note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction void (sa_sigaction)(int, struct siginfo, void*);

                   ^           ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:8686::2422:: note: expanded from macro 'sa_sigaction':97:10: note: to match this '(' note: expanded from macro 'sa_sigaction' void (sa_sigaction)(int, struct siginfo, void);

define sa_sigaction _u._sa_sigaction

                 ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:#define sa_sigaction _u._sa_sigaction96 : ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' 18: ^note : previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:20: note: expanded from macro 'sa_handler' /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97 void (sa_sigaction)(int, struct siginfo, void);: 12 ^: error#define sa_handler _u._sa_handler: duplicate member '_u'/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h :86 ^ :22: note: expanded from macro 'sa_sigaction' void (sa_sigaction)(int, struct siginfo, void*); ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:22: note: #define sa_sigaction _u._sa_sigactionexpanded from macro 'sa_sigaction'

                 ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96#define sa_sigaction _u._sa_sigaction :18: ^ note: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.hprevious declaration is here: 96:18: note: previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h: sighandler_t sa_handler;85 : ^20 : note: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:expanded from macro 'sa_handler'85 :20: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

               ^

define sa_handler _u._sa_handler

               ^

In file included from ./JMessageQueueThread.cpp:3: In file included from ./JMessageQueueThread.h:5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/functional:55: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/tuple:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/array:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/stdexcept:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of declaration list sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

                 ^

In file included from ./JMessageQueueThread.cpp:3: In file included from ./JMessageQueueThread.h:5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/functional:55: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/tuple:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/array:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/stdexcept:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: expected ')' void (sa_sigaction)(int, struct siginfo, void*); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:24: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                   ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:22: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                 ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: note: previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:20: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

               ^

In file included from ./CxxModuleWrapper.cpp:3: In file included from ./CxxModuleWrapper.h:5: In file included from ./CxxModuleWrapperBase.h:5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/memory:72: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of declaration list sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

                 ^

In file included from ./CxxModuleWrapper.cpp:3: In file included from ./CxxModuleWrapper.h:5: In file included from ./CxxModuleWrapperBase.h:5: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/memory:72: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: expected ')' void (sa_sigaction)(int, struct siginfo, void*); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:24: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                   ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:22: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                 ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: note: previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:20: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

               ^

In file included from ./AndroidJSCFactory.cpp:3: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSCExecutor.h:6: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/memory:72: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of declaration list sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

                 ^

In file included from ./AndroidJSCFactory.cpp:3: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSCExecutor.h:6: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/memory:72: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: expected ')' void (sa_sigaction)(int, struct siginfo, void*); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:24: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                   ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:22: note: expanded from macro 'sa_sigaction'

define sa_sigaction _u._sa_sigaction

                 ^

/Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: note: previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:20: note: expanded from macro 'sa_handler'

define sa_handler _u._sa_handler

               ^

In file included from ./JSLoader.cpp:3: In file included from ./JSLoader.h:8: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSExecutor.h:8: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/NativeModule.h:9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/dynamic.h:68: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ostream:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:44: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/basic_ios.h:37: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/locale_facets.h:41: /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:62:35: error: use of undeclared identifier '_U' static const mask upper = _U; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:63:32: error: use of undeclared identifier '_L' static const mask lower = _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:32: error: use of undeclared identifier '_U' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:37: error: use of undeclared identifier '_L' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:65:32: error: use of undeclared identifier '_N' static const mask digit = _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:33: error: use of undeclared identifier '_X' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:38: error: use of undeclared identifier '_N' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:67:32: error: use of undeclared identifier '_S' static const mask space = _S; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:32: error: use of undeclared identifier '_P' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:37: error: use of undeclared identifier '_U' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:42: error: use of undeclared identifier '_L' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:47: error: use of undeclared identifier '_N' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:52: error: use of undeclared identifier '_B' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:32: error: use of undeclared identifier '_P' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:37: error: use of undeclared identifier '_U' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:42: error: use of undeclared identifier '_L' static const mask graph = _P | _U | _L | _N; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from ./JavaModuleWrapper.cpp:3: In file included from ./JavaModuleWrapper.hIn file included from ./CxxModuleWrapper.cpp:3: In file included from ./CxxModuleWrapper.h:5: In file included from ./CxxModuleWrapperBase.h:8: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/CxxModule.h:10: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/dynamic.h:68: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ostream:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:44: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/basic_ios.h:37: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/locale_facets.h:41: /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:62:35: error: use of undeclared identifier '_U' static const mask upper = _U; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:63:32: error: use of undeclared identifier '_L' static const mask lower = _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:32::5: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/NativeModule.h:9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/dynamic.h:68: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ostream :error: use of undeclared identifier '_U' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:37: error: use of undeclared identifier '_L' static const mask alpha = _U | _L; ^ 38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:44: In file included from ./AndroidJSCFactory.cpp:3: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSCExecutor.h:9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSCNativeModules.h:8: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/ModuleRegistry.hIn file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/basic_ios.h:37: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/locale_facets.h:41: /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:62:35: error: use of undeclared identifier '_U' :9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/JSExecutor.h:8: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/../ReactCommon/cxxreact/../cxxreact/NativeModule.h:9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/dynamic.h:68: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ostream:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:44: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/basic_ios.h:37: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/locale_facets.h:41: /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:62:35: error: use of undeclared identifier '_U' static const mask upper = _U; ^ static const mask upper = _U; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:63:32: error: use of undeclared identifier '_L' static const mask lower = _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:63:32: error: use of undeclared identifier '_L' static const mask lower = _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:32: error: use of undeclared identifier '_U' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:37: error: use of undeclared identifier '_L' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:65:32: error: use of undeclared identifier '_N' static const mask digit = _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:65:/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:33: error: use of undeclared identifier '_X' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:38: error: use of undeclared identifier '_N' static const mask xdigit = _X | _N; ^ 32: error: use of undeclared identifier '_N' static const mask digit = _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:32: error: use of undeclared identifier '_U' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:37: error: use of undeclared identifier '_L' static const mask alpha = _U | _L; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:67:32: error: use of undeclared identifier '_S' static const mask space = _S; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:65:32: error: use of undeclared identifier '_N' static const mask digit = _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:33: error: use of undeclared identifier '_X' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:38: error: use of undeclared identifier '_N' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:33: error: use of undeclared identifier '_X' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:38: error: use of undeclared identifier '_N' static const mask xdigit = _X | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:67:32: error: use of undeclared identifier '_S' static const mask space = _S; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:67:32: error: use of undeclared identifier '_S' static const mask space = _S; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:32: error: use of undeclared identifier '_P' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:37: error: use of undeclared identifier '_U' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:42: error: use of undeclared identifier '_L' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:47: error: use of undeclared identifier '_N' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:52: error: use of undeclared identifier '_B' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:32: error: use of undeclared identifier '_P' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:37: error: use of undeclared identifier '_U' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:42: error: use of undeclared identifier '_L' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:47: error: use of undeclared identifier '_N' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:52: error: use of undeclared identifier '_B' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:32: error: use of undeclared identifier '_P' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:37: error: use of undeclared identifier '_U' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:42: error: use of undeclared identifier '_L' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:47: error: use of undeclared identifier '_N' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:52: error: use of undeclared identifier '_B' static const mask print = _P | _U | _L | _N | _B; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:32: error: use of undeclared identifier '_P' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:37: error: use of undeclared identifier '_U' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:42: error: use of undeclared identifier '_L' static const mask graph = _P | _U | _L | _N; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:32: error: use of undeclared identifier '_P' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:37: error: use of undeclared identifier '_U' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:42: error: use of undeclared identifier '_L' static const mask graph = _P | _U | _L | _N; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:32: error: use of undeclared identifier '_P' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:37: error: use of undeclared identifier '_U' static const mask graph = _P | _U | _L | _N; ^ /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:42: error: use of undeclared identifier '_L' static const mask graph = _P | _U | _L | _N; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from ./CatalystInstanceImpl.cpp:3: In file included from ./CatalystInstanceImpl.h:6: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Memory.h:19: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Traits.h:26: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Portability.h:23: /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/portability/Config.h:36:10: fatal error: 'Availability.h' file not found

include

     ^~~~~~~~~~~~~~~~

In file included from ./JMessageQueueThread.cpp:9: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Memory.h:19: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Traits.h:26: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/Portability.h:23: /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/folly/folly/portability/Config.h:36:10: fatal error: 'Availability.h' file not found

include

     ^~~~~~~~~~~~~~~~

1 error generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/JSLogging.o] Error 1 make: Waiting for unfinished jobs.... 1 error generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/JSCPerfLogging.o] Error 1 20 errors generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/AndroidJSCFactory.o] Error 1 20 errors generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/CxxModuleWrapper.o] Error 1 20 errors generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/JSLoader.o] Error 1 20 errors generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/JavaModuleWrapper.o] Error 1 4 errors generated. make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/CatalystInstanceImpl.o] Error 1 4 errors generated. make: *** [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/reactnativejni/JMessageQueueThread.o] Error 1 make: Leaving directory `/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni'

FAILURE: Build failed with an exception.

BUILD FAILED in 12s 22 actionable tasks: 9 executed, 13 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no] ^CdsrdeMacBook-Pro:android dsr$ dsrdeMacBook-Pro:android dsr$ ./gradlew installDebug --scan

Configure project :ReactAndroid The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_qwkryv7t281e5bzbqpje1d0t.run(/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build.gradle:137) (Run with --stacktrace to get the full stack trace of this deprecation warning.) WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4. Android SDK Build Tools 27.0.3 will be used. To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :ReactAndroid:downloadBoost Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:45:29 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:45:29 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:45:29 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:45:29 -0000

Download https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz

Task :ReactAndroid:downloadDoubleConversion Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:46:00 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:46:00 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:46:00 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:46:00 -0000

Download https://github.com/google/double-conversion/archive/v1.1.1.tar.gz

Task :ReactAndroid:downloadFolly Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:46:32 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:46:32 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:46:32 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:46:32 -0000

Download https://github.com/facebook/folly/archive/v2016.09.26.00.tar.gz

Task :ReactAndroid:downloadGlog Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:46:43 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:46:43 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:46:43 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:46:43 -0000

Download https://github.com/google/glog/archive/v0.3.3.tar.gz Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JavaScript.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSBase.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSContextRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSObjectRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSRetainPtr.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSStringRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSValueRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/WebKitAvailability.h

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:693: make: Leaving directory/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' Android NDK: Module reactnativejni depends on undefined modules: fbjni
    /Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 28s 21 actionable tasks: 20 executed, 1 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no] ^[[A ^C^CdsrdeMacBook-Pro:android dsr$ dsrdeMacBook-Pro:android dsr$ ./gradlew installDebug --scan

Configure project :ReactAndroid The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_qwkryv7t281e5bzbqpje1d0t.run(/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build.gradle:137) (Run with --stacktrace to get the full stack trace of this deprecation warning.) WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4. Android SDK Build Tools 27.0.3 will be used. To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :ReactAndroid:downloadBoost Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:51:31 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:51:31 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:51:31 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:51:31 -0000

Download https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz

Task :ReactAndroid:downloadDoubleConversion Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:51:59 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:51:59 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:51:59 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:51:59 -0000

Download https://github.com/google/double-conversion/archive/v1.1.1.tar.gz

Task :ReactAndroid:downloadFolly Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:52:19 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:52:19 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:52:19 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:52:19 -0000

Download https://github.com/facebook/folly/archive/v2016.09.26.00.tar.gz

Task :ReactAndroid:downloadGlog Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Tue, 25 Dec 2018 03:52:30 -0000". Invalid 'expires' attribute: Tue, 25 Dec 2018 03:52:30 -0000 Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Dec 2038 02:52:30 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 25 Dec 2038 02:52:30 -0000

Download https://github.com/google/glog/archive/v0.3.3.tar.gz Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JavaScript.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSBase.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSContextRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSObjectRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSRetainPtr.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSStringRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/JSValueRef.h Download https://raw.githubusercontent.com/WebKit/webkit/38b15a3ba3c1b0798f2036f7cea36ffdc096202e/Source/JavaScriptCore/API/WebKitAvailability.h

Task :ReactAndroid:buildReactNdkLib FAILED A problem was found with the configuration of task ':ReactAndroid:buildReactNdkLib'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • File '/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react' specified for property '$1' is not a file. Android NDK: android-9 is unsupported. Using minimum supported version android-14.
    make: Entering directory `/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni' [armeabi-v7a] Compile++ : fb <= onload.cpp [armeabi-v7a] StaticLibrary : libboost.a [armeabi-v7a] Prebuilt : libjsc.so <= /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/third-party-ndk/jsc/jni/armeabi-v7a/ make: /Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar: Command not found make: [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/libboost.a] Error 127 make: Waiting for unfinished jobs.... In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/onload.cpp:14: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/fbjni.h:14: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/Environment.h:11: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/functional:55: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/tuple:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/array:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/stdexcept:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of declaration list sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:22: note: expanded from macro 'sa_handler'

    define sa_handler _u._sa_handler

    ^ In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/onload.cpp:14: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/fbjni.h:14: In file included from /Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/Environment.h:11: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/functional:55: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/tuple:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/array:38: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/stdexcept:39: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/string:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/char_traits.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40: In file included from /Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/wchar.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/time.h:33: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/time.h:37: In file included from /Library/Android/sdk/ndk-bundle/sysroot/usr/include/sys/select.h:36: /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: expected ')' void (sa_sigaction)(int, struct siginfo, void*); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:24: note: expanded from macro 'sa_sigaction'

    define sa_sigaction _u._sa_sigaction

    ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:10: note: to match this '(' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:97:12: error: duplicate member '_u' void (sa_sigaction)(int, struct siginfo, void); ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:86:22: note: expanded from macro 'sa_sigaction'

    define sa_sigaction _u._sa_sigaction

    ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/signal.h:96:18: note: previous declaration is here sighandler_t sa_handler; ^ /Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi/asm/signal.h:85:20: note: expanded from macro 'sa_handler'

    define sa_handler _u._sa_handler

    ^ 3 errors generated. make: *** [/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/fb/onload.o] Error 1 make: Leaving directory `/Users/dsr/Documents/code/rn/AwesomeProject/node_modules/react-native/ReactAndroid/src/main/jni/react/jni'

FAILURE: Build failed with an exception.