good afternoon, trying to compile an application on react-native from a finished turnip
what i did:
installed java
installed sdk and deflate the components I think are needed

There is such a build
android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.reactnativeresponsive" minSdkVersion 16 targetSdkVersion 22 versionCode 1 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" } } splits { abi { reset() enable enableSeparateBuildPerCPUArchitecture universalApk false // If true, also generate a universal APK include "armeabi-v7a", "x86" } } buildTypes { release { minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } } // applicationVariants are eg debug, release applicationVariants.all { variant -> variant.outputs.each { output -> // For each separate APK per architecture, set a unique version code as described here: // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits def versionCodes = ["armeabi-v7a":1, "x86":2] def abi = output.getFilter(OutputFile.ABI) if (abi != null) { // null for the universal-debug, universal-release variants output.versionCodeOverride = versionCodes.get(abi) * 1048576 + defaultConfig.versionCode } } } }
I registered JAVA_HOME and ANDROID_HOME in .bashrc (or the errors crashed)
run the build command
./gradlew assembleRelease
result -> failed to find target with hash string 'android-23' in: / home / igor / sdk / tools
Please tell me how to fix this error?
UPD tried to compile https://github.com/spencercarli/react-native-push-notification-how-to also the same error, I think that something from my SDK is not something “something”, I am looking for a reason.
