Skip to content

shegeley/gundroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Gundroid = Guix + Android ♥

Desciption

This channel contains: cli-tools, emulator and android-studio.

Originally took Android Studio launching example from Julien Lepiller (@roptat) blogpost. You can also take a look on his guix-android channel.

Setting everything up to run Android Emulator (without Android Studio)

Before lauching the emulator the followings needs to be properly packed (patchelf’ed) and expose proper binaries:

  • [X] cli-tools (apkanalyzer, avdmanager, lint, retrace, sdkmanager)
  • [X] emulator (emulator, mksdcard)
  • [ ] build-tools (aapt2, apksigner, zipalign)
  • [ ] platform-tools (adb, etc1tool, fastboot, logcat)

(see (1) as reference)

Even having it packed propely emulator won’t work, because it would expect envvar ANDROID_HOME set propely and the content of this directory to replicate exact file-system structure (from (1)):

  • commandline tools bins: cmdline-tools/version/bin/
  • build tools bins: build-tools/version
  • emulator’s bins: emulator
  • platform-tools bins: platform-tools

This can be done by creating guix service after packing all them propely.

Launching Android Studio

Android studio is packaged via (nonguix multiarch-container) same as steam in nonguix.

Install via: guix package -L src -f src/gundroid/studio.scm. Then you can run it with android-studio command.

You can run emulator from it.

Don’t forget to add libvrt-service-type to your’s system config and set the virtualization option ON in bios to access emulator from Android Studio.

Nonfree software warning

This channels includes nonfree software!

Please do NOT promote this repository on any official Guix communication channels, such as their mailing lists or IRC channel, even in response to support requests! This is to show respect for the Guix project’s strict policy against recommending nonfree software, and to avoid any unnecessary hostility.

Legal notices

Android legal notice

About

Android tools packages in Guix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published