Oleks 3319749c0d justfile: add install-tv for Chromecast with Google TV (network adb over WiFi)
Adds an adb variable (from nixpkgs android-tools), an install-tv <ip> recipe
that adb-connects to :5555 and installs the debug APK, and tv-disconnect.
2026-05-29 18:20:28 +03:00
2024-02-27 22:45:27 -06:00
2024-07-27 16:43:44 -05:00
2020-08-09 16:47:16 -07:00
2019-08-20 18:51:13 -07:00
2024-07-27 16:43:44 -05:00
2022-06-08 19:44:59 -05:00
2022-06-08 19:44:59 -05:00
2014-10-29 21:39:05 -07:00

Moonlight Android

AppVeyor Build Status Translation Status

Moonlight for Android is an open source client for NVIDIA GameStream and Sunshine.

Moonlight for Android will allow you to stream your full collection of games from your Windows PC to your Android device, whether in your own home or over the internet.

Moonlight also has a PC client and iOS/tvOS client.

You can follow development on our Discord server and help translate Moonlight into your language on Weblate.

Downloads

Building

  • Install Android Studio and the Android NDK
  • Run git submodule update --init --recursive from within moonlight-android/
  • In moonlight-android/, create a file called local.properties. Add an ndk.dir= property to the local.properties file and set it equal to your NDK directory.
  • Build the APK using Android Studio or gradle

Building with Nix

A flake.nix provides a reproducible dev environment and a fully hermetic debug-APK build (Android SDK 34, NDK 27.0.12077973, Gradle, JDK 17). All commands need ?submodules=1 so the moonlight-common-c + enet submodule sources are included in the build.

# Dev shell: ANDROID_HOME / ANDROID_NDK_ROOT / JAVA_HOME + gradle, then build by hand
nix develop '.?submodules=1'
./gradlew assembleNonRootDebug

# Hermetic, offline build of the nonRoot debug APK (output in ./result/)
nix build '.?submodules=1#moonlight-android'
ls result/app-nonRoot-debug.apk

Maven dependencies are pinned in deps.json (a Nixpkgs Gradle mitm-cache lockfile). Regenerate it after changing dependencies:

nix build '.?submodules=1#moonlight-android.mitmCache.updateScript' && ./result

Notes:

  • If your Nix is configured to offload to a remote builder, add --builders "" to build locally instead of copying the multi-GB SDK closure to the remote.
  • The build targets the nonRoot debug variant; it is signed with the generated Android debug keystore (not a release key).

Authors

Moonlight is the work of students at Case Western and was started as a project at MHacks.

S
Description
Mirror of moonlight-stream/moonlight-android (GPLv3) — Moonlight game streaming client for Android, host via Sunshine on emmett
Readme
128 MiB
Languages
C 61.3%
Java 38%
Lua 0.2%
Nix 0.2%
Makefile 0.2%
Other 0.1%