Home > OS >  getting error: compileDebugJavaWithJavac' has completed is not supported in android studio, how
getting error: compileDebugJavaWithJavac' has completed is not supported in android studio, how

Time:01-17

i have recently upgraded my project to

distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip

and for

compileSdkVersion 33
targetSdkVersion 33

ever since then i'm heaving build issues, with general building error the current after adding every flag i could think about is saying

consumer-lib:compileDebugJavaWithJavac' has completed is not supported

i tried invalidating cash and restart, cleaning the project and every other idea i could think about

is there anything else i could try to resolve this ? do you know what went wrong there better ?

CodePudding user response:

Try to upgrade buildToolsVersion to "33.0.1". Also as of now I prefer using distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip.

CodePudding user response:

As a lead for further investigation, the common link on other threads on this error message seems to be version incompatibility: example: https://stackoverflow.com/a/68089083/7632432 or https://github.com/tensorflow/tensorflow/issues/55485#issuecomment-1097311224

It seems like you have set the versions explicitly to a supported configuration, but would be tempted to recreate the project (sounds like you may have done this) or experiment with changing the versions slightly to try to get a different output.

  • Related