Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with android sdk : Unable to compute a complete list of dependencies

I'm installing Flutter without installing Android Studio by following a youtube guide. and in there, first I install git then installed Flutter via, Git and then installed java and set up JAVA_HOME and other env variables. after that I installed Android SDK Tools and tried to run two of the commands:

[1] sdkmanager.bat "build-tools;28.0.3" --sdk_root=../

[2] sdkmanager.bat "platforms;android-30" --sdk_root=../

The first command sdkmanager.bat "build-tools;28.0.3" --sdk_root=../ returns the following error:

Warning: Dependant package with key emulator not found!
Warning: Unable to compute a complete list of dependencies.
[===                                    ] 10% Computing updates...

but the second one runs fine.

So please help me resolve the error for command [1]!

like image 810
Neophyte_Palaash Avatar asked Oct 21 '25 12:10

Neophyte_Palaash


1 Answers

You can try "build-tools;31.0.0" . I did and it worked for me.

like image 97
Ade Akintoye Avatar answered Oct 24 '25 04:10

Ade Akintoye



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!