开发者社区> 问答> 正文

mpaas 升级弹框弹出来,点下载时,看在有的手机上点升级下载,进度显示不出来,为什么报错?

mpaas 升级弹框弹出来,点下载时,看在有的手机上点升级下载,进度显示不出来,没反应报了个错,问下这是错是什么问题呀?2024-01-06 11:30:41.718 2850-15970/com.peopledailychina.activity E/DOWNLOAD: [IntentService[ExternalDownloadIntentService]] java.lang.ClassNotFoundException: com.peopledailychina.activity.R$id
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.alipay.mobile.android.security.upgrade.download.normal.UpgradeExternalDownloadCallback.getResourceId(UpgradeExternalDownloadCallback.java:322)
at com.alipay.mobile.android.security.upgrade.download.normal.UpgradeExternalDownloadCallback.initNotification(UpgradeExternalDownloadCallback.java:231)
at com.alipay.mobile.android.security.upgrade.download.normal.UpgradeExternalDownloadCallback.(UpgradeExternalDownloadCallback.java:81)
at com.alipay.mobile.android.security.upgrade.download.normal.UpgradeExternalDownloadIntentService.addDownload(UpgradeExternalDownloadIntentService.java:154)
at com.alipay.mobile.android.security.upgrade.download.normal.UpgradeExternalDownloadIntentService.onHandleIntent(UpgradeExternalDownloadIntentService.java:67)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.peopledailychina.activity.R$id" on path: DexPathList[[zip file "/data/app/7Pa9ngt5zDoxG0HpajGBug==/com.peopledailychina.activity-NF3b9SbYQ5sFGn1mYJGP5w==/base.apk"],nativeLibraryDirectories=[/data/app/7Pa9ngt5zDoxG0HpajGBug==/com.peopledailychina.activity-NF3b9SbYQ5sFGn1mYJGP5w==/lib/arm64, /data/app/~~7Pa9ngt5zDo

展开
收起
小小鹿鹿鹿 2024-01-17 16:53:49 64 0
1 条回答
写回答
取消 提交回答
  • 这是类找不到,R 被proguard 干掉了的问题。此回答来自钉群mPaaS接入问题官方答疑【2群】。

    2024-01-18 08:54:12
    赞同 展开评论 打赏
来源圈子
更多
收录在圈子:
问答排行榜
最热
最新

相关电子书

更多
mPaaS 小程序重磅发布 立即下载
金融专场-新一代移动研发平台mPaaS智能化实践-付海涛 立即下载
mPaaS 小程序新品发布 立即下载