Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Android cmdline-tools #38

Open
cleemansen opened this issue Jun 16, 2021 · 1 comment
Open

Use Android cmdline-tools #38

cleemansen opened this issue Jun 16, 2021 · 1 comment

Comments

@cleemansen
Copy link

Are there any plans to switch to the newer Android cmdline-tools?

Currently the now deprecated SDK Tools are in use.

@Sahara150
Copy link

For now, if you have to use cmdline-tools, cause you e.g. use Java > 8, I used the following (dirty) workaround:

Override avdmanager, so it uses the new/correct one, since it'll ignore my path

  • rm -f $ANDROID_HOME/tools/bin/avdmanager
  • echo '$ANDROID_TOOLS/bin/avdmanager "$@"' > $ANDROID_HOME/tools/bin/avdmanager
  • chmod +rwx $ANDROID_HOME/tools/bin/avdmanager
    It's basically replacing the deprecated avdmanager with a script, calling the new avdmanager with all parameters given to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants