Giter VIP home page Giter VIP logo

Comments (5)

tmcw avatar tmcw commented on May 22, 2024

Stashing work for both repos in location-ui branch. @bleege have you seen this error before?

Otherwise hoping that the IntelliJ Magic 8 Ball Infernal Configuration Generator gives me something else tomorrow.

from mapbox-android-demo.

bleege avatar bleege commented on May 22, 2024

Yep. That's an issue with Gradle as they moved that class to a different package between 1.9 and 1.10. Ran into it several times myself last night. The big thing is to make sure that your IDE is using 1.10 for all it's work, which is where the Gradle wrapper comes in.

Fix:

// In Terminal Shell - Regenerate proper version of Gradle Wrapper
cd <PROJECT_ROOT>
gradle wrapper

After that's done, make sure that the project in IntelliJ is setup to use the Gradle wrapper (instead of any other version of Gradle you may have installed on your computer). Here's the instructions on how to do this:

https://www.jetbrains.com/idea/webhelp/gradle-2.html

from mapbox-android-demo.

tmcw avatar tmcw commented on May 22, 2024

gradle wrapper fails with

mapbox-android-demo➟ gradle wrapper

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/tmcw/src/mapbox-android-demo/MapBoxAndroidDemo/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':MapBoxAndroidDemo'.
> Could not create plugin of type 'AppPlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.569 secs

and the internets indicate gradle 1.10 is just not supported with the android plugin: https://code.google.com/p/android/issues/detail?id=63972

from mapbox-android-demo.

tmcw avatar tmcw commented on May 22, 2024

Ahh I just needed to merge master. Thanks for the guidance @bleege, easy to get frustrated with this kind of config stuff :)

from mapbox-android-demo.

bleege avatar bleege commented on May 22, 2024

Happy to help @tmcw . I hear ya though... it's always the little things like this that are the most frustrating and it's usually something small that is ultimately the solution.

from mapbox-android-demo.

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.