AndroidVTS / android-vts

Android Vulnerability Test Suite - In the spirit of open data collection, and with the help of the community, let's take a pulse on the state of Android security. NowSecure presents an on-device app to test for recent device vulnerabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build error: Could not resolve all dependencies

krisk0 opened this issue · comments

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?

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.

Created pull request #132 Update external dependencies.

Created pull request #143 Update external dependencies.