Code Monkey home page Code Monkey logo

Comments (9)

Mygod avatar Mygod commented on September 13, 2024

Still present on Gradle 5.1.

from dexmaker.

drewhannay avatar drewhannay commented on September 13, 2024

I'm not clear how this could be an issue with Gradle 5. We're using Gradle 5.0 + dexmaker-mockito and not seeing any issues. Any other information you can provide?

from dexmaker.

Mygod avatar Mygod commented on September 13, 2024

That's weird. You can find source code here and see my example build. It errs on ProxyBuilder not found. And going back to 4.10.2 fixes this. I have no idea why that is.

from dexmaker.

Mygod avatar Mygod commented on September 13, 2024

Still present on 5.1.1.

from dexmaker.

Mygod avatar Mygod commented on September 13, 2024

You can checkout the source code here and see what's wrong: https://github.com/Mygod/VPNHotspot

from dexmaker.

hongbinh avatar hongbinh commented on September 13, 2024

@Mygod , I downloaded your code and saw the issue, but I believe it's more related to how your project is setup, I'd suggest you check out this gradle doc and see whether anything can give you a clue: https://docs.gradle.org/5.0/userguide/upgrading_version_4.html#changes_5.0

from dexmaker.

hongbinh avatar hongbinh commented on September 13, 2024

@Mygod , adding below line to your build.gradle in "mobile" module should solve your problem:
implementation 'com.linkedin.dexmaker:dexmaker:2.19.1'

from dexmaker.

drewhannay avatar drewhannay commented on September 13, 2024

I think that's probably the right solution. I don't think dexmaker-mockito intends to expose dexmaker as part of its public API. Adding the dependency explicitly seems like a good option here.

from dexmaker.

Mygod avatar Mygod commented on September 13, 2024

Replacing dexmaker-mockito with dexmaker fixes this. Nice! Thanks.

from dexmaker.

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.