Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error: Could not resolve all dependencies #114

Open
krisk0 opened this issue Mar 13, 2016 · 3 comments
Open

build error: Could not resolve all dependencies #114

krisk0 opened this issue Mar 13, 2016 · 3 comments

Comments

@krisk0
Copy link

krisk0 commented Mar 13, 2016

Took latest git version 13 March 2016. Tried to exactly follow build instructions found in Readme.md

./gradlew assembleDebug
...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.android.support:appcompat-v7:23.2.0.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.2.0/appcompat-v7-23.2.0.pom
         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.2.0/appcompat-v7-23.2.0.jar
         https://jitpack.io/com/android/support/appcompat-v7/23.2.0/appcompat-v7-23.2.0.pom
         https://jitpack.io/com/android/support/appcompat-v7/23.2.0/appcompat-v7-23.2.0.jar
     Required by:
         android-vts-master:app:unspecified
         android-vts-master:app:unspecified > com.github.paolorotolo:appintro:3.3.0
   > Could not find com.android.support:cardview-v7:23.1.1.
...
(more messages likes that, total 11 'Could not find com.android...')

I am under Gentoo/Amd64 if it matters.

How do I build the project?

@m00head
Copy link
Contributor

m00head commented Apr 4, 2016

You need to setup the the Android Support Library package by following the instructions here:
https://developer.android.com/topic/libraries/support-library/setup.html

At the time of writing (April 2016), the latest version is 23.3.0:
https://developer.android.com/topic/libraries/support-library/revisions.html

Then you need to update the version number in your app\build.gradle file on lines 47-50:

compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.android.support:design:23.3.0'

Created pull request #118 Update external dependencies.

@m00head
Copy link
Contributor

m00head commented Jun 27, 2016

Created pull request #132 Update external dependencies.

@m00head
Copy link
Contributor

m00head commented Mar 28, 2017

Created pull request #143 Update external dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants