Error classse R, Android Studio

0

After creating a project in Android Studio, the following error appears in the console:

/home/nayron/AndroidStudioProjects/MyApplication2 /app/build       /intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xml
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/nayron/android-sdks/build-tools/23.0.1/aapt'' finished with non-zero exit value 1
Information:BUILD FAILED

Could you please explain the possible reasons for this error and how to solve it, please?

    
asked by anonymous 13.10.2015 / 21:49

1 answer

0

This error, in se tratandop of Android Studio, can have many causes.

By giving a quick search on the internet you can see countless people with the same error and different causes and solutions.

One of them is Gradle Downgrade to the com.android.tools.build:gradle:1.1.3 or Upgrade to the latest version.

    
13.10.2015 / 21:54