Skip to content
New issue

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

upload数据重复 #16

Open
xfjxfj opened this issue Sep 5, 2022 · 0 comments
Open

upload数据重复 #16

xfjxfj opened this issue Sep 5, 2022 · 0 comments

Comments

@xfjxfj
Copy link

xfjxfj commented Sep 5, 2022

当本地多条数据上传失败后本地数据会重复
这个方法是转换成STring
private String getDataToString(byte[][] data) {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try {
for (int i = 0; i < data.length; i++) {
if (data[i] != null) {
out.write(data[i]);
}
}
out.close();
} catch (Exception e) {

            }

多条数据上传失败后,数据重复
数据监听_DataReporter获取地址: /data/user/0/com.iflytek.apm/files/tombstones/tombstone_00001662382446920000_1.0__com.iflytek.apm.java.xcrash/data/user/0/com.iflytek.apm/files/tombstones/tombstone_00001662382449409000_1.0__com.iflytek.apm.java.xcrash/data/user/0/com.iflytek.apm/files/tombstones/tombstone_00001662382452176000_1.0__com.iflytek.apm.java.xcrash/data/user/0/com.iflytek.apm/files/tombstones/Martix_exception1662382457344.txt/data/user/0/com.iflytek.apm/files/tombstones/Martix_exception1662382460344.txt

正常数据为:/data/user/0/com.iflytek.apm/files/tombstones/Martix_exception1662383143151.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant