Refusing to reopen boot DEX '/system/framework/hwframework.jar' 是否是华为手机独有的?

李子276 2016-12-04 08:28:23
同一个程序在两个手机上测试一个是金立s6,一个是华为U9508 在金立的手机上测试没有问题,然而在华为手机上测试就出现异常,返现安装程序的时候就出现了错误,提示信息如下:

12-04 08:14:30.293 31730-31730/? D/dalvikvm: Late-enabling CheckJNI
12-04 08:14:30.449 31730-31730/com.example.wei.myphone E/Trace: error opening trace file: No such file or directory (2)
12-04 08:14:30.496 31730-31730/com.example.wei.myphone W/dalvikvm: Refusing to reopen boot DEX '/system/framework/hwframework.jar'
12-04 08:14:30.526 31730-31730/com.example.wei.myphone I/dalvikvm: Could not find method android.app.Application.registerOnProvideAssistDataListener, referenced from method com.android.tools.fd.runtime.BootstrapApplication.registerOnProvideAssistDataListener
12-04 08:14:30.526 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve virtual method 259: Landroid/app/Application;.registerOnProvideAssistDataListener (Landroid/app/Application$OnProvideAssistDataListener;)V
12-04 08:14:30.526 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
12-04 08:14:30.529 31730-31730/com.example.wei.myphone I/dalvikvm: Could not find method android.app.Application.unregisterOnProvideAssistDataListener, referenced from method com.android.tools.fd.runtime.BootstrapApplication.unregisterOnProvideAssistDataListener
12-04 08:14:30.529 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve virtual method 262: Landroid/app/Application;.unregisterOnProvideAssistDataListener (Landroid/app/Application$OnProvideAssistDataListener;)V
12-04 08:14:30.529 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
12-04 08:14:30.529 31730-31730/com.example.wei.myphone I/InstantRun: Instant Run Runtime started. Android package is com.example.wei.myphone, real application class is null.
12-04 08:14:30.533 31730-31730/com.example.wei.myphone E/InstantRun: Could not find slices in APK; aborting.
12-04 08:14:30.533 31730-31730/com.example.wei.myphone W/InstantRun: No instant run dex files added to classpath
12-04 08:14:30.539 31730-31730/com.example.wei.myphone E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources
12-04 08:14:30.539 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve check-cast 1828 (Landroid/util/ArrayMap;) in Lcom/android/tools/fd/runtime/MonkeyPatcher;
12-04 08:14:30.539 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x1f at 0x025e
12-04 08:14:30.543 31730-31730/com.example.wei.myphone E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.pruneResourceCache
12-04 08:14:30.543 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve const-class 1828 (Landroid/util/ArrayMap;) in Lcom/android/tools/fd/runtime/MonkeyPatcher;
12-04 08:14:30.543 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x1c at 0x0060
12-04 08:14:30.843 31730-31730/com.example.wei.myphone E/dalvikvm: Could not find class 'android.telecom.TelecomManager', referenced from method com.example.wei.myphone.StartPage.isMultiSim
12-04 08:14:30.843 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve check-cast 1790 (Landroid/telecom/TelecomManager;) in Lcom/example/wei/myphone/StartPage;
12-04 08:14:30.843 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x1f at 0x0020
12-04 08:14:30.846 31730-31730/com.example.wei.myphone E/dalvikvm: Could not find class 'android.telecom.TelecomManager', referenced from method com.example.wei.myphone.StartPage.call
12-04 08:14:30.846 31730-31730/com.example.wei.myphone W/dalvikvm: VFY: unable to resolve check-cast 1790 (Landroid/telecom/TelecomManager;) in Lcom/example/wei/myphone/StartPage;
12-04 08:14:30.846 31730-31730/com.example.wei.myphone D/dalvikvm: VFY: replacing opcode 0x1f at 0x0026
12-04 08:14:30.996 31730-31730/com.example.wei.myphone W/System.err: Invalid int: ""
12-04 08:14:31.299 31730-31730/com.example.wei.myphone D/libEGL: loaded /system/lib/egl/libEGL_VIVANTE.so
12-04 08:14:31.329 31730-31730/com.example.wei.myphone D/libEGL: loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
12-04 08:14:31.336 31730-31730/com.example.wei.myphone D/libEGL: loaded /system/lib/egl/libGLESv2_VIVANTE.so
12-04 08:14:31.429 31730-31730/com.example.wei.myphone D/OpenGLRenderer: Enabling debug mode 0
12-04 08:16:53.608 31730-31730/com.example.wei.myphone D/AndroidRuntime: Shutting down VM
12-04 08:16:53.608 31730-31730/com.example.wei.myphone W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41b142a0)
12-04 08:16:53.615 31730-31730/com.example.wei.myphone E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: android.telecom.TelecomManager
at com.example.wei.myphone.StartPage.isMultiSim(StartPage.java:261)
at com.example.wei.myphone.StartPage$7.onClick(StartPage.java:154)
at android.view.View.performClick(View.java:4084)
at android.view.View$PerformClick.run(View.java:16976)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4777)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:764)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:531)
at dalvik.system.NativeStart.main(Native Method)
12-04 08:21:53.719 31730-31730/com.example.wei.myphone I/Process: Sending signal. PID: 31730 SIG: 9
...全文
399 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
李子276 2016-12-04
  • 打赏
  • 举报
回复
谁能够解决这个问题,这100分全是他的

80,359

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧