我创建了一个带有Gboard贴纸的Android应用,该应用可在某些设备上运行,而在其他设备上则无法运行。
在Honor 10设备上,它可以按预期工作,而在小米Mi 9上,当我尝试在任何地方插入标签时,它将此错误打印到logcat:
04-26 20:52:57.650 2027 11006 W Glide : Load failed for android.resource://cz.chrastecky.chstickers/drawable/st002 with size [-2147483648x-2147483648]
04-26 20:52:57.650 2027 11006 W Glide : class axi: Failed to load resource
04-26 20:52:57.651 2027 2027 W Glide : Load failed for null with size [0x0]
04-26 20:52:57.651 2027 2027 W Glide : class axi: Received null model
04-26 20:52:57.653 2027 9448 W Image : Caught Error: likely due to not having both file formats
04-26 20:52:57.653 2027 9448 W Image : class axi: Failed to load resource
04-26 20:52:57.653 2027 9449 W Image : Caught Error: likely due to not having both file formats
04-26 20:52:57.653 2027 9449 W Image : class axi: Received null model
04-26 20:52:57.654 2027 2027 E ImageInsertTask: Failed to extract local cache file for android.resource://cz.chrastecky.chstickers/drawable/st002
我在Google上找不到任何有关此类错误的信息,请向我指出正确的方向。
根据评论中的要求进行更新:
荣誉10(有效)
9
8.1.7.241875604-release-arm64-v8a
Sticker: 79
StickerPack: 1
小米米9(无效)
9 PKQ1.181121.001
8.1.7.241875604-release-arm64-v8a
(与荣誉10相同)Sticker: 79
StickerPack: 1
根据一个用户的报告,它也不适用于三星的One UI
系统。