leakcanary icon indicating copy to clipboard operation
leakcanary copied to clipboard

AAPT: error: attribute android:fillType not found.

Open hookbin opened this issue 3 years ago • 4 comments

  • 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

hookbin avatar Oct 13 '20 06:10 hookbin

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

alphatyy avatar Nov 04 '20 05:11 alphatyy

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

pyricau avatar Nov 04 '20 22:11 pyricau

This might be the same as #1093

pyricau avatar Nov 04 '20 22:11 pyricau

update compileSdkVersion support-v7 (maybe) version

hookbin avatar Nov 16 '20 10:11 hookbin

Is anyone working on this issue?

glitched-sudhanshu avatar Nov 15 '22 14:11 glitched-sudhanshu

No. I'm closing, we can reopen if someone provides a sample project that reproduce the issue.

pyricau avatar Nov 16 '22 13:11 pyricau