-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Keeps crashing on Android7.0 #14
Comments
Hi @mf-mindcrewtech, can you provide your implemention? |
private BottomSheetMaterialDialog mAnimatedBottomSheetDialog; private void showDelete(){
|
@PatilShreyas please check and let me know if there is any error |
If I comment .setAnimation("delete_anim.json") method, it works fine on Andorid7, is there a min sdk thing? |
@mf-mindcrewtech There's no minSdk like thing here. For testing purpose try moving your file from assets to raw folder in See if it runs or gives problem and let me know. Then we'll do further actions. |
Any updates @mf-mindcrewtech ? |
Hi @PatilShreyas still crashing R.raw.delete_anim in Android7.0, can you please check BTW No logs have been generated (My code is also in try/catch but no exception there) |
Okay @mf-mindcrewtech. I'll look into it. |
@mf-mindcrewtech For testing purpose, I'll need your implemention to reproduce error. Can you please provide your implemention on GitHub or simply send me your project zip on mail: shreyaspatil125@gmail.com |
@PatilShreyas I used your library in my running project, so can't share the complete code, But i'll send you the method which i am using private void showDelete(){ |
Okay. Thanks! |
@mf-mindcrewtech I tried it on my device (Android 7.0 API 24) with Animation. I found that it's running fine without any errors. |
@PatilShreyas okay but still crashing for me :( |
@mf-mindcrewtech Have you included Lottie library as dependency in project? I'll suggest you to clone this repo and import sample app of this project in your Android studio and run app in your device and test if same error occurs or not. If you try this, maybe actual problem will be solved. |
@PatilShreyas I got the issue, which is with the delete_anim.json (I downloaded another one from lottie). I replaced with your one and it works. Thanks for kind help |
Okay @mf-mindcrewtech and thanks for the clarification! |
As problem is solved now, can we close this issue? |
Yupp please close it |
Thanks for using this library.😀 |
On Nougat, it was keep crashing with .setAnimation("delete_anim.json") method and there is not a single Log, can you please test
The text was updated successfully, but these errors were encountered: