skip to Main Content

BUILD FAILED in 35s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ‘:react-native-screens’. > com.android.builder.errors.EvalIssueException: [CXX1101] NDK at C:UsersSreyaAppDataLocalAndroidSdkndk26.1.10909125 did not have a source.properties file * Try: > Run with –stacktrace option to get the stack trace. > Run with –info or –debug option to get more log output. > Run with –scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 35s

2

Answers


  1. Which version of NDK do you have installed?
    Is it specified in gradle.properties like this?

    android {
        ndkVersion '21.3.6528147'
    }
    

    And inside local.properties remove the following since it’s deprecated and also conflicts with path:

    ndk.dir=~/Library/Android/sdk/ndk-bundle
    
    Login or Signup to reply.
    1. Go to android studio
    2. Select SDK manager
    3. Go to SDK tool tab
    4. Tick the correct NDK version and install

    enter image description here
    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search