把新设备的 esim 管理套件(例如 motox40 海外版移植到 motox30pro )搞定了 80% 能打开 ui 系统识别 esim 卡 只剩下遇到了一个问题
getEuiccChallenge callback onException:
com.android.internal.telephony.uicc.euicc.EuiccCardException: Cannot send APDU.
Caused by: com.android.internal.telephony.uicc.euicc.apdu.ApduException: Failed to open logical channel opened for AID: A0000005591010FFFFFFFF8900000100, with status: 3 (apduStatus=0)
查代码是代码 3 意味着没有元件或者 aid ??? 怪 卡是 st33 测试卡
public static final int STATUS_NO_SUCH_ELEMENT = 3;
STATUS_NO_SUCH_ELEMENT: AID not found on UICC.
https://cs.android.com/android/platform/superproject/+/master:frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.java