[espeak-ng:master] new issue: Android build fails #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by Matombo:
#931 Android build fails

Using Gradle 7.0:

[...]
cd android && gradle assembleRelease
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Failed to query the value of task ':compileReleaseJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
   > Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, /home/matombo/espeak-ng/android/build/generated/ap_generated_sources/release/out))) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@2f897d5e) before task ':compileReleaseJavaWithJavac' has completed is not supported

* 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 get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 777ms
9 actionable tasks: 9 up-to-date
make: *** [Makefile:3001: apk-release] Fehler 1

I'm thankfull for any ideas how the error can be fixed ^^