有关app在不同手机的兼容问题



  • lx5206这个模块,app在联想手机能用,但华为的始终连不上



  • @Heisenberg 是最新的APP吗,华为手机的型号和系统版本是什么,能否留下?
    是安卓7.0的系统吗



  • @lampo 我测试过安卓7.0 是OK的呀。 会不会是APP 没有声音的权限呢?



  • @lampo 是华为mate8型号NXT_AL10,android6.0,也用过mate9,荣耀8的试过也不行,总是退回重连的界面,不过app我们改过,但联想手机能用,lenovo k31-t3,android5.0.2



  • @steven 开启声音权限是必要的么,但联想的手机就ok



  • @Heisenberg
    是用RAKVIDEO测试的还是你们自己改后的APP测试的?你可以先用RAKVIDEO测试下看是否正常,如果RAKVIDEO正常,把android targetsdkversion调低至22就可以了



  • @lampo 调到22还是不行



  • @lampo 03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x6f at 0x0d8a
    03-17 10:21:30.813 23504-23504/com.example.jean.paper E/dalvikvm: Could not find class 'android.app.assist.AssistContent', referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve check-cast 52 (Landroid/app/assist/AssistContent;) in Lcom/example/jean7ideo/Select;
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x1f at 0x0de2
    03-17 10:21:30.813 23504-23504/com.example.jean.paper I/dalvikvm: Could not find method android.app.Activity.finishAfterTransition, referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve virtual method 43: Landroid/app/Activity;.finishAfterTransition ()V
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e06
    03-17 10:21:30.813 23504-23504/com.example.jean.paper I/dalvikvm: Could not find method android.app.Activity.getContentScene, referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve virtual method 53: Landroid/app/Activity;.getContentScene ()Landroid/transition/Scene;
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e0c
    03-17 10:21:30.813 23504-23504/com.example.jean.paper E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve check-cast 1811 (Landroid7iew/SearchEvent;) in Lcom/example/jean7ideo/Select;
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x1f at 0x0f3b
    03-17 10:21:30.813 23504-23504/com.example.jean.paper I/dalvikvm: Could not find method android.app.Activity.startLockTask, referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve virtual method 247: Landroid/app/Activity;.startLockTask ()V
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x6f at 0x101b
    03-17 10:21:30.813 23504-23504/com.example.jean.paper I/dalvikvm: Could not find method android.content.ContextWrapper.checkSelfPermission, referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve virtual method 531: Landroid/content/ContextWrapper;.checkSelfPermission (Ljava/lang/String;)I
    03-17 10:21:30.813 23504-23504/com.example.jean.paper D/dalvikvm: VFY: replacing opcode 0x6f at 0x108e
    03-17 10:21:30.813 23504-23504/com.example.jean.paper E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.jean.video.Select.access$super
    03-17 10:21:30.813 23504-23504/com.example.jean.paper W/dalvikvm: VFY: unable to resolve check-cast 258 (Landroid/os/PersistableBundle;) in Lcom/example/jean7ideo/Select;



  • @Heisenberg 提供完整的log信息,上传文件附件的这样一点log比较难看出问题的。



  • @Heisenberg 这些log里面看不出来原因,能否提供完整的Log?或者你的工程发我邮箱试试,我邮箱:jean.qu@rakwireless.com



  • @Jean 哥们,工程有点大,方便加你qq么



  • QQ:798133004



  • @Jean 谢谢


登录后回复
 

与 RAK支持中心 的连接断开,我们正在尝试重连,请耐心等待