Giter VIP home page Giter VIP logo

Comments (9)

meowtec avatar meowtec commented on May 29, 2024

203e1f90

adb -s 203e1f90 shell 能连上去吗?

from app-inspector.

testj avatar testj commented on May 29, 2024

能连上去的,但用app-inspector -u 203e1f90时也启动成功了,但页面就一直在loading,也get不到内容

from app-inspector.

meowtec avatar meowtec commented on May 29, 2024

log 日志呢?
贴出了看看
有没有看到

Android device started: 203e1f90

这样的内容?

from app-inspector.

testj avatar testj commented on May 29, 2024

用adb链接设备正常:

$ adb -s 203e1f90 shell
shell@android:/ $ echo hello
hello

日志内容:

shell>app-inspector -u 203e1f90  --verbose
>> server.js:15:12 [master] pid:1891 server start with config:
 { port: 5678,
  verbose: true,
  udid: '203e1f90',
  ip: '10.6.24.99',
  host: 'XXXXXdeMacBook-Air.local',
  loaded_time: '2016-08-26 11:26:13' }
>> inspector start at: http://10.6.24.99:5678
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200

from app-inspector.

xudafeng avatar xudafeng commented on May 29, 2024

@testj app-inspector 安装过程中如有报错,把log贴一下

from app-inspector.

meowtec avatar meowtec commented on May 29, 2024

@xudafeng 看这个日志好像是卡在 UIAutomator 上面了

from app-inspector.

testj avatar testj commented on May 29, 2024

在装这个的时候报错内容,应该是安装UIAutomator-client这个东西出错了:

> [email protected] install /Users/XXXXX/git/nvm/versions/node/v6.2.0/lib/node_modules/app-inspector/node_modules/uiautomator-client
> node ./scripts/build.js

JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
Error: UI test projects can only target API 16 and above

/Users/feibaobao/git/nvm/versions/node/v6.2.0/lib/node_modules/app-inspector/node_modules/uiautomator-client/scripts/build.js:164
      throw e;
      ^

Error: setup failed
    at ChildProcess.createProcess.on.code (/Users/feibaobao/git/nvm/versions/node/v6.2.0/lib/node_modules/app-inspector/node_modules/uiautomator-client/scripts/build.js:120:16)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)

from app-inspector.

xudafeng avatar xudafeng commented on May 29, 2024

@testj http://macacajs.github.io/macaca/faq.html 看Android SDK版本问题

from app-inspector.

CYsuncheng avatar CYsuncheng commented on May 29, 2024

安装最新版本app-inspector 一样的问题,链接已经失效http://macacajs.github.io/macaca/faq.html

from app-inspector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.