nativescript-community / ui-lottie

NativeScript plugin to expose Airbnb Lottie
https://github.com/airbnb/lottie-android
Other
177 stars 57 forks source link

Nativescript 6.2 not build #51

Closed bazookon closed 4 years ago

bazookon commented 4 years ago

I put my json animation files into App_Resources/assets/ but faild

Execution failed for task ':app:mergeDebugResources'. /**/platforms/android/app/src/main/res/assets/success.json: Error: The file name must end with .xml

bradmartin commented 4 years ago

See the demo for correct file location to put your native assets for android/ios projects.

https://github.com/bradmartin/nativescript-lottie/tree/master/demo/app/App_Resources/Android/src/main/assets