We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好,我们项目集成了这个sdk,线上收集到的一些错误,想问下作者这些错误的原因以及有没有处理这些错误建议来提高oaid的获取率。
错误1: onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: java.lang.SecurityException: Package (此处是我们app的包名) does not belong to 10382
错误2: onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: Service binding failed
错误3: onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: OAID query failed: null
The text was updated successfully, but these errors were encountered:
错误1不太清楚,错误2是因为厂商的远程接口(AIDL)的Service绑定失败,错误3是因为调用厂商的OAID获取方式失败,小概率出现的话也许是正常现象,大概率出现的话就看下是什么厂商的手机、记录下错误的详细堆栈辅助分析。
错误2相关源码:
// OAIDService.java boolean ret = context.bindService(intent, this, Context.BIND_AUTO_CREATE); if (!ret) { throw new OAIDException("Service binding failed"); }
错误3相关源码:
// NubiaImpl.java if (oaid == null || oaid.length() == 0) { throw new OAIDException("OAID query failed: " + bundle.getString("message")); }
Sorry, something went wrong.
No branches or pull requests
你好,我们项目集成了这个sdk,线上收集到的一些错误,想问下作者这些错误的原因以及有没有处理这些错误建议来提高oaid的获取率。
错误1:
onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: java.lang.SecurityException: Package (此处是我们app的包名) does not belong to 10382
错误2:
onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: Service binding failed
错误3:
onOAIDGetError回调方法返回的错误:com.github.gzuliyujiang.oaid.OAIDException: OAID query failed: null
The text was updated successfully, but these errors were encountered: