Eduardo M KALINOWSKI (HE12025-05-20):
> You're really making your life much harder by not using Android Studio, but
> if you really want, here are some pointers (untested):

Making one's life harder on the short term by refusing to use an
all-integrated monster is usually a good investment.

> - The mentioned packages are available in unstable (and oldstable), but
> they're very old, so I wouldn't bother.
> - You can download the platform tools directly from
> https://developer.android.com/tools/releases/platform-tools , and from there
> download a SDK.

I have asked the help of an AI a month ago to let me compile a new
Android app on Debian with pure command line, these are the notes I
took:

sudo apt-get install google-android-cmdline-tools-19.0-installer 
google-android-emulator-installer
sdkmanager "platforms;android-34" "build-tools;34.0.0"
export ANDROID_HOME=/usr/lib/android-sdk
export 
PATH=$PATH:$ANDROID_HOME/cmdline-tools/5.0/bin:$ANDROID_HOME/platform-tools
sdkmanager "system-images;android-33;google_apis;x86_64"
avdmanager create avd -n Pixel_7A_x86_64 \
  -k "system-images;android-33;google_apis;x86_64" \
  -d pixel_7
emulator -avd Pixel_7A_x86_64 -no-boot-anim -gpu off

Regards,

-- 
  Nicolas George

Reply via email to