项目引入没有问题,一运行就出现这种错误,然后各种百度各种找问题,最后发现其实就是一个简单的小问题😂
直接上解决方案:
File->Project Structure->module->app->properties 如下图:
build tools version 选择低于31的
source compatibility、target compatibility 选择如图所示
点击apply->ok
到这里这个问题就解决了,项目完美运行。
项目引入没有问题,一运行就出现这种错误,然后各种百度各种找问题,最后发现其实就是一个简单的小问题😂
直接上解决方案:
File->Project Structure->module->app->properties 如下图:
build tools version 选择低于31的
source compatibility、target compatibility 选择如图所示
点击apply->ok
到这里这个问题就解决了,项目完美运行。