Failed to build #1

Closed
opened 2026-02-28 11:48:13 +00:00 by majjo · 0 comments
Owner

Description

Unable to build the app using ./gradlew assembleRelease

Error from console:

> Task :native:compileReleaseJavaWithJavac FAILED

4 problems were found storing the configuration cache, 3 of which seem unique.
- Settings file 'settings.gradle.kts': external process started '/home/majjo/Desktop/XSnap/.gradle/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses'
  See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:external_processes
- Settings file 'settings.gradle.kts': external process started '/home/majjo/Desktop/XSnap/.gradle/android-sdk/cmdline-tools/latest/bin/sdkmanager platform-tools platforms;android-36 build-tools;36.0.0 ndk;28.2.13676358'
  See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:external_processes
- Task `:native:syncNativeArm64V8a` of type `org.gradle.api.DefaultTask`: invocation of 'Task.project' at execution time is unsupported with the configuration cache.
  See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///home/majjo/Desktop/XSnap/build/reports/configuration-cache/cg553imfs3eiml0wxloxzf3ow/7a42phxjdnncghsbs9fn5zhym/configuration-cache-report.html

[Incubating] Problems report is available at: file:///home/majjo/Desktop/XSnap/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':native:compileReleaseJavaWithJavac'.
> Java compilation initialization error
    error: invalid source release: 21

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 6m 58s
220 actionable tasks: 220 executed
Configuration cache entry stored with 4 problems.

Reproduction steps

..

Logs

No response

Snapchat Version

latest

SnapEnhance Version

latest

Agreement

  • This is not a bug regarding Snapchat+.
  • I am using a debug version of SnapEnhance.
  • I have provided a detailed description of the issue.
  • I have attached a log if deemed necessary.
  • This issue is not a duplicate.
### Description Unable to build the app using `./gradlew assembleRelease` Error from console: ``` > Task :native:compileReleaseJavaWithJavac FAILED 4 problems were found storing the configuration cache, 3 of which seem unique. - Settings file 'settings.gradle.kts': external process started '/home/majjo/Desktop/XSnap/.gradle/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses' See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:external_processes - Settings file 'settings.gradle.kts': external process started '/home/majjo/Desktop/XSnap/.gradle/android-sdk/cmdline-tools/latest/bin/sdkmanager platform-tools platforms;android-36 build-tools;36.0.0 ndk;28.2.13676358' See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:external_processes - Task `:native:syncNativeArm64V8a` of type `org.gradle.api.DefaultTask`: invocation of 'Task.project' at execution time is unsupported with the configuration cache. See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:use_project_during_execution See the complete report at file:///home/majjo/Desktop/XSnap/build/reports/configuration-cache/cg553imfs3eiml0wxloxzf3ow/7a42phxjdnncghsbs9fn5zhym/configuration-cache-report.html [Incubating] Problems report is available at: file:///home/majjo/Desktop/XSnap/build/reports/problems/problems-report.html FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':native:compileReleaseJavaWithJavac'. > Java compilation initialization error error: invalid source release: 21 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to generate a Build Scan (Powered by Develocity). > Get more help at https://help.gradle.org. BUILD FAILED in 6m 58s 220 actionable tasks: 220 executed Configuration cache entry stored with 4 problems. ``` ### Reproduction steps .. ### Logs _No response_ ### Snapchat Version latest ### SnapEnhance Version latest ### Agreement - [ ] This is not a bug regarding Snapchat+. - [ ] I am using a debug version of SnapEnhance. - [ ] I have provided a detailed description of the issue. - [ ] I have attached a log if deemed necessary. - [ ] This issue is not a duplicate.
majjo added reference dev 2026-02-28 11:48:44 +00:00
majjo closed this issue 2026-03-07 13:53:20 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: majjo/XSnap#1