When i build the project it shows me the Exception that "app:mergeDebugResources" i checked my whole code and build.gradle and also the manifest file; i couldn't understand what is the main problem:
Error:Execution failed for task ':app:mergeDebugResources Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
Here is my menifiest file:
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name=".dashboard.MainActivity"
android:label="@string/app_name"></activity>
<activity android:name=".dashboard.SplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".childActivities.Alphabcha"></activity>
<activity android:name=".childActivities.Alphabets"></activity>
<activity android:name=".childActivities.Numbers"></activity>
<activity android:name=".childActivities.Tables"></activity>
<activity android:name=".dashboard.Help"></activity>
<activity android:name=".dashboard.AboutUs"></activity>
<activity android:name=".childActivities.Rhymes"></activity>
<activity android:name=".childActivities.tableSubChilds.Ones"></activity>
<activity android:name=".childActivities.tableSubChilds.Two"></activity>
<activity
android:name=".childActivities.tableSubChilds.Third"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Fourth"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Fifth"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Six"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Seven"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Eight"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Nine"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".childActivities.tableSubChilds.Ten"
android:label="@string/app_name"
android:screenOrientation="portrait"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Bababl"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Hotcross"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Twink"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Humptydu"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Jackjill"></activity>
<activity android:name=".childActivities.rhymesSubChilds.Mary"></activity>
<activity android:name=".childActivities.Shapes"></activity>
</application>
`
and here is my build.gradle file: `
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/NOTICE.txt' // will not include NOTICE file
exclude 'META-INF/LICENSE.txt' // will not include LICENSE file
}
I'm not using any jar file in lib in this project.looking for some helpful answer. Thanks in advance .
I just faced the same problem. I accidently deleted my drawable file and tried to get it by doing Ctrl+z. I checked xml file where I have used it, it showed me error "Unable to load image". So, this is problem in image, I just then deleted old and uploaded new. It worked !
I just had this problem.
After some investigation, I found that was a 9 patch image that was added on the resources folder. The problem was that on this 9 patch I added transparency, by mistake, at the reference border (those black borders).
So, after I fixed the 9 patch, which means remove the transparency of, the problem was solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With