invalid resource directory name, drawable-anydpi-v21
<p>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) </p>

<p>I start the application using this command : </p>

<pre><code>react-native run-android
</code></pre>

<p>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.</p>

<pre><code>:app:processDebugResourcesinvalid resource directory name: D:\Projects\react-native\project\android\app\build\intermediates\res\merged\debug/drawable-anydpi-v21
</code></pre>

<p>This is a part of the gradle file.</p>

<pre><code>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
    }
</code></pre>