Yes, I tried that, but that didn't work also. Fortunately I found the issue, I was looking in the wrong place, I had downloaded sdk version 30 from Android Studio, but the project was using sdk version 28.
I downloaded the SDK version 28 also and then it worked fine.
Thanks
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
what if you try opening the sdk manager GUI and accept manually?
Yes, I tried that, but that didn't work also. Fortunately I found the issue, I was looking in the wrong place, I had downloaded sdk version 30 from Android Studio, but the project was using sdk version 28.
I downloaded the SDK version 28 also and then it worked fine.
Thanks