Created
January 3, 2020 12:32
-
-
Save fmnxl/a760e4403625003c4a676480c90215c2 to your computer and use it in GitHub Desktop.
Smarkets Android Nix Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
sources = import ./nix/sources.nix; | |
pkgs = import ./nixpkgs { | |
config = { | |
android_sdk.accept_license = true; | |
}; | |
}; | |
in | |
pkgs.androidenv.emulateApp { | |
name = "emulate-MyAndroidApp"; | |
app = ./MyApp.apk; | |
platformVersion = "28"; | |
enableGPU = true; | |
package = "com.smarkets.debug"; | |
activity = "com.smarkets.MainActivity"; | |
abiVersion = "x86_64"; | |
sdkExtraArgs = { | |
toolsVersion = "26.1.1"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment