-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The release package failed on Android #5038
Comments
This bug seems to be encountered as well, but I'm not sure if it's the same issue. Because I removed all the |
Fixed here: 22dfb14 |
@Junzz0 I don't understand why you added the comment here. Did your build fail with the same log? |
Anyway, this was fixed in #5076 as well |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
Using 1.7.0-dev1698 to release the release package on Android failed,
With 1.6.11, you can successfully release the Android release package.
buildTypes == debug
The packaging will succeed
buildTypes == release
A problem was found with the configuration of task ':composeApp:generateReleaseLintVitalReportModel' (type 'LintModelWriterTask').
Gradle detected a problem with the following location: '/composeApp/build/generated/assets/releaseAssetsCopyForAGP'.
Reason: Task ':composeApp:generateReleaseLintVitalReportModel' uses this output of task ':composeApp:releaseAssetsCopyForAGP' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Affected platforms
Versions
To Reproduce
Publish an Android release package.
Expected behavior
A release package for Android has been successfully released
Screenshots
Additional context
If you use dependencyGuard, it will report a missing releaseRuntimeClasspath
dependencyGuard {
configuration("debugAndroidTestCompileClasspath")
configuration("debugAndroidTestRuntimeClasspath")
configuration("debugCompileClasspath")
configuration("debugRuntimeClasspath")
configuration("debugUnitTestCompileClasspath")
configuration("debugUnitTestRuntimeClasspath")
configuration("desktopCompileClasspath")
configuration("desktopRuntimeClasspath")
configuration("desktopTestCompileClasspath")
configuration("desktopTestRuntimeClasspath")
configuration("metadataCompileClasspath")
}
The text was updated successfully, but these errors were encountered: