tadfisher/android-nixpkgs

Ad-hoc Example Not Working

jamesward opened this issue · 0 comments

I used the Ad-hoc example: https://github.com/tadfisher/android-nixpkgs#ad-hoc

I ran nix-shell to get it setup but then the SDK root doesn't seem valid:

$ nix-shell 
Using Android SDK root: /nix/store/hf254wpxf4nn9q8a8yqf83n49yjjim71-android-sdk-env/share/android-sdk

$ sdkmanager --update
Error: Could not determine SDK root.
Error: Either specify it explicitly with --sdk_root= or move this package into its expected location: <sdk>/cmdline-tools/latest/

$ ls /nix/store/hf254wpxf4nn9q8a8yqf83n49yjjim71-android-sdk-env/share/android-sdk
ls: cannot access '/nix/store/hf254wpxf4nn9q8a8yqf83n49yjjim71-android-sdk-env/share/android-sdk': No such file or directory

Any ideas?