First off, thank you for creating such an awesome framework!
I’m running into an issue when I use the Android Driver (Java), the installApp() method seems to throw an exception. The Appium Server log is showing:
[HTTP] --> POST /wd/hub/session/d7fb104d-8861-4b4e-9234-90e045e6635a/appium/device/install_app {"appPath":"C:\\Users\\nick\\Projects\\Appium\\app\\MarketRelease-NO_DID-7.999.2385.apk"}
[MJSONWP] Calling AppiumDriver.installApp() with args: ["C:\\Users\\nick\\...
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.0\aapt.exe
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: com.nick.myapp
[debug] [ADB] badging act: com.nick.gui.pivot.activities.PreLaunchActivity
[MJSONWP] Encountered internal error running command: TypeError: path must be a string or Buffer
at TypeError (native)
at Object.fs.open (fs.js:631:11)
at ReadStream.open (fs.js:1936:6)
at new ReadStream (fs.js:1923:10)
... full stack trace omitted ...
I’m running Appium Server v1.6.0 and Java binding: v4.1.2.
I’m also using the following desired capabilities:
- deviceName - “Android Emulator”
- app - app.getAbsolutePath()
- noReset - true
- autoLaunch - false
Let me know if you need any other details.
Thanks,
- Nick