Use adb in path by default
See original GitHub issueDescribe 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 path
Environment: OS: Linux
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Where is adb.exe in windows 10 located? - Stack Overflow
You'll find it in the AppData folder if you choose to install it in the default location. Otherwise, it will be located at...
Read more >How to Use ADB or Fastboot From Any Directory on your ...
Simply copy your adb.exe, fastboot.exe, AdbWinApi.dll and AdbWinUsbApi.dll to C:\Windows and you're good to go. You should be able to run adb ......
Read more >The Easiest Way to Install Android's ADB and Fastboot Tools ...
By default, you'll either have to navigate to the folder where you extracted the Platform Tools package and run any ADB or fastboot...
Read more >Android Debug Bridge (adb) - Android Developers
To use adb with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options. On...
Read more >Help, adb is not found!. So you've downloaded Android Studio ...
adb stands for the “Android Debug Bridge,” which is a command line utility that is the debug multitool for Android. Typically it's installed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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:
Unable to determine the location of ADB. Please set the --adb flag or define ANDROID_HOME environment variable.
Attempted Command
Current Solution By defining the ANDROID_HOME path in my .bash_profile for my Macbook Pro resolved the issue as described in this Stackoverflow post.
Note: When attempting to use –adb in the path it does not work with the following error.
Could you set the environment variable ANDROID_HOME with the path to the SDK? Then, bundletool would be able to find
adb
in it.