Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Resources]Support multiple modules #4301

Closed
hellomr3 opened this issue Feb 14, 2024 · 3 comments
Closed

[Resources]Support multiple modules #4301

hellomr3 opened this issue Feb 14, 2024 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists enhancement New feature or request resources

Comments

@hellomr3
Copy link

Describe the problem
Explain the performance issue you're experiencing, including the following details:
if (typeString == "values" && file.name.equals("strings.xml", true)) { val stringIds = getStringIds(file) return stringIds.map { strId -> ResourceItem(ResourceType.STRING, qualifiers, strId.asUnderscoredIdentifier(), path) } }
there force string named 'strings' limit multiple sub modules ,if all named "strings.xml" led to "mergeDebugJavaResource error".is there any optimization name rule,example end of "strings" to avoid this ?

  • What specific issue did you encounter? (e.g. missing frames, high CPU usage, memory leaks)
  • Have you noticed any patterns or specific circumstances under which the problem occurs?

Affected platforms
Select one of the platforms below:

  • All
  • Desktop
  • Web (K/Wasm) - Canvas based API
  • Web (K/JS) - Canvas based API
  • Web (K/JS) - HTML library
  • iOS
  • Other

If the problem is Android-only, report it in the Jetpack Compose tracker

Versions

  • Kotlin version:
  • Compose Multiplatform version: 1.6.0-rc01
  • OS version(s) (required for Desktop and iOS issues):
  • OS architecture (x86 or arm64):
  • JDK (for desktop issues):

Sample code
If possible, provide a small piece of code that reproduces the problem. If the code snippet is too large to paste here, please link to a Gist, a GitHub repo, or any other public code repository.

Reproduction steps
Please provide a detailed step-by-step guide on how to reproduce the issue you are experiencing.

Video
If you're reporting slow app work or missing frames, please provide a video of the problem.

Profiling data
Please provide any relevant profiling data that might be helpful. This could include information like FPS, memory usage, CPU time, or any other data that could provide insight into the performance issue.

Additional information
Provide any other details that you think might be helpful for us to understand the problem. This could include things like the system configuration, external factors, etc.

@hellomr3
Copy link
Author

image Although this can avoid detection

@terrakok terrakok self-assigned this Feb 15, 2024
@terrakok terrakok added enhancement New feature or request resources and removed performance submitted labels Feb 15, 2024
@MatkovIvan
Copy link
Member

Tracking multi-modules support request here: #4229

@MatkovIvan MatkovIvan added the duplicate This issue or pull request already exists label Mar 4, 2024
@okushnikov
Copy link
Collaborator

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request resources
Projects
None yet
Development

No branches or pull requests

4 participants