tvarchive / optimusTemplate

This is a cucumber jvm implementation template using the optimus mobile automation framework. If you like it, star it, help spread the word.
http://docs.testvagrant.com
66 stars 23 forks source link

"optimus doctor" is not checking the Android path and tools , while Appium says not installed Optimus doctor says "Android platform tools is installed." #13

Closed asitishere closed 6 years ago

asitishere commented 6 years ago

Asits-MacBook-Pro:Library asit$ optimus doctor ℹ Verifying if MongoDB is installed ✔ MongoDB is installed ℹ Verifying if android platform tools is installed ✔ Android platform tools is installed. ℹ Verifying if java is installed ✔ Java is installed. ℹ Verifying if xcode is installed ✔ Found xcode on this machine. ℹ Checking if FBSimctl is installed ✔ FBSimctl is installed ℹ Verifying if gradle is installed ✔ Gradle is installed. ℹ Verifying if appium is installed ✔ Appium is installed. Asits-MacBook-Pro:Library asit$ optimus setup

Asits-MacBook-Pro:~ asit$ appium-doctor info AppiumDoctor Appium Doctor v.1.4.3 info AppiumDoctor ### Diagnostic starting ### info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node info AppiumDoctor ✔ Node version is 8.6.0 info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer info AppiumDoctor ✔ Xcode Command Line Tools are installed. info AppiumDoctor ✔ DevToolsSecurity is enabled. info AppiumDoctor ✔ The Authorization DB is set up properly. info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage info AppiumDoctor ✔ HOME is set to: /Users/asit WARN AppiumDoctor ✖ ANDROID_HOME is set to '/Users/asit/Library/Android/sdk' but this is NOT a valid path! info AppiumDoctor ✔ JAVA_HOME is set to: /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home WARN AppiumDoctor ✖ adb could NOT be found at '/Users/asit/Library/Android/sdk/platform-tools/adb'! WARN AppiumDoctor ✖ android could NOT be found at '/Users/asit/Library/Android/sdk/tools/android'! WARN AppiumDoctor ✖ emulator could NOT be found at '/Users/asit/Library/Android/sdk/tools/emulator'! info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set

asitishere commented 6 years ago

This is not an issue....closing it. This problem comes if we have multiple Android-tools setup. i.e When we install one instance via brew an another using Appium Studio.