alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

App Not Launched After Installation in Android Phone(Samsung) #953

Open smock-code opened 4 years ago

smock-code commented 4 years ago

I connected my Andorid Device using USB. Started to run Sample Test. After Installation of App in Android Device. it fails to Launch. I see there is some issue with driver.initDriver(desiredCapabilities); in https://github.com/macaca-sample/macaca-java-biz-sample

Can you folks please help what might have gone wrong in Launching App.

houseshi commented 4 years ago

Please post your initDriver configuration

houseshi commented 4 years ago
  • Macaca Version:
  • Macaca Doctor Logs: macaca-doctor version: 2.0.18 Node.js checklist: node env: /Users/swamshil/.nvm/versions/node/v13.2.0/bin/node node version: v13.2.0 iOS checklist: macOS version: 10.14.6 Xcode Command Line Tools is ready, version: 2354. xcodebuild version: 11.2.1 iproxy[usbmuxd] is installed at: /usr/local/bin/iproxy ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy Android checklist: JAVA version is 1.8 JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home ANDROID_HOME is set to /Users/swamshil/Library/Android/sdk Platforms is set to /Users/swamshil/Library/Android/sdk/platforms/android-29 ADB tool is set to /Users/swamshil/Library/Android/sdk/platform-tools/adb gradle is installed, version: 6.0 Installed driver list: android: 2.1.0 location: /Users/swamshil/.nvm/versions/node/v13.2.0/lib/node_modules/macaca-android chrome: 1.1.1 location: /Users/swamshil/.nvm/versions/node/v13.2.0/lib/node_modules/macaca-chrome electron: 5.0.1 location: /Users/swamshil/.nvm/versions/node/v13.2.0/lib/node_modules/macaca-electron ios: 2.0.36 location: /Users/swamshil/.nvm/versions/node/v13.2.0/lib/node_modules/macaca-ios
  • Operate System: Android
  • Programming Language: Java

I connected my Andorid Device using USB. Started to run Sample Test. After Installation of App in Android Device. it fails to Launch. I see there is some issue with driver.initDriver(desiredCapabilities); in https://github.com/macaca-sample/macaca-java-biz-sample

Can you folks please help what might have gone wrong in Launching App.

Please post your initDriver configuration