需修改的类:pdr.jar\io\dcloud\common\adapter\util\PlatformUtil.class
具体方法请参见:解决 Android N 7.0 上 报错:android.os.FileUriExposedException
另外调试中还发现一个问题:
** PLEASE READ ****
- New versions of the Android SDK no longer support the Crypto provider.
- If your app was relying on setSeed() to derive keys from strings, you
- should switch to using SecretKeySpec to load raw key bytes directly OR
- use a real key derivation function (KDF). See advice here :
-
http://android-developers.blogspot.com/2016/06/security-crypto-provider-deprecated-in.html
此问题的解决请参见:Android:7.0 后加密库 Crypto 被废弃后的爬坑指南
需修改的类:pdr.jar\io\dcloud\common\adapter\util\DCloudTrustManager.class
希望dcloud团队能更新此类问题
3 个评论
要回复文章请先登录或注册
willKing
3***@qq.com
Lspring