当前位置: 移动技术网 > IT编程>开发语言>Java > Idea Android开发项目常见异常 个人记录文档

Idea Android开发项目常见异常 个人记录文档

2020年09月28日  | 移动技术网IT编程  | 我要评论
1、Cannot start compilation: the output path is not specified for module "android". Specify the output path in the Project Structure dialog. (未设置文件输出路径导致)解决:进入 File - Project Stucture , 如下2、错误:Android源生成器:[Android] AndroidManifest.xml文件未找到(aError:A.

1、Cannot start compilation: the output path is not specified for module "android".  Specify the output path in the Project Structure dialog. (未设置文件输出路径导致)

解决:进入 File - Project Stucture , 如下

2、错误:Android源生成器:[Android] AndroidManifest.xml文件未找到(aError:Android Source Generator: [android] AndroidManifest.xml file not foun)

解决:通常为系统文件路径配置异常所致,进入 File - Project Stucture - Facets, 如下

3、Error:java: 无效的源发行版: 12

4、此处异常为本人导入项目的时候,选择的是整个项目文件夹

解决方案: SpringBoot打开项目,选择 build.gradle 文件导入

5、异常如下

解决方案:一下两处表标记红色一直即可,此时我的为 jdk8 和 8 - Lambdas, type annotations etc.

本文地址:https://blog.csdn.net/qq_32196629/article/details/108842441

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网