I would like to build my application and send it over to my samsung tablet using android 4.2.2. But I would like to have my application compatible with newer versions too (i.e. API 23)
I start the application using this command :
react-native run-android
When it's building I receive this error, I clean the project twice already with no success. I do not use eclipse or android studio.
:app:processDebugResourcesinvalid resource directory name: D:\Projects\react-native\project\android\app\build\intermediates\res\merged\debug/drawable-anydpi-v21
This is a part of the gradle file.
android {
compileSdkVersion 17
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "com.project"
minSdkVersion 17
targetSdkVersion 23
...
}
dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:18.0.+"
compile "com.facebook.react:react-native:+" // From node_modules
}