Skip to content
Advertisement

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’. having issue’s in Cordova

I always get these errors while building my Cordova project and i tried updating everything in SDK manager and acceppting all licenses but i still get these error’s. how can I fix this?

JavaScript

Advertisement

Answer

as the outpus sais, the Build Tools revision 31.0.0 is apparently corrupted. All you need to do is:

  1. Open Android Studio
  2. Go to Tools, SDK Manager
  3. On SDK Tools, click on Show Package details
  4. On Android SDK Build-Tools 31, uncheck the version 31.0.0 and check the 30.0.3
  5. Click on Apply, and it’ll install the version.

It should look something like this: Android Studio Screenshot

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement