nextcloud / passman-android

:key: Android app for Passman.
https://passman.cc
GNU General Public License v3.0
92 stars 30 forks source link

Build fails: Could not find com.android.tools.build:gradle:3.0.0 #41

Closed marcelklehr closed 3 years ago

marcelklehr commented 6 years ago

Top-level build.gradle must include Google Maven repo, as explained here. Otherwise when you compile app from command line you get this:

A problem occurred configuring root project 'es.wolfi.app.passman'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:3.0.0.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom
         https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar
     Required by:
         project :

-- cross-post from relan over at GitLab: https://gitlab.com/fdroid/rfp/issues/199