Ondrej Rafaj
Ondrej Rafaj

Reputation: 4417

How to install Android command line tools on linux server (Ubuntu)

I need apkanalyzer for my server application running in Docker. Does anyone know how to get the apkanalyzer without the GUI based Android Studio? If so, how can I install it please, is there any apt-get type way of getting it?

Upvotes: 1

Views: 2934

Answers (1)

Sayan Roy
Sayan Roy

Reputation: 144

Download the linux distribution of command line tools from here

Download Android official command line tools

Then upload it to your server and extract the zip file then open tools/bin/ folder of extracted file

cd <extracted-folder>/tools/bin/

Now run

sudo ./apkanalyzer [global-options] subject verb [options] apk-file [apk-file2]

Upvotes: 3

Related Questions