新建一个Gradle项目 填写项目信息包括groupId(项目包名),artifactId(项目名称)。然后配置Gradle 其中第二项最好勾选上,它能帮你自动创建好相应目录结构。
基于14个网页-相关网页
这样也遵循了“主”包名和项目名相同这个惯例。
Plus, that adheres to the convention that the main package is named the same as the project.
这些项目起的名字用以匹配相应的包名。
These projects are named to match the corresponding package names.
确认代码中的包名、类名以及类构造函数名都已改为与项目名一致。
Be sure to change the package, class, and constructor names in the Java code to match the project name.
应用推荐