Giter Site home page Giter Site logo

Comments (7)

keithkml avatar keithkml commented on September 8, 2024

This is from a fresh checkout and fresh build with Gradle 1.10

from android-beacon-library.

davidgyoung avatar davidgyoung commented on September 8, 2024

Fixing this should be as simple as updating your Android Support Library using the SDK manager under Android Studio. You probably have a slightly older version of the support library installed.

See here: http://stackoverflow.com/questions/19621941/android-studio-could-not-find-any-version-that-matches-com-android-supportappco

from android-beacon-library.

keithkml avatar keithkml commented on September 8, 2024

It looks like gradle is installing its own version of the SDK to build this library. I've never used gradle and don't know how it works.

$ ~/Downloads/gradle-1.10/bin/gradle test
Build tools 19.0.3 missing. Downloading...
Platform tools missing. Downloading...
Compilation API android-19 missing. Downloading...

It looks like it installed it into ~/.android-sdk and it didn't even try to install the ASL. I ran ~/.android-sdk/tools/android and installed the ASL, restarted the SDK manager, upgraded the platform and the ASL.

Now SDK Manager says I have ASL 20 installed, but the build still gives the same error I reported originally.

from android-beacon-library.

keithkml avatar keithkml commented on September 8, 2024

I hunted around the Internet and found this:

~/.android-sdk/tools/android update sdk --no-ui --filter extra

After running that, it seems to work. Not sure how or why that helped

from android-beacon-library.

davidgyoung avatar davidgyoung commented on September 8, 2024

Try using the gradle wrapper and running each of the targets below to see if they make a difference.

./gradlew build

./gradlew release

from android-beacon-library.

davidgyoung avatar davidgyoung commented on September 8, 2024

OK, cool. Glad the SDK update worked in the end -- not sure why you needed to do it with the command line.

from android-beacon-library.

ento avatar ento commented on September 8, 2024

I've managed to get it work by specifying ANDROID_HOME to point at my installation of Android Studio:

ANDROID_HOME=/Applications/Android\ Studio.app/sdk/ ./gradlew release

from android-beacon-library.

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.