-
Notifications
You must be signed in to change notification settings - Fork 385
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 adb in path by default #27
Comments
Could you set the environment variable ANDROID_HOME with the path to the SDK? Then, bundletool would be able to find |
@plecesne it's common for our team (WebView and Chrome for Android) to use the |
@plecesne would you be open to a pull request for this feature? |
Absolutely, we welcome contributions. |
Is there a simpler way to resolve this ANDROID_HOME path error? For instance, I'm attempting to use Android's bundletool but am receiving the error:
Attempted Command
Current Solution
Note: When attempting to use --adb in the path it does not work with the following error.
|
这问题有人知道怎么解决吗?我也遇到了 |
Describe the bug
adb
must be passed to bundletool, is it possible that it could use the adb executable in my path.Bundletool version(s) affected
Version: 0.6.0
Stacktrace
[BT:0.6.0] Error: Unable to determine the location of ADB. Please set the --adb flag or define ANDROID_HOME environment variable.
To Reproduce
Use bundletool without providing an
adb
Expected behavior
It would default to the
adb
on my pathEnvironment:
OS: Linux
The text was updated successfully, but these errors were encountered: