luojilab / DataReporter

Real-time data reporting system based on mobile platform
MIT License
111 stars 46 forks source link

upload数据重复 #16

Open xfjxfj opened 2 years ago

xfjxfj commented 2 years ago

当本地多条数据上传失败后本地数据会重复 这个方法是转换成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.0com.iflytek.apm.java.xcrash/data/user/0/com.iflytek.apm/files/tombstones/tombstone_00001662382449409000_1.0com.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