I'm having an annoying error installing react native:
~/MyApp $ react-native run-android
Scanning 555 folders for symlinks in /home/henrique/MyApp/node_modules (4ms)
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
File /home/henrique/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 23.0.1 in /home/henrique/Sdk/licenses
License for package Android SDK Build-Tools 23.0.1 accepted.
Preparing "Install Android SDK Build-Tools 23.0.1".
Warning: Failed to read or create install properties file.
Checking the license for package Android SDK Platform 23 in /home/henrique/Sdk/licenses
License for package Android SDK Platform 23 accepted.
Preparing "Install Android SDK Platform 23".
Warning: Failed to read or create install properties file.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following SDK components:
[Android SDK Platform 23, Android SDK Build-Tools 23.0.1]
Please install the missing components using the SDK manager in Android Studio.
* 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.957 secs
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/android-setup.html
I have tried to install Android SDK Platform 23, but still nothing ... Has anyone ever experienced this? Thanks in advance.