Cannot run existing Android Project com.android.tools:common:25.3.3

  • A+
Category:Languages

Help! I´m a newbie to Android Studio and Android Programming. I did some Tutorials that worked fine. Now I tried to open an existing Android project I have to edit. I´m not even sure which file I need to open, I´ve chosen the one called "app" but the folder structure looks a little different. Now I can´t run the app, it seems it fails to build it. This is the error code I get:

Could not find com.android.tools:common:25.3.3. Searched in the following locations:     https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.pom     https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.jar Required by:     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.build:manifest-merger:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.ddms:ddmlib:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:shared:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:tracker:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools.layoutlib:layoutlib-api:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:dvlib:25.3.3     project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:repository:25.3.3 

I´ve noticed that the requested files don´t even exist in the link. How do I solve this? Thank you for your answers!!

 


build-tools are currently at 28.0.3; it ordinary even should ask to fetch them (whatever version). with current Android Studio the buildTools are chosen automatically; current version is Android Studio & Gradle plugin to 3.2.1. add Google's Maven Repository for the Java dependencies.

update: there isn't even any version 25.3.3 but only version 25.3.0... only since version 26.0.0 they are available from the Google Maven repository. just see for yourself: https://mvnrepository.com/artifact/com.android.tools/common

you'd have to change buildTools to version 25.3.0 and add repository mavenCentral().

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: