我已经在华为应用市场发布了应用程序。该应用程序是付费的,受华为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 是否发生了什么事?版本是否已更改?
谢谢
我想在华为应用库发布付费应用 我无法制作 drm sdk