The Wayback Machine - https://web.archive.org/web/20201125030356/https://github.com/square/leakcanary/issues/1971
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAPT: error: attribute android:fillType not found. #1971

Open
hookbin opened this issue Oct 13, 2020 · 4 comments
Open

AAPT: error: attribute android:fillType not found. #1971

hookbin opened this issue Oct 13, 2020 · 4 comments

Comments

@hookbin
Copy link

@hookbin hookbin commented Oct 13, 2020

  • What went wrong:
    Execution failed for task ':XXXXX:processDebugResources'.

  • I not use Jetpack any pack

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    Android resource linking failed

     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon.xml:8: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon.xml:14: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon.xml:15: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon_foreground.xml:13: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon_foreground.xml:19: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_icon_foreground.xml:20: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_tv_icon.xml:19: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_tv_icon.xml:35: AAPT: error: attribute android:fillType not found.
         
     C:\Users\hook_\.gradle\caches\transforms-2\files-2.1\e1ff5400cabdc37292f8a220e73c4efb\leakcanary-android-core-2.5\res\drawable-anydpi-v24\leak_canary_tv_icon.xml:39: AAPT: error: attribute android:fillType not found.
  • LeakCanary version: 2.5
  • Android OS version: 22
  • Gradle version: 5.4.1
@Alphaty
Copy link

@Alphaty Alphaty commented Nov 4, 2020

hey, have this issue been resolved? I am facing the same problem.

@pyricau
Copy link
Member

@pyricau pyricau commented Nov 4, 2020

Not resolved. @Alphaty What's your compile SDK version? (compile, not target)

@pyricau
Copy link
Member

@pyricau pyricau commented Nov 4, 2020

This might be the same as #1093

@hookbin
Copy link
Author

@hookbin hookbin commented Nov 16, 2020

update compileSdkVersion support-v7 (maybe) version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.