Traccar Client Compile Errors

mc7 years ago

Hi,

I had well working and compiled Android studio project for Traccar Client. Last time was compiled 10 months ago since then I didn't made any changes on source code.

Today I wanted to make a single change the code, I opened the Android studio, got error as below:

Error:Could not find com.android.tools.build:gradle:2.2.3.
Searched in the following locations:
    file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
    file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar
    https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
    https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar
    https://maven.google.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
    https://maven.google.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar
Required by:
    project :

Consult IDE log for more details (Help | Show Log)
"openFile:C:\Tasarimlar\Java\traccar_lite-client-android\build.gradle">Open File

What changed ? Maybe Android studio IDE updated without I knew about ?

Thank You

Anton Tananaev7 years ago

Looks like you are missing some Android SDK tools. You need to install them.