GithubHelp home page GithubHelp logo

Comments (8)

JakeWharton avatar JakeWharton commented on June 17, 2024 1

You'll have to file a bug on JetBrains' YouTrack for Kotlin then. I have no control over this stage of the execution. The compiler is supposed to download and resolve the dependency before it ever reaches my code. Feel free to link the bug here so I can watch it and answer any questions from JetBrains as needed.

http://kotl.in/issue

from adb-event-mirror.

JakeWharton avatar JakeWharton commented on June 17, 2024 1

Are you on Ubuntu 18.04 or older?

For -S to work you need a newer coreutils which requires using a backports repository. There's details in here: JakeWharton/pidcat#161

from adb-event-mirror.

JakeWharton avatar JakeWharton commented on June 17, 2024

Kotlin will download it automatically. What version of kotlinc are you using?

from adb-event-mirror.

perihanmirkelam avatar perihanmirkelam commented on June 17, 2024

info: kotlinc-jvm 1.3.72 (JRE 1.8.0_201-b09)

from adb-event-mirror.

JakeWharton avatar JakeWharton commented on June 17, 2024

Also did you try running the script as an executable rather than manually invoking kotlinc?

from adb-event-mirror.

perihanmirkelam avatar perihanmirkelam commented on June 17, 2024

I got this error when running the script as an executable (I guess my env version is old)

/usr/bin/env: invalid option -- 'S'

I execute adb -s emulator-5554 shell getevent | ./adb-event-mirror.main.kts 0498ad080405
`

from adb-event-mirror.

perihanmirkelam avatar perihanmirkelam commented on June 17, 2024

I opened an issue on http://kotl.in/issue and tagged you. Thanks for your help.

from adb-event-mirror.

perihanmirkelam avatar perihanmirkelam commented on June 17, 2024

I am on Mint 19 (based on Ubuntu 18.04). Updating coreutils is worked for me. No more dependency errors.

I want to share my experience,
Trying on an emulator(Nexus 4 L) with a physical Nexus 4 L failed to mirror
Trying on an emulator(Nexus 5 Q) with a physical Xiaomi Q failed to mirror
Trying on an emulator(Nexus 5 Q) with an emulator(Nexus 5 P) succeed
Trying on an emulator(Nexus 5 Q) with an emulator(Nexus 4 L) failed to mirror

I was hoping control my Nexus 4 remotely by the emulator with VPN. But it was nice to solve other issues. Thanks a lot!

from adb-event-mirror.

Related Issues (10)

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.