Coder Social home page Coder Social logo

Comments (8)

iordanis avatar iordanis commented on July 29, 2024

Hi, please have a look at: #10.

from fork.

daj avatar daj commented on July 29, 2024

The suggested fix in #10 still doesn't work for me. Android Studio reports:

Error:(17, 0) Android plugin is not found

...and the Fork plugin line is still in error:

apply plugin: 'fork'

I'm not sure why this is failing as I can see the artifact is available:
https://oss.sonatype.org/content/repositories/snapshots/com/shazam/fork/

from fork.

iordanis avatar iordanis commented on July 29, 2024

Which Gradle Android plugin version are you using?

from fork.

daj avatar daj commented on July 29, 2024

A screenshot of my build.gradle is in the Stackoverflow question. ./gradlew --version reports:

------------------------------------------------------------
Gradle 1.12
------------------------------------------------------------

Build time:   2014-04-29 09:24:31 UTC
Build number: none
Revision:     a831fa866d46cbee94e61a09af15f9dd95987421

Groovy:       1.8.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
Ivy:          2.2.0
JVM:          1.7.0_71 (Oracle Corporation 24.71-b01)
OS:           Mac OS X 10.9.5 x86_64

from fork.

iordanis avatar iordanis commented on July 29, 2024

I'm also at a loss. The version you use should be compatible with the Fork version you're trying.

Try running ./gradlew --refresh-dependencies, in case gradle doesn't know it should look for this new dependency?

from fork.

daj avatar daj commented on July 29, 2024

Unfortunately it doesn't get past the same error:

$ ./gradlew --refresh-dependencies

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/Dan/Code/android/CookBrite/build.gradle' line: 17

* What went wrong:
A problem occurred evaluating project ':CookBrite'.
> Android plugin is not found

* 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: 33.544 secs

I tried updating my Gradle version, but so far I'm not having much luck with doing that update.

from fork.

daj avatar daj commented on July 29, 2024

FTR, now that the v0.9.1 release is available in Maven central, this is working for me.
http://search.maven.org/#search%7Cga%7C1%7Cshazam

from fork.

iordanis avatar iordanis commented on July 29, 2024

Good to know. If you're planning to upgrade to android gradle plugin to 1.0.0, that will also be supported soon.

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.