Hello
I have been working with Processing 3.5.3 for a long time and developed several APPS for my smartphone using the ANDROID mode.
A few days ago, when I tried to compile a new Processing program, I got a lot of errors from the ANDROID compiler. Then I tried to load an exact program that I have working on my smartphone. It does not compile anymore, the compiler throwing the same lot of errors. Actually, i Got the same problem for any processing program.
Can anyone help with this issue please?
Thank you.
Here is just a sample of the messages:
"
Checking the license for package Android Emulator in C:\Users\mdnnv\Documents\Processing\android\sdk\licenses
Warning: License for package Android Emulator not accepted.
Checking the license for package Android SDK Tools in C:\Users\mdnnv\Documents\Processing\android\sdk\licenses
Warning: License for package Android SDK Tools not accepted.
Checking the license for package Android SDK Build-Tools 29.0.2 in C:\Users\mdnnv\Documents\Processing\android\sdk\licenses
Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’.
Failed to install the following Android SDK packages as some licences have not been accepted.
emulator Android Emulator
tools Android SDK Tools
build-tools;29.0.2 Android SDK Build-Tools 29.0.2
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see Sign in - Google Accounts
Using Android SDK: C:\Users\mdnnv\Documents\Processing\android\sdk
-
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 774ms
org.gradle.tooling.BuildException: Could not execute build using connection to Gradle distribution ‘https://services.gradle.org/distributions/gradle-6.8.3-bin.zip’.
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:43)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:69)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:748)
…
"