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

Json Keyfame issue #1561

Closed
binhao94 opened this issue Apr 8, 2019 · 9 comments
Closed

Json Keyfame issue #1561

binhao94 opened this issue Apr 8, 2019 · 9 comments

Comments

@binhao94
Copy link

binhao94 commented Apr 8, 2019

Environment: Mac OS High Sierra 10.14.4

AE CC 2019

I created a very simple scaling animation with 3 keyframes. It works perfectly in demo.html but the json file when running it in Expo or Lottie Cloud player shows up as blank and returns the error

java.lang.IllegalStateException: Missing values for keyframe.

Previously I've done animations with bodymovin but the error did not occur. Using previous jsons done in the past worked but when exporting new jsons with bodymovin with older AEP files (which json worked), the error comes up again.

Uploaded
HTML, Json and AEP file.

Error.zip

Thank you so much!

@bodymovin
Copy link
Collaborator

bodymovin commented Apr 8, 2019

Hi, if you have updated the extension to version 5.5, you need to update players as well. There is a new json format that needs the latest players.
If you don't want to update, you can select in advanced mode to export as the old format.

@binhao94
Copy link
Author

binhao94 commented Apr 8, 2019

Hi

Thank you so much!

Finally got it to work again :)

Sorry but may I know if theres a guide on how to update the player?

Thanks!

@llx547305571
Copy link

Hi, if you have updated the extension to version 5.5, you need to update players as well. There is a new json format that needs the latest players.
If you don't want to update, you can select in advanced mode to export as the old format.

sorry,i just still don't understand how to do it.I am using lottie-android 2.7.0 because my project didn't migrate to androidx.I stiil have some questions about the solutions you said.
1.How to update the player with using 2.7.0 version?
2.Or how to export as the old format?Is it the option in AE?

@binhao94
Copy link
Author

Hi

Hi, if you have updated the extension to version 5.5, you need to update players as well. There is a new json format that needs the latest players.
If you don't want to update, you can select in advanced mode to export as the old format.

sorry,i just still don't understand how to do it.I am using lottie-android 2.7.0 because my project didn't migrate to androidx.I stiil have some questions about the solutions you said.
1.How to update the player with using 2.7.0 version?
2.Or how to export as the old format?Is it the option in AE?

Hi,

Just wanted to share how i got around this problem. Theres an additional settings in the bodymovin' plugin before u render that u can select (Settings > Advanced > Export Old Json Format) and then it worked for me!

@llx547305571
Copy link

Hi

Hi, if you have updated the extension to version 5.5, you need to update players as well. There is a new json format that needs the latest players.
If you don't want to update, you can select in advanced mode to export as the old format.

sorry,i just still don't understand how to do it.I am using lottie-android 2.7.0 because my project didn't migrate to androidx.I stiil have some questions about the solutions you said.
1.How to update the player with using 2.7.0 version?
2.Or how to export as the old format?Is it the option in AE?

Hi,

Just wanted to share how i got around this problem. Theres an additional settings in the bodymovin' plugin before u render that u can select (Settings > Advanced > Export Old Json Format) and then it worked for me!

thanks for sharing. That is very helpful.

@ganeshpadhayay
Copy link

@llx547305571
Hi,
How did you solve this in Android? I am having the same issue
Can't migrate to 3.0 as my project is not on AndroidX.
Please share your solution here.
Thanks

@llx547305571
Copy link

@llx547305571
Hi,
How did you solve this in Android? I am having the same issue
Can't migrate to 3.0 as my project is not on AndroidX.
Please share your solution here.
Thanks

I downloaded the 5.3.4-version bodymovin plugin and it worked.
You may check the commit record to get the older version plugin.

@pagrawal1407
Copy link

pagrawal1407 commented Jun 4, 2019

Hey @ganeshpadhayay @llx547305571 How did you guys solve the plugin issue? Do we need to add some library in android build.gradle file to make it work? Where can I find the bodymovin plugin?
Also using Lottie version 2.7.0 is still okay? Or do we need to change that too?

@fadhilmi
Copy link

fadhilmi commented May 4, 2020

Hi, if you have updated the extension to version 5.5, you need to update players as well. There is a new json format that needs the latest players.
If you don't want to update, you can select in advanced mode to export as the old format.

hi, what extension do i need to upgrade to version 5.5?

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

6 participants