New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubuntu重新 安装app-inspector1.2.28 报错 #550
Comments
没build成功? |
看看你的D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-debug.apk 这个文件存不存在。 android sdk 最好升级到最新版本,而且必须下载anroid support repository。 |
我是以前就有安装过anroid support repository 的 ,那我看看 这段 是否可行 |
你试试啊,如果不加lintOptions { |
我现在是ubuntu16.04 64位环境 再折腾重新安装macaca-android 2.0.2 和 app-inspector 1.2.28 看了你回复的app-inspector 的问题 感觉 还是macaca-android 这个的问题 要想app-inspector好 必须弄好macaca-android吧 macaca-android 的话 好像又和Android SDK Build-Tools 25.0.2, Android SDK Platform 25 这个SDK有关系吧 谷歌又弄啥限制和幺蛾子了吧 我还是研究下 这个为啥说 许可的事 Checking the license for package Android SDK Build-Tools 25.0.2 in /opt/android-sdk-linux/licenses BUILD FAILED NDK is missing a "platforms" directory. What went wrong: 或者你指导下 正确的打开 25.0.2 和设置许可的问题 |
这两个是一个问题,都是uiautomatorwd无法正确编译出apk的问题。你先试试,我用ubuntu试试 |
先保证安装的是android sdk build-tools 25.0.2 cmd@TR:~$ macaca doctor macaca-doctor version: 1.1.4 Node.js checklist: node env: /opt/nodejs/bin/node Android checklist: JAVA version is Installed driver list: android: 2.0.2 再安装好macaca-android 后 注意看日志build必须都是sucess 再保证node-global\node_modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-debug.apk 这个文件存在 再安装app-inspector 就OK了 cmd@TR:~$ npm i app-inspector -g
Successfully updated Bundle Id, but no Team Id was provided. Please update your team id manually in /opt/nodejs/lib/node_modules/app-inspector/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj, or reinstall the module with DEVELOPMENT_TEAM_ID in environment variable.
Successfully updated Bundle Id, but no Team Id was provided. Please update your team id manually in /opt/nodejs/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj/project.pbxproj, or reinstall the module with DEVELOPMENT_TEAM_ID in environment variable.
NDK is missing a "platforms" directory. It currently has 1024 MB. It currently has 1024 MB. A larger heap for the Gradle daemon is recommended for running jack. It currently has 1024 MB. UP-TO-DATE UP-TO-DATE NO-SOURCE :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:generateDebugBuildConfig :app:generateDebugResValues :app:generateDebugResources :app:mergeDebugResources :app:processDebugManifest :app:generateDebugSources :app:transformClassesWithPreJackPackagedLibrariesForDebug :app:transformClassesWithPreJackRuntimeLibrariesForDebug :app:processDebugJavaRes NO-SOURCE :app:transformJackWithJackForDebug :app:compileDebugSources :app:compileDebugShaders :app:validateSigningDebug :app:assembleDebug :app:preDebugAndroidTestBuild NO-SOURCE :app:prepareComAndroidSupportTestRunner05Library :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:compileDebugAndroidTestRenderscript :app:generateDebugAndroidTestBuildConfig :app:generateDebugAndroidTestResources :app:processDebugAndroidTestResources :app:transformClassesWithPreJackRuntimeLibrariesForDebugAndroidTest :app:processDebugAndroidTestJavaRes :app:transformJackWithJackForDebugAndroidTest /opt/nodejs/lib/node_modules/app-inspector/node_modules/uiautomatorwd/app/src/androidTest/java/com/macaca/android/testing/server/controllers/WindowController.java:7:8: The import com.macaca.android.testing.server.models.Methods is never used /opt/nodejs/lib/node_modules/app-inspector/node_modules/uiautomatorwd/app/src/androidTest/java/com/macaca/android/testing/server/xmlUtils/XmlUtils.java:21:8: The import android.support.test.uiautomator.UiSelector is never used :app:compileDebugAndroidTestShaders :app:generateDebugAndroidTestAssets :app:mergeDebugAndroidTestAssets :app:mergeDebugAndroidTestJniLibFolders :app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest :app:validateSigningDebugAndroidTest :app:packageDebugAndroidTest :app:assembleDebugAndroidTest BUILD SUCCESSFUL Total time: 23.168 secs npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/app-inspector/node_modules/chokidar/node_modules/fsevents): |
@whitiancai 安装成功了。。。但是 还是访问报错了 |
@Archer456 /data/local/tmp/macaca-dump.xml 是否存在 |
@xudafeng cmd@TR:~$ adb shell |
cat /data/local/tmp/macaca-dump.xml 看下有内容吗 |
有内容 |
Ubuntu 我弄好了 |
cmd@TR:~$ npm i app-inspector -g
npm WARN deprecated win-spawn@2.0.0: use cross-spawn or cross-spawn-async instead.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated node-uuid@1.4.7: Use uuid module instead
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
/opt/nodejs/bin/inspector -> /opt/nodejs/lib/node_modules/app-inspector/bin/app-inspector
/opt/nodejs/bin/app-inspector -> /opt/nodejs/lib/node_modules/app-inspector/bin/app-inspector
Successfully updated Bundle Id, but no Team Id was provided. Please update your team id manually in /opt/nodejs/lib/node_modules/app-inspector/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj, or reinstall the module with DEVELOPMENT_TEAM_ID in environment variable.
Successfully updated Bundle Id, but no Team Id was provided. Please update your team id manually in /opt/nodejs/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj/project.pbxproj, or reinstall the module with DEVELOPMENT_TEAM_ID in environment variable.
(node:20437) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Command failed: which gradle
/opt/nodejs/lib
└─┬ app-inspector@1.2.28
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├── escape-string-regexp@1.0.5
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.1.1
│ ├─┬ strip-ansi@3.0.1
│ │ └── ansi-regex@2.1.1 deduped
│ └── supports-color@2.0.0
├── co@4.6.0
├─┬ co-request@1.0.0
│ └── request@2.81.0 deduped
├─┬ commander@2.9.0
│ └── graceful-readlink@1.0.1
├─┬ detect-port@1.1.1
│ └─┬ debug@2.6.6
│ └── ms@0.7.3
├─┬ ios-simulator@1.0.10
│ ├─┬ plist@1.2.0
│ │ ├── base64-js@0.0.8
│ │ ├── util-deprecate@1.0.2
│ │ ├─┬ xmlbuilder@4.0.0
│ │ │ └── lodash@3.10.1 deduped
│ │ └── xmldom@0.1.27
│ ├── xlogger@1.0.6 deduped
│ └── xutil@1.0.5 deduped
├─┬ ios-utils@1.0.4
│ ├─┬ bplist-parser@0.1.1
│ │ └── big-integer@1.6.22
│ └── xutil@1.0.5 deduped
├─┬ koa@1.4.0
│ ├─┬ accepts@1.3.3
│ │ ├── mime-types@2.1.15 deduped
│ │ └── negotiator@0.6.1
│ ├── co@4.6.0 deduped
│ ├─┬ composition@2.3.0
│ │ ├── any-promise@1.3.0
│ │ └── co@4.6.0 deduped
│ ├── content-disposition@0.5.2
│ ├── content-type@1.0.2
│ ├─┬ cookies@0.7.0
│ │ ├── depd@1.1.0
│ │ └── keygrip@1.0.1
│ ├── debug@2.6.6 deduped
│ ├── delegates@1.0.0
│ ├── destroy@1.0.4
│ ├── error-inject@1.0.0
│ ├── escape-html@1.0.3
│ ├── fresh@0.3.0
│ ├─┬ http-assert@1.3.0
│ │ ├── deep-equal@1.0.1
│ │ └── http-errors@1.6.1 deduped
│ ├─┬ http-errors@1.6.1
│ │ ├── depd@1.1.0 deduped
│ │ ├── inherits@2.0.3
│ │ ├── setprototypeof@1.0.3
│ │ └── statuses@1.3.1 deduped
│ ├── koa-compose@2.5.1
│ ├── koa-is-json@1.0.0
│ ├─┬ mime-types@2.1.15
│ │ └── mime-db@1.27.0
│ ├─┬ on-finished@2.3.0
│ │ └── ee-first@1.1.1
│ ├── only@0.0.2
│ ├── parseurl@1.3.1
│ ├── statuses@1.3.1
│ ├─┬ type-is@1.6.15
│ │ ├── media-typer@0.3.0
│ │ └── mime-types@2.1.15 deduped
│ └── vary@1.1.1
├─┬ koa-bodyparser@2.5.0
│ ├─┬ co-body@5.1.1
│ │ ├── inflation@2.0.0
│ │ ├── qs@6.4.0 deduped
│ │ ├─┬ raw-body@2.2.0
│ │ │ ├── bytes@2.4.0
│ │ │ ├── iconv-lite@0.4.15
│ │ │ └── unpipe@1.0.0
│ │ └── type-is@1.6.15 deduped
│ └── copy-to@2.0.1
├─┬ koa-router@5.4.1
│ ├── debug@2.6.6 deduped
│ ├── http-errors@1.6.1 deduped
│ ├── methods@1.1.2
│ └─┬ path-to-regexp@1.7.0
│ └── isarray@0.0.1
├─┬ koa-static@2.1.0
│ ├── debug@2.6.6 deduped
│ └─┬ koa-send@3.3.0
│ ├── co@4.6.0 deduped
│ ├── debug@2.6.6 deduped
│ ├─┬ mz@2.6.0
│ │ ├── any-promise@1.3.0 deduped
│ │ ├── object-assign@4.1.1
│ │ └─┬ thenify-all@1.6.0
│ │ └─┬ thenify@3.2.1
│ │ └── any-promise@1.3.0 deduped
│ └─┬ resolve-path@1.3.3
│ ├─┬ http-errors@1.5.1
│ │ ├── inherits@2.0.3 deduped
│ │ ├── setprototypeof@1.0.2
│ │ └── statuses@1.3.1 deduped
│ └── path-is-absolute@1.0.1 deduped
├─┬ macaca-adb@1.0.22
│ ├── chalk@1.1.3 deduped
│ ├── commander@2.9.0 deduped
│ ├─┬ macaca-utils@0.1.9
│ │ └── xutil@1.0.5 deduped
│ ├── npm-update@1.0.5 deduped
│ ├── xlogger@1.0.6 deduped
│ └── xutil@1.0.5 deduped
├─┬ npm-update@1.0.5
│ ├─┬ co-request@0.2.1
│ │ └── request@2.81.0 deduped
│ └── xlogger@1.0.6 deduped
├─┬ nunjucks@2.5.2
│ ├── asap@2.0.5
│ ├─┬ chokidar@1.7.0
│ │ ├─┬ anymatch@1.3.0
│ │ │ ├── arrify@1.0.1
│ │ │ └─┬ micromatch@2.3.11
│ │ │ ├─┬ arr-diff@2.0.0
│ │ │ │ └── arr-flatten@1.0.3
│ │ │ ├── array-unique@0.2.1
│ │ │ ├─┬ braces@1.8.5
│ │ │ │ ├─┬ expand-range@1.8.2
│ │ │ │ │ └─┬ fill-range@2.2.3
│ │ │ │ │ ├─┬ is-number@2.1.0
│ │ │ │ │ │ └── kind-of@3.2.0 deduped
│ │ │ │ │ ├─┬ isobject@2.1.0
│ │ │ │ │ │ └── isarray@1.0.0
│ │ │ │ │ ├─┬ randomatic@1.1.6
│ │ │ │ │ │ ├── is-number@2.1.0 deduped
│ │ │ │ │ │ └── kind-of@3.2.0 deduped
│ │ │ │ │ ├── repeat-element@1.1.2 deduped
│ │ │ │ │ └── repeat-string@1.6.1
│ │ │ │ ├── preserve@0.2.0
│ │ │ │ └── repeat-element@1.1.2
│ │ │ ├─┬ expand-brackets@0.1.5
│ │ │ │ └── is-posix-bracket@0.1.1
│ │ │ ├─┬ extglob@0.3.2
│ │ │ │ └── is-extglob@1.0.0 deduped
│ │ │ ├── filename-regex@2.0.1
│ │ │ ├── is-extglob@1.0.0 deduped
│ │ │ ├── is-glob@2.0.1 deduped
│ │ │ ├─┬ kind-of@3.2.0
│ │ │ │ └── is-buffer@1.1.5
│ │ │ ├─┬ normalize-path@2.1.1
│ │ │ │ └── remove-trailing-separator@1.0.1
│ │ │ ├─┬ object.omit@2.0.1
│ │ │ │ ├─┬ for-own@0.1.5
│ │ │ │ │ └── for-in@1.0.2
│ │ │ │ └── is-extendable@0.1.1
│ │ │ ├─┬ parse-glob@3.0.4
│ │ │ │ ├─┬ glob-base@0.3.0
│ │ │ │ │ ├── glob-parent@2.0.0 deduped
│ │ │ │ │ └── is-glob@2.0.1 deduped
│ │ │ │ ├── is-dotfile@1.0.2
│ │ │ │ ├── is-extglob@1.0.0 deduped
│ │ │ │ └── is-glob@2.0.1 deduped
│ │ │ └─┬ regex-cache@0.4.3
│ │ │ ├─┬ is-equal-shallow@0.1.3
│ │ │ │ └── is-primitive@2.0.0 deduped
│ │ │ └── is-primitive@2.0.0
│ │ ├── async-each@1.0.1
│ │ ├─┬ glob-parent@2.0.0
│ │ │ └── is-glob@2.0.1 deduped
│ │ ├── inherits@2.0.3 deduped
│ │ ├─┬ is-binary-path@1.0.1
│ │ │ └── binary-extensions@1.8.0
│ │ ├─┬ is-glob@2.0.1
│ │ │ └── is-extglob@1.0.0
│ │ ├── path-is-absolute@1.0.1
│ │ └─┬ readdirp@2.1.0
│ │ ├── graceful-fs@4.1.11
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.7
│ │ │ ├── balanced-match@0.4.2
│ │ │ └── concat-map@0.0.1
│ │ ├─┬ readable-stream@2.2.9
│ │ │ ├── buffer-shims@1.0.0
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├─┬ string_decoder@1.0.0
│ │ │ │ └── buffer-shims@1.0.0 deduped
│ │ │ └── util-deprecate@1.0.2 deduped
│ │ └── set-immediate-shim@1.0.1
│ └─┬ yargs@3.32.0
│ ├── camelcase@2.1.1
│ ├─┬ cliui@3.2.0
│ │ ├── string-width@1.0.2 deduped
│ │ ├── strip-ansi@3.0.1 deduped
│ │ └─┬ wrap-ansi@2.1.0
│ │ ├── string-width@1.0.2 deduped
│ │ └── strip-ansi@3.0.1 deduped
│ ├── decamelize@1.2.0
│ ├─┬ os-locale@1.4.0
│ │ └─┬ lcid@1.0.0
│ │ └── invert-kv@1.0.0
│ ├─┬ string-width@1.0.2
│ │ ├── code-point-at@1.1.0
│ │ ├─┬ is-fullwidth-code-point@1.0.0
│ │ │ └── number-is-nan@1.0.1
│ │ └── strip-ansi@3.0.1 deduped
│ ├── window-size@0.1.4
│ └── y18n@3.2.1
├─┬ request@2.81.0
│ ├── aws-sign2@0.6.0
│ ├── aws4@1.6.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.5
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.1
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.1.4
│ │ ├── asynckit@0.4.0
│ │ ├── combined-stream@1.0.5 deduped
│ │ └── mime-types@2.1.15 deduped
│ ├─┬ har-validator@4.2.1
│ │ ├─┬ ajv@4.11.8
│ │ │ ├── co@4.6.0 deduped
│ │ │ └─┬ json-stable-stringify@1.0.1
│ │ │ └── jsonify@0.0.0
│ │ └── har-schema@1.0.5
│ ├─┬ hawk@3.1.3
│ │ ├─┬ boom@2.10.1
│ │ │ └── hoek@2.16.3 deduped
│ │ ├─┬ cryptiles@2.0.5
│ │ │ └── boom@2.10.1 deduped
│ │ ├── hoek@2.16.3
│ │ └─┬ sntp@1.0.9
│ │ └── hoek@2.16.3 deduped
│ ├─┬ http-signature@1.1.1
│ │ ├── assert-plus@0.2.0
│ │ ├─┬ jsprim@1.4.0
│ │ │ ├── assert-plus@1.0.0
│ │ │ ├── extsprintf@1.0.2
│ │ │ ├── json-schema@0.2.3
│ │ │ └─┬ verror@1.3.6
│ │ │ └── extsprintf@1.0.2 deduped
│ │ └─┬ sshpk@1.13.0
│ │ ├── asn1@0.2.3
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ bcrypt-pbkdf@1.0.1
│ │ │ └── tweetnacl@0.14.5 deduped
│ │ ├─┬ dashdash@1.14.1
│ │ │ └── assert-plus@1.0.0
│ │ ├─┬ ecc-jsbn@0.1.1
│ │ │ └── jsbn@0.1.1 deduped
│ │ ├─┬ getpass@0.1.7
│ │ │ └── assert-plus@1.0.0
│ │ ├─┬ jodid25519@1.0.2
│ │ │ └── jsbn@0.1.1 deduped
│ │ ├── jsbn@0.1.1
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├── mime-types@2.1.15 deduped
│ ├── oauth-sign@0.8.2
│ ├── performance-now@0.2.0
│ ├── qs@6.4.0
│ ├── safe-buffer@5.0.1
│ ├── stringstream@0.0.5
│ ├─┬ tough-cookie@2.3.2
│ │ └── punycode@1.4.1
│ ├─┬ tunnel-agent@0.6.0
│ │ └── safe-buffer@5.0.1 deduped
│ └── uuid@3.0.1
├─┬ uiautomatorwd@1.0.15
│ ├─┬ gradle@1.0.6
│ │ ├── win-spawn@2.0.0
│ │ └── xutil@1.0.5 deduped
│ ├── macaca-adb@1.0.22 deduped
│ ├── request@2.81.0 deduped
│ ├── xlogger@1.0.6 deduped
│ └── xutil@1.0.5 deduped
├─┬ xctest-client@1.1.6
│ ├── detect-port@1.1.1 deduped
│ ├── ios-deviceconsole@1.0.1
│ ├── ios-utils@1.0.4 deduped
│ ├── macaca-utils@0.1.9 deduped
│ ├─┬ request@2.69.0
│ │ ├── aws-sign2@0.6.0 deduped
│ │ ├── aws4@1.6.0 deduped
│ │ ├─┬ bl@1.0.3
│ │ │ └─┬ readable-stream@2.0.6
│ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7 deduped
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2 deduped
│ │ ├── caseless@0.11.0
│ │ ├── combined-stream@1.0.5 deduped
│ │ ├── extend@3.0.1 deduped
│ │ ├── forever-agent@0.6.1 deduped
│ │ ├─┬ form-data@1.0.1
│ │ │ ├─┬ async@2.4.0
│ │ │ │ └── lodash@4.17.4
│ │ │ ├── combined-stream@1.0.5 deduped
│ │ │ └── mime-types@2.1.15 deduped
│ │ ├─┬ har-validator@2.0.6
│ │ │ ├── chalk@1.1.3 deduped
│ │ │ ├── commander@2.9.0 deduped
│ │ │ ├─┬ is-my-json-valid@2.16.0
│ │ │ │ ├── generate-function@2.0.0
│ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ └── is-property@1.0.2
│ │ │ │ ├── jsonpointer@4.0.1
│ │ │ │ └── xtend@4.0.1
│ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ └── pinkie@2.0.4
│ │ ├── hawk@3.1.3 deduped
│ │ ├── http-signature@1.1.1 deduped
│ │ ├── is-typedarray@1.0.0 deduped
│ │ ├── isstream@0.1.2 deduped
│ │ ├── json-stringify-safe@5.0.1 deduped
│ │ ├── mime-types@2.1.15 deduped
│ │ ├── node-uuid@1.4.8
│ │ ├── oauth-sign@0.8.2 deduped
│ │ ├── qs@6.0.4
│ │ ├── stringstream@0.0.5 deduped
│ │ ├── tough-cookie@2.2.2
│ │ └── tunnel-agent@0.4.3
│ ├── webdriver-dfn-error-code@1.0.4
│ ├─┬ webdriveragent@1.1.6
│ │ ├── adm-zip@0.4.7
│ │ ├─┬ xcode@0.8.9
│ │ │ ├── node-uuid@1.4.7
│ │ │ ├── pegjs@0.9.0
│ │ │ └─┬ simple-plist@0.1.4
│ │ │ ├─┬ bplist-creator@0.0.4
│ │ │ │ └── stream-buffers@0.2.6
│ │ │ ├── bplist-parser@0.0.6
│ │ │ └── plist@1.2.0 deduped
│ │ └── xutil@1.0.5 deduped
│ ├─┬ xctestwd@1.0.7
│ │ ├── xcode@0.8.9 deduped
│ │ └── xutil@1.0.5 deduped
│ └── xlogger@1.0.6 deduped
├─┬ xlogger@1.0.6
│ ├── chalk@1.1.3 deduped
│ └── xutil@1.0.5 deduped
├─┬ xml2map@1.0.2
│ ├── sax@0.4.2
│ └── xml-writer@1.7.0
└─┬ xutil@1.0.5
├── detect-port@1.1.1 deduped
├── ipv4@0.0.4
├── lodash@3.10.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├── moment@2.10.6
├─┬ rimraf@2.5.4
│ └─┬ glob@7.1.1
│ ├── fs.realpath@1.0.0
│ ├─┬ inflight@1.0.6
│ │ ├── once@1.4.0 deduped
│ │ └── wrappy@1.0.2
│ ├── inherits@2.0.3 deduped
│ ├── minimatch@3.0.4 deduped
│ ├─┬ once@1.4.0
│ │ └── wrappy@1.0.2 deduped
│ └── path-is-absolute@1.0.1 deduped
└── uuid@3.0.1 deduped
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/app-inspector/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
cmd@TR:~$ adb devices -l
List of devices attached
192.168.56.101:5555 device product:vbox86p model:Samsung_Galaxy_S6___6_0_0___API_23___1440x2560 device:vbox86p
cmd@TR:~$ app-inspector --help
Usage: app-inspector [options]
Options:
cmd@TR:~$ app-inspector -u 192.168.56.101:5555 --verbose
killed: false,
code: 1,
signal: null,
cmd: '/opt/android-sdk-linux/platform-tools/adb -s 192.168.56.101:5555 push /opt/nodejs/lib/node_modules/app-inspector/node_modules/uiautomatorwd/app/build/outputs/apk/app-debug.apk /data/local/tmp/com.macaca.android.testing' }
安装过程中 有报错
(node:20437) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Command failed: which gradle
The text was updated successfully, but these errors were encountered: