Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

50%
+0 −0
Q&A ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

ChromeOS Linux: Debian, how do I install Android SDK manager via command line? I wanted to try this repo https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer and I g...

1 answer  ·  posted 2mo ago by propatience‭  ·  last activity 2mo ago by propatience‭

#1: Initial revision by user avatar propatience‭ · 2024-03-12T16:11:37Z (2 months ago)
ChromeOS Linux: Debian, how do I install Android SDK manager via command line?
ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

I wanted to try this repo <https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer> and I got pretty far by doing this:
```
sudo apt install openjdk-17-jdk
sudo apt install kotlin
sudo apt install android-sdk
export ANDROID_HOME=/usr/lib/android-sdk
git clone https://github.com/JetBrains/compose-multiplatform.git
cd examples/imageviewer
./gradlew build
```

Also tried running `sudo apt install android-sdk-platform-23` but it did not work.

Then I got the error `You have not accepted the license agreements of the following SDK components` so the error message said I should execute `./sdkmanager.bat --licenses` which is `./sdkmanager --licences` on Linux.

So how should I install `sdkmanager` on Debian?
  
**CONTRIBUTING.md**  
AndroidTools - Debian Wiki,  
thank you HansChrisophSteiner et al,  
<https://wiki.debian.org/AndroidTools>  
  
You have not accepted the license agreements of the following SDK components [duplicate],  
thank you Hugo,  
<https://stackoverflow.com/a/43003932>