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

Failed to parse animated-vector resource #3

Open
ersin-ertan opened this issue Mar 25, 2017 · 8 comments
Open

Failed to parse animated-vector resource #3

ersin-ertan opened this issue Mar 25, 2017 · 8 comments

Comments

@ersin-ertan
Copy link

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
Copy link
Owner

Do you still see this error?

@ersin-ertan
Copy link
Author

Don't have the source/environment anymore.

@sandeepgahlawat
Copy link

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

@alexjlockwood
Copy link
Owner

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
Copy link

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 alexjlockwood reopened this Nov 17, 2017
@alexjlockwood
Copy link
Owner

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:

  • Delete the project, re-clone it, and try again (just as a quick sanity check).
  • Run ./gradlew assembleDebug in the project's root directory and copy/paste the resulting output if there is an error.

@alexjlockwood
Copy link
Owner

Are you still seeing this issue?

@sandeepgahlawat
Copy link

sandeepgahlawat commented Dec 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants