对于使用api 27
的项目,构建成功。移至api 28
后,出现以下错误。请您让我知道为什么在api 28
中发生这种情况以及我应该如何修复我的项目?
error: package junit.framework does not exist
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
error: cannot find symbol variable Assert
根据Android API Differences Report,从API 28开始删除junit.framework
程序包。