alexjlockwood / adp-delightful-details

This sample app accompanies a blog post I wrote on icon animations
https://www.androiddesignpatterns.com/2016/11/introduction-to-icon-animation-techniques.html
MIT License
1.07k stars 160 forks source link

Failed to parse animated-vector resource #3

Open ersin-ertan opened 7 years ago

ersin-ertan commented 7 years ago
Error:Execution failed for task ':my_project:processReleaseResources'.
> Failed to parse XML resource file '/Users/mms/AndroidStudioProjects/my_project/my_project_lib/build/intermediates/res/merged/release/drawable-v21/avd_downloading_begin.xml'

Hey Alex, I copied and pasted the avd_downloading_begin into my projects drawable-v21 folder along with the vd_downloading, but the IDE is still giving me an error in avd_downloading_begin for target animation attribute should be defined

I have noted to use VectorDrawableCompat and have set vectorDrawables.useSupportLibrary = true in the defaultConfig of both the project and library, and am using AppCompatImageView

Any ideas why this wouldn't work?

alexjlockwood commented 6 years ago

Do you still see this error?

ersin-ertan commented 6 years ago

Don't have the source/environment anymore.

sandeepgahlawat commented 6 years ago

Hey, I am having the same issue and have no idea what to do about it. need help!

alexjlockwood commented 6 years ago

I just pushed an update to the sample app. I noticed that some of the gradle files were using some stuff from the older gradle 2.4 plugin that has since been deprecated. Not 100% sure if it will fix the issue, but it is worth a shot.

Let me know if you are still encountering the issue after you try out the change...

sandeepgahlawat commented 6 years ago

Hey Alex, it's still not working. I am able to use another animated vector drawable xml file but not this one(avd_downloading.xml) , any ideas?

alexjlockwood commented 6 years ago

Could you include more information about your current dev environment? Because the app is building fine for me.

Specifically, could you go to "Android Studio" --> "About Android Studio" and copy and paste the contents of the dialog that pops up? Mine looks like this:

screen shot 2017-11-17 at 9 24 53 am

Other things to try:

alexjlockwood commented 6 years ago

Are you still seeing this issue?

sandeepgahlawat commented 6 years ago

Unfortunately ,yes :(

On Dec 23, 2017 10:43 PM, "Alex Lockwood" notifications@github.com wrote:

Are you still seeing this issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexjlockwood/adp-delightful-details/issues/3#issuecomment-353737577, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9zFJoMEC6KdcWAb8pQXh9tA75zIIWGks5tDTS2gaJpZM4Mo-EK .