Compiling fails Gradle Error

Please post anything related to the Hollywood APK Compiler here
Post Reply
LarsB
Posts: 83
Joined: Sat May 06, 2017 4:37 pm

Compiling fails Gradle Error

Post by LarsB »

Hi,

I think, I have done everything whats described in the APK Compiler Setup. Now he complains that there are Gradle 9 features which are not included in the current Gradle Version.

Deprecated Gradle features where used in this build making it incompatible with gradle 9.0
Can help me?
plouf
Posts: 703
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Compiling fails Gradle Error

Post by plouf »

APK compiler 5, requires grandle 8.13 not 9, try with 8.13 first
Christos
LarsB
Posts: 83
Joined: Sat May 06, 2017 4:37 pm

Re: Compiling fails Gradle Error

Post by LarsB »

Did that
LarsB
Posts: 83
Joined: Sat May 06, 2017 4:37 pm

Re: Compiling fails Gradle Error

Post by LarsB »

Here is the compiler output:


[Incubating] Problems report is available at: file:///C:/Users/lbrae/AppData/Local/AirsoftSoftwair/APKCompiler/com.larsbraemer.tomsimbiss/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.13/userguide/ ... e_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 780ms
1 actionable task: 1 up-to-date
> Task :app:packageRelease FAILED

[Incubating] Problems report is available at: file:///C:/Users/lbrae/AppData/Local/AirsoftSoftwair/APKCompiler/com.larsbraemer.tomsimbiss/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> com.android.ide.common.signing.KeytoolException: Failed to read key hollywood from store "E:\PC alt\larsbraemer.keystore": No key with alias 'hollywood' found in keystore E:\PC alt\larsbraemer.keystore

* 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 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.13/userguide/ ... e_warnings in the Gradle documentation.

BUILD FAILED in 844ms
108 actionable tasks: 10 executed, 98 up-to-date
> Task :app:signReleaseBundle FAILED

[Incubating] Problems report is available at: file:///C:/Users/lbrae/AppData/Local/AirsoftSoftwair/APKCompiler/com.larsbraemer.tomsimbiss/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
> Failed to read key hollywood from store "E:\PC alt\larsbraemer.keystore": No key with alias 'hollywood' found in keystore E:\PC alt\larsbraemer.keystore

* 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 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.13/userguide/ ... e_warnings in the Gradle documentation.

BUILD FAILED in 781ms
100 actionable tasks: 10 executed, 90 up-to-date
Drücken Sie eine beliebige Taste . . .
plouf
Posts: 703
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Compiling fails Gradle Error

Post by plouf »

the output clearly states, that it cannot read your keystore file (or wrong password wahtever)

btw have you update SDK path and NDK path ? (ndk should poit to .... AppData\Local\Android\Sdk\ndk\29.0.142068650
Christos
LarsB
Posts: 83
Joined: Sat May 06, 2017 4:37 pm

Re: Compiling fails Gradle Error

Post by LarsB »

That was it. We solved it. I was distorted by the gradle 9.0 message.

Some remarks. It seems to be a smart move to put the hollywood 11 key to localapp. But its its a hidden folder. So it isnt.

The path described for the generation of the key doenst work. Its misleading. This should be a known issue. Modern Os do allow to write directly into c:

And Its is nice to be important. But its more important to be nice. Right?! :>

Salue,
Lars
plouf
Posts: 703
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Compiling fails Gradle Error

Post by plouf »

We are nice in hollywoodian community
Arent we ;-)
Christos
LarsB
Posts: 83
Joined: Sat May 06, 2017 4:37 pm

Re: Compiling fails Gradle Error

Post by LarsB »

:D
Post Reply