This is the error log:
Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: **AAPT process not ready to receive commands**
:app:mergeDebugResources FAILED
This is the error log:
Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: **AAPT process not ready to receive commands**
:app:mergeDebugResources FAILED
My problem, on Linux, was the path:
I export ANDROID_HOME with .bash_profile but I forgive to reload it in my terminal with . ~/.bash_profile before open android studio.
Step by step:
Close Android Studio.
Reload bash profile . ~/.bash_profile or export path:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
Open Android Studio.
Run device. I try with a Nexus 4 but it doesn't matters. Use API 23 X86_64 (Google APIs) like tutorial says.
Go to your project in terminal and execute react-native run-android.
It works!!