Coder Social home page Coder Social logo

Problem with missing ddmlib method about fork HOT 22 CLOSED

shazam avatar shazam commented on July 29, 2024
Problem with missing ddmlib method

from fork.

Comments (22)

iordanis avatar iordanis commented on July 29, 2024

Yeah getting the same. Thanks for spotting it.

from fork.

iordanis avatar iordanis commented on July 29, 2024

It looks we need to revert the change, since ddmlib 24.5.0 causes this exception

Exception in thread "CatLogger-all=sw0-up-192.168.57.101:5555" java.lang.IllegalStateException: No logcat header processed yet, failed to parse line: --------- beginning of system
    at com.android.ddmlib.logcat.LogCatMessageParser.processLogLines(LogCatMessageParser.java:123)
    at com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver.processLogLines(LogCatReceiverTask.java:112)
    at com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver.processNewLines(LogCatReceiverTask.java:107)
    at com.android.ddmlib.MultiLineReceiver.addOutput(MultiLineReceiver.java:100)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:519)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:382)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:353)
    at com.android.ddmlib.Device.executeShellCommand(Device.java:604)
    at com.android.ddmlib.logcat.LogCatReceiverTask.run(LogCatReceiverTask.java:75)
    at java.lang.Thread.run(Thread.java:745)

As far as I can tell there are no workarounds as of this point. We also have to skip 1.5.0.

from fork.

theelfismike avatar theelfismike commented on July 29, 2024

@iordanis - It looks like this is the tools bug for that IllegalStateException: https://code.google.com/p/android/issues/detail?id=195998

from fork.

iordanis avatar iordanis commented on July 29, 2024

Exactly. It's fixed but not released, so hopefully it will be in the ddmlib used by plugin 2.0.0

from fork.

ericjee avatar ericjee commented on July 29, 2024

still face it with plugin 2.0.0-alpha6 and gradle 2.10 :(

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

@iordanis any update on this one?

from fork.

iordanis avatar iordanis commented on July 29, 2024

No updates yet, we're still locked on an older version until 2.0.0 becomes final. We will welcome any contributions though :)

from fork.

theelfismike avatar theelfismike commented on July 29, 2024

I spent a little time looking at this today, +1 - it looks like we're blocked until 2.0.0 gets published to Maven at the very least.

from fork.

traviswestbrook avatar traviswestbrook commented on July 29, 2024

Seems to be working with gradle 2.11 and plugin 2.0.0-beta6

from fork.

theelfismike avatar theelfismike commented on July 29, 2024

@traviswestbrook what version were you using? 1.1.0/1.2.0-SNAPSHOT/a custom build?

from fork.

traviswestbrook avatar traviswestbrook commented on July 29, 2024

@theelfismike Custom build. Pretty much the build in #67 but using gradle 2.11.

from fork.

iordanis avatar iordanis commented on July 29, 2024

Anyone interested, we're planning to bring the fix in 1.2.0-SNAPSHOT today, test it for a couple of days and then release 1.2.0.

from fork.

theelfismike avatar theelfismike commented on July 29, 2024

That's awesome! If you could let us know when the snapshot is pushed, we
can test as well.

Thanks!

On Fri, Mar 4, 2016 at 11:26 AM, Iordanis Giannakakis <
[email protected]> wrote:

Anyone interested, we're planning to bring the fix in 1.2.0-SNAPSHOT
today, test it for a bit and then release 1.2.0.


Reply to this email directly or view it on GitHub
#66 (comment).

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

Awesome!

from fork.

silviul avatar silviul commented on July 29, 2024

The snapshot should be pushed. Try it.

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

Thanks! I don't see it, did you push it to Maven central?

from fork.

iordanis avatar iordanis commented on July 29, 2024

Check https://oss.sonatype.org/content/repositories/snapshots/com/shazam/fork/. Make sure you include the snapshot repo in your gradle file.

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

thanks, found it!

from fork.

ericjee avatar ericjee commented on July 29, 2024

coooool, thx @iordanis @traviswestbrook , everything is working with new gradle 2.11 and 1.2.0-SNAPSHOT! :)

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

it works for us too! thanks @silviul @iordanis

from fork.

deepanshumadan avatar deepanshumadan commented on July 29, 2024

@iordanis looks this bug is fixed, is there gonna be a 1.2.0 release soon?

from fork.

iordanis avatar iordanis commented on July 29, 2024

Yeah we'll release something tomorrow, since this was the last issue for this release. Thanks for confirming it worked.

from fork.

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.