I am created an android app & is running above API level 21. But not running on below API level 21.
Here is error log:
Error:Execution failed for task
First Compile the build with
compile 'com.android.support:multidex:1.0.1'
In Your AndroidManifest.xml add this lines android:name
And In your build.gradle also add
dexOptions {
//incremental = true;
preDexLibraries = false
javaMaxHeapSize "4g"
}
packagingOptions {
exclude 'META-INF/NOTICE.txt' // will not include NOTICE file
exclude 'META-INF/LICENSE.txt' // will not include LICENSE file
}