excel-plus
excel-plus copied to clipboard
请问Android是否能使用
Android导入运行到asList();后面代码直接return了,不运行了
@Rianney 把你的代码发一下
File file = new File(path); List<ScoreEntity> entities = Reader.create(ScoreEntity.class) .from(file) .start(1) .asList();
public class ScoreEntity { @ExcelColumn(index = 0) private String className; @ExcelColumn(index = 1) private String studentNumber; @ExcelColumn(index = 2) private String studentName; @ExcelColumn(index = 3) private String courseName; @ExcelColumn(index = 4) private String scoreType; @ExcelColumn(index = 5) private String score; @ExcelColumn(index = 6) private String teacherName; @ExcelColumn(index = 7) private String termName;

Android的问题 java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/font/FontRenderContext;