I’ve installed Appium in Linux and MacOS and once I finished the installation I’ve ran appium-doctor to do a diagnostic for necessary dependencies. In both computers I got the same problem:
bundletool.jar cannot be found
I’ve tried a bunch of solutions proposed via Stack Overflow and similar sites, but I got no solutions. So investigating and doing different tests I was able to solve it using these steps:
- Download
bundletool.jar` from https://github.com/google/bundletool/releases- At this moment is
bundletool-all-0.10.3.jar`
- At this moment is
- Rename it to
bundletool.jar - Create folder
~/Library/Android/sdk/bundle-toolin Mac~/Android/Sdk/bundle-toolin Linux
- Move
bundletool.jarto this path and make it executable withchmod +x bundletool.jar - Add
$ANDROID_HOME/bundle-toolto the path editing.bash_profileor.bashrc
Finally when you run appium-doctor you can see bundletool.jar is properly installed at found.
