CH340 安卓jar包報(bào)錯(cuò)問(wèn)題反饋

CH34XUARTDriver.jar 這個(gè)jar包在sdk 34平臺(tái)運(yùn)行會(huì)有runtime異常crash

Caused by: java.lang.SecurityException:

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts


拋出點(diǎn)在WCHUARTManager.getInstance()實(shí)例的init方法

查了下原因,應(yīng)該是android.content.ContextWrapper.registerReceiver的方法調(diào)用時(shí)需要加上參數(shù)Context.RECEIVER_EXPORTED


版主確認(rèn)下,看能否修復(fù)下這個(gè)問(wèn)題

您好,官網(wǎng)上的資料還沒(méi)有適配Android 14,麻煩發(fā)郵件至tech@wch.cn獲取最新的jar包資料。


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频