I’m trying to build Android locally so we can support custom fonts in Android as well as iOS, but I’m getting this error:
ReactNativeClient git:custom-android-editor-styles ❯ react-native run-android info JS server already running. info Building and installing the app on the device (cd android && ./gradlew app:installDebug)... FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':@react-native-community_slider'. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/devonzuegel/dev/joplin/ReactNativeClient/android/local.properties'. * 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 0s error Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details.
@tessus since you’re on Android, do you perhaps have any ideas here?