Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Unable to parse secondary library #1491

Closed
2 tasks done
chengzhuangjie opened this issue Nov 23, 2023 · 6 comments
Closed
2 tasks done

Unable to parse secondary library #1491

chengzhuangjie opened this issue Nov 23, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@chengzhuangjie
Copy link

What happened?

rootProject.name = "bbs"
include ':app'
include ':library:base'
include ':library:widget'
include ':library:dkplayer-ui'
include ':library:dkplayer-java'

What's the expected behavior?

Unable to parse secondary library

What version of AndroidIDE you're using?

v2.6.0 (debug builds)

Relevant log output

No response

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@chengzhuangjie chengzhuangjie added the bug Something isn't working label Nov 23, 2023
@itsaky
Copy link
Member

itsaky commented Nov 23, 2023

Need more explanation on this. Why do you mean by "parse" and "secondary library"? And what's the exact issue you're facing?

@chengzhuangjie
Copy link
Author

对此需要更多解释。为什么你说“解析”和“辅助库”?您面临的具体问题是什么?

rootProject.name = "bbs"
include ':app'
include ':library:base'
include ':library:widget'
include ':library:dkplayer-ui'
include ':library:dkplayer-java'

二级目录无法使用

@itsaky
Copy link
Member

itsaky commented Nov 23, 2023

Please use a translator. I do not speak Chinese.

@chengzhuangjie
Copy link
Author

请使用翻译器。我不说中文。

请使用翻译器。我不说中文。

settings.gradle
include ':library:base'
include ':library:widget'
include ':library:dkplayer-ui'
include ':library:dkplayer-java'

Unable to construct, project is pulled from Android Studio dropdown

@itsaky
Copy link
Member

itsaky commented Nov 23, 2023

Okay, so what's the error? Can you provide the build output and IDE logs?

@itsaky
Copy link
Member

itsaky commented Nov 24, 2023

I think the issue is with the AndroidIDE's init-script plugin which tries to add dependencies to all sub-projects without considering whether the project is a real project (has a build script).

I'll test if this is correct and patch the bug ASAP.

@itsaky itsaky closed this as completed in f40593a Nov 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants