Error com android tools aapt2 Aapt2Exception AAPT2 error check logs for details

0 votes

This is the output of my Gradle console, I am unable to build my project

D:\Android Projects\....\app\src\main\res\layout\topic_view_header.xml
Error:error: resource attr/?? (aka -packagename- :attr/??) not found.
Error:error: resource attr/?? (aka -packagename-:attr/??) not found.
Error:error: resource attr/?? (aka -packagename-:attr/??) not found.
Error:resource attr/?? (aka -packagename-:attr/??) not found.
Error:resource attr/?? (aka -packagename-:attr/??) not found.
Error:resource attr/?? (aka -packagename-:attr/??) not found.
Error:failed linking file resources.
Error:java.util.concurrent.ExecutionException: 
java.util.concurrent.ExecutionException: 
com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: 
com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for 
details
Error:Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
Information:BUILD FAILED in 27s
Information:11 errors
Information:0 warnings

Android Studio 3.0 RC 2

Nov 4 in Android by Edureka
• 12,390 points
42 views

1 answer to this question.

0 votes
Go to the gradle.properties file and add this line: android.enableAapt2=false
answered Nov 8 by Edureka
• 10,880 points

Related Questions In Android

0 votes
0 answers

Error - Android resource linking failed (AAPT2 27.0.3 Daemon #0)

I have this error I am try reinstall ...READ MORE

Sep 21 in Android by Edureka
• 12,390 points
532 views
0 votes
0 answers

Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler

I've prepared the Windows environment for react ...READ MORE

Sep 21 in Android by Edureka
• 12,390 points
977 views
0 votes
1 answer

Proguard returned with error code 1. (com.google.android.gms)

You must run the following command if ...READ MORE

answered Nov 15 in Android by Edureka
• 12,390 points
43 views
0 votes
1 answer
0 votes
1 answer

Invoke-customs are only supported starting with android 0 --min-api 26

After hours of working on this probleme, ...READ MORE

answered Feb 16 in Others by Soham
• 9,670 points
1,102 views
0 votes
1 answer

Exception : AAPT2 error: check logs for details

This happens when one of your .xml ...READ MORE

answered May 1 in Other DevOps Questions by narikkadan
• 37,660 points
176 views
0 votes
1 answer

Android Shared preferences for creating one time activity

Android offers a variety of options for ...READ MORE

answered Nov 8 in Android by Edureka
• 10,880 points
34 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP