Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补丁包下app中build配置信息异常。 #259

Open
liu198754 opened this issue Dec 28, 2017 · 3 comments
Open

补丁包下app中build配置信息异常。 #259

liu198754 opened this issue Dec 28, 2017 · 3 comments

Comments

@liu198754
Copy link

在patch下android.os.Build类获取的信息异常。
BOARD:unknown
BOOTLOADER:unknown
BRAND:vivo
CPU_ABI:x86
CPU_ABI2:armeabi-v7a
DEVICE:PD1616
DISPLAY:vivo-userdebug 6.0.1 MOB31K eng.root.20171123.095810 test-keys
FINGERPRINT:vivo/vivo/PD1616:6.0.1/MOB31K/root11230959:userdebug/test-keys
HARDWARE:vivo
HOST:ubuntu
ID:MOB31K
IS_DEBUGGABLE:true
MANUFACTURER:unknown
我使用的是小米的设备,获取到的信息显示的是vivo,什么问题。。。

@liu198754
Copy link
Author

@JackCho

@liu198754
Copy link
Author

我再应用里使用了邮件,查询异常日志发现出现类型转换异常,
java.lang.ClassCastException: com.sun.mail.handlers.text_plain cannot be cast to javax.activation.DataContentHandler
具体是什么原因,如果不打补丁同样安装使用使没有问题的,打补丁后调用出现转换异常

@JackCho
Copy link
Contributor

JackCho commented Jan 2, 2018

@liu198754 如果你能提供一个能复现的demo和源码,不胜感激

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants