0
votes

Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\Android\android-sdk-windows\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1 now it is showing this too-- AAPT err(Facade for 1222374806): C:\Users\Rajinder\Desktop\FloatingLabels\app\src\main\res\drawable-xxhdpi\logo.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

This error comes when I add images for NavigationView for all dpi in drawable folders.

1
it may be a problem with image name - Vivek Mishra
images name starts with nav_address, nav_signout etc.sss - Nitish Gupta
all letters are small. - Nitish Gupta
images are .png format - Nitish Gupta
try clean and rebuild - Vivek Mishra

1 Answers

0
votes

add following line in

line:xmlns:app="http://schemas.android.com/apk/res-auto"

<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" </android.support.v4.widget.DrawerLayout>

Use Lib version

dependencies { compile 'com.android.support:appcompat-v7:23.1.1' }