I downloaded from this page the file
commandlinetools-linux-9477386_latest.zip
I can't find there the android
command
for creating new projects from command line. I created a few small such projects about 10 years ago. Where is the android
command now? It was in the tools
directory before.
$ sdkmanager --list
[=======================================] 100% Computing updates...
Installed packages:
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;31.0.0 | 31.0.0 | Android SDK Build-Tools 31 | build-tools/31.0.0
platform-tools | 34.0.1 | Android SDK Platform-Tools | platform-tools
platforms;android-31 | 1 | Android SDK Platform 31 | platforms/android-31
sources;android-31 | 1 | Sources for Android 31 | sources/android-31
$ tree -L 5 -d src/
src/
└── Android
└── SDK
├── build-tools
│ └── 31.0.0
│ ├── lib
│ ├── lib64
│ ├── lld-bin
│ └── renderscript
├── cmdline-tools
│ ├── latest
│ │ ├── bin
│ │ └── lib
│ └── tools
│ ├── bin
│ └── lib
├── licenses
├── platforms
│ └── android-31
│ ├── data
│ ├── optional
│ ├── skins
│ └── templates
├── platform-tools
│ └── lib64
└── sources
└── android-31
├── android
├── androidx
├── benchmarks
├── com
├── java
├── javax
├── jdk
├── jsr166
├── junit
├── mypackage
├── org
├── perftests
└── tck