我有和应用发布在华为应用市场。该应用程序是付费的,受华为 DRM SDK 保护,即使是华为 DRM SDK,一切正常。
但是我现在想启动一个新版本的应用程序,但是我收到了这个错误:
2020-06-19 15:11:16.797 17128-17128/com.aquainfo.huawei E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.aquainfo.huawei, PID: 17128
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.aquainfo.huawei/com.huawei.android.sdk.drm.DrmDialogActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3430)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:86)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Resources.java:430)
at android.content.res.HwResources.getText(HwResources.java:463)
at android.content.res.Resources.getString(Resources.java:523)
at android.content.Context.getString(Context.java:582)
at com.huawei.android.sdk.drm.j.a(Unknown Source:124)
at com.huawei.android.sdk.drm.DrmDialogActivity.onCreate(Unknown Source:143)
at android.app.Activity.performCreate(Activity.java:7458)
at android.app.Activity.performCreate(Activity.java:7448)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1286)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3409)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:86)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
基于这条线com.huawei.android.sdk.drm.DrmDialogActivity}
,我认为问题出在华为 SDK 上,但到目前为止它与 DRM SDK 配合得很好。
我的 DRM sdk 版本是 2.5.2.300。那个SDK有什么问题吗?版本更新了?
谢谢