[英]Android app is crashing on while opening paytm default activity. Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
My app is working fine for the android versions upto 10. It is also working fine for android 11 in in most of the devices except Samsung with android version 11. App is crashing while I am clicking on the Paytm with exception.我的应用程序适用于 android 版本最高 10。在大多数设备中它也适用于 android 11,除了三星的 android 版本 11。当我点击 Paytm 时,应用程序崩溃了。 Logs are as below -
日志如下——
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
ActivityTaskManager: Force finishing activity com.paytm.pgsdk.PaytmPGActivity
I have found the solution for this issue.我找到了这个问题的解决方案。 I updated okhttp libraries to latest versions and crash is resolved.
我将 okhttp 库更新到最新版本并解决了崩溃问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.