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, 2022 in Android by Edureka
• 13,620 points
964 views

1 answer to this question.

0 votes
Go to the gradle.properties file and add this line: android.enableAapt2=false
answered Nov 8, 2022 by Edureka
• 12,690 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, 2022 in Android by Edureka
• 13,620 points
1,790 views
0 votes
0 answers
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, 2022 in Android by Edureka
• 13,620 points
4,442 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, 2022 in Android by Edureka
• 13,620 points
867 views
0 votes
1 answer

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

Over two years has passed, now and ...READ MORE

answered Feb 11, 2022 in Others by Soham
• 9,710 points
3,127 views
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, 2022 in Others by Soham
• 9,710 points
3,355 views
0 votes
1 answer

Exception : AAPT2 error: check logs for details

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

answered May 1, 2022 in Other DevOps Questions by narikkadan
• 63,600 points
673 views
0 votes
1 answer
0 votes
1 answer

Android Shared preferences for creating one time activity

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

answered Nov 8, 2022 in Android by Edureka
• 12,690 points
531 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