Comments (4)
Make sure the node process where doctor is running gets the correct environment: https://github.com/appium/java-client/blob/master/docs/environment.md
from appium.
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/bundle-tool
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
Also I don't see that the folder where you put bundle tool is present in the list of PATH.
from appium.
https://github.com/appium/java-client/blob/master/docs/environment.md
bundle-tool folder is placed directly under the ANDROID_HOME
This bundle-tool folder path is then exported to Path as:
export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/bundle-tool
bundletool.jar
is placed inside bundle-tool folder in ANDROID_HOME
from appium.
Ok so I figured out the issue. In my case, a new .zprofile
file was created automatically to set PATH after I installed Python and this was perhaps contradicting with the PATH set in .zshrc
which caused it to not recognize the Path for buildtool.
I copied the stuff from .zprofile to .zshrc, and later removed the .zprofile. Here's the final look of .zshrc:
export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export PATH=$PATH:$ANDROID_HOME/bundle-tool
This resolved the issue, and now all the dependencies are shown to be good for appium-doctor --android
.
info AppiumDoctor
info AppiumDoctor Everything looks good, bye!
info AppiumDoctor
Also the output of running which 'bundletool.jar' displays the correct path for it now.
/Users/xxxx/Library/Android/sdk/bundle-tool/bundletool.jar
from appium.
Related Issues (20)
- npm i appium HOT 1
- Apps
- [Feat]:运行WebDriverAgent后出现的Automation Running hold both volume buttons to stop 这个提示如何修改文字内容 HOT 1
- [Feat]:"Automaton Running hold both volume buttons to stop" HOT 1
- Changing Language from iOS settings causes appium to crash and the change doesnt go through HOT 1
- Support prefs URL scheme for iOS devices HOT 6
- bug: Continuously getting alert text in webview HOT 2
- Can not see elements inside WebView Element with XCUITest on simulator(with UIAutomator2 it works) HOT 18
- bug: Error when interacting with elements on iOS HOT 8
- Not able to switch to Webview context HOT 5
- bug: <title> An unknown Server Side error occurred while processing the command HOT 1
- appium automation testing HOT 10
- [Feat]: documentation does not remind users that they have to start the server by actually running "appium". HOT 3
- Appium and Appium Inspector cannot detect my iOS device (using xcuitest 7.10.0 on iPhone 14 iOS 16.6.1) HOT 3
- Start appium with plugin - appium server starts with error when uiautomator2 or xcuitest drivers are installed HOT 14
- Failure to detect present udid of iPhone when using Appium Inspector HOT 1
- iOS real device test screen recording 0 bytes HOT 5
- Appium session gets terminated when i try to install app on real iOS device using a URLbug: <title> HOT 18
- bug: <Appium 2.x. ResetApp and Auto grant permissions> HOT 2
- start appium and specified --port and --extendPort,but called port 8750 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.