Android: Difference between revisions
imported>Makefu No edit summary |
imported>Makefu No edit summary |
||
Line 1: | Line 1: | ||
=== Connecting Android device === | === Connecting Android device === | ||
... | <syntaxhighlight lang=console> | ||
$ nix-shell -p androidenv.platformTools | |||
% adb connect 192.168.1.10 | |||
% adb shell | |||
</syntaxhighlight> | |||
=== Building Android apps using Nix === | === Building Android apps using Nix === | ||
Line 63: | Line 67: | ||
[https://nixos.org/nix-dev/2015-April/016881.html Source] | [https://nixos.org/nix-dev/2015-April/016881.html Source] | ||
== Using the nixpkgs androidenv == | |||
User Sander van der Burg created two awesome blog posts as well as a number of test cases usable as examples on how to use the nixpkgs androidenv and the emulator provideded: | |||
# [https://sandervanderburg.blogspot.de/2012/11/building-android-applications-with-nix.html Building Android applications with the Nix package manager ] | |||
# [https://sandervanderburg.blogspot.de/2012/11/building-android-applications-with-nix.html Reproducing Android app deployments (or playing Angry Birds on NixOS)] | |||
# [https://github.com/svanderburg/nix-androidenvtests A set of androidenv test cases] |