mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-25 00:33:24 +01:00
988d8db7e8
The Play Store now requires the "Signing Scheme V2", which is implemented by apksigner.
24 lines
564 B
Nix
24 lines
564 B
Nix
{ pkgs ? import <nixpkgs> {
|
|
config.android_sdk.accept_license = true;
|
|
config.allowUnfree = true;
|
|
} }:
|
|
|
|
let
|
|
jdk = pkgs.openjdk8;
|
|
|
|
android = pkgs.androidenv.composeAndroidPackages {
|
|
buildToolsVersions = [ "30.0.3" ];
|
|
platformVersions = [ "30" ];
|
|
abiVersions = [ "armeabi-v7a" ];
|
|
};
|
|
|
|
apksigner = pkgs.apksigner.override {
|
|
inherit (jdk) jre;
|
|
inherit (android) build-tools;
|
|
};
|
|
|
|
in pkgs.mkShell {
|
|
buildInputs = [ pkgs.findutils jdk android.androidsdk apksigner ];
|
|
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
|
|
}
|