Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The subproject source code cannot be imported after Gradle's project is imported into IntelliJ.

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

In a Gradle project, there are several subprojects.

When Gradle arrives, child items cannot be recognized by IntelliJ.

The code shown in the figure below is not automatically recognized.

This may be because your child project has not been added to the parent project.

Try to include the project in the settings.gradle file.

If you are using a Java project

Then you may need to add the following to the build.gradle:

Subprojects {apply plugin: 'java'}

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report