HeartBeat icon indicating copy to clipboard operation
HeartBeat copied to clipboard

Not able to run the app from Android Studio

Open pradeep-orbi opened this issue 3 years ago • 2 comments

Is it possible to open this project in android studio and run the app ?

When i tried to open this project in android studio, gradle sync is failing and also i got a warning as Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.

I'm using Android Studio Version 4.2 Beta4

pradeep-orbi avatar Apr 04 '21 12:04 pradeep-orbi

I didn't try it for a while, and had the same warning, indeed. This StackOverflow answer helped - it requires the command-line tools, and accepts all the licenses:

yes | sdkmanager --licenses --sdk_root=~/Android/Sdk/

Some fine-tuning might be needed – on Windows, yes is probably unavailable, and the SDK root may be on a different location. Did this help?

berdosi avatar Apr 10 '21 21:04 berdosi

I assume this can be closed. I was able to run this on Linux with the below build without any additional configuration. Android Studio Arctic Fox | 2020.3.1 Build #AI-203.7717.56.2031.7583922, built on July 26, 2021

dreamsyntax avatar Aug 18 '21 21:08 dreamsyntax