I made an applet which runs fine with the Hollywood player for Android, but when I try to compile it with the apk compiler I get the following error "Failed to notify project evaluation listener" and have no idea what it means or how to fix it:
The versions I have are:> Configure project :app
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-
bugs.html
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
* 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
BUILD FAILED in 2s
> Configure project :app
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-
bugs.html
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
* 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
BUILD FAILED in 1s
Press any key to continue . . .
APK compiler 2.4 (18.06.18)
Android studio 3.5.1 Build #AI-191.8026.42.35.5900203, built on September 25, 2019
JRE: 1.8.0_202-release-1483-b03 amd64
CMake 3.10
Gradle 5.6.2 and Gradle 5.4.1
Even though Android studio provided Gradle 5.4.1, the apk compiler was showing a requester saying that it couldn't find gradle when I clicked on "Compile APK", so I downloaded and extracted a fresh copy of gradle 5.6.2 into Android Studio\Gradle\ as that folder was empty, and finally it would start compiling but the terminal then gave me the error quoted above.
Any idea how to get past that error?
Thanks!