Error compiling Android Studio project with Gradle

0

I have a problem compiling my Gradle project. I have the following compiler response:

Error:Gradle: Execution failed for task ':mobile:processBroadcastHomologDebugResources'.
        > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: 
        Process 'command '/media/leonardootto/data/work/tools/java/android-sdk-linux/build-tools/22.0.0/aapt'' 
        finished with non-zero exit value 1
    
asked by anonymous 20.03.2015 / 20:16

1 answer

1

I encountered a problem with my layout, although the build did not report any useful information.

I have the following layout:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/cinza_bg"
    android:orientation="vertical"
    android:id="@id/rootLayout">

</LinearLayout>

I already had another place with this id, so I had to switch to:

<LinearLayout 
    ...
    android:id="@+id/rootLayout">
</LinearLayout>
    
20.03.2015 / 20:16