vitas / beaconloc

Beacon Locator - android application for scan, track and management of beacons
Apache License 2.0
104 stars 43 forks source link

Failed to resolve: support-compat #26

Closed niravtopsy closed 5 years ago

niravtopsy commented 5 years ago

I download this code and open in my android studio but getting this error , try to solve many but not solve.

Failed to resolve: support-compat

My Android studio version is : 3.2.1 stable

vitas commented 5 years ago

Please, provide full stack of the error. I use 3.2.1 but do not have the issue

niravtopsy commented 5 years ago

error

Above are the my error, i am not getting more details on it, i try to invalidate,restart, remove .gradle folder and build folder and rebuild again but no luck.

niravtopsy commented 5 years ago

Hello vitas, i am solving this error by downgrading version of buildToolsVersion to 27.0.3 and com.android.tools.build:gradle. version in outer build.gradle to 3.1.4 gradle-wrapper.property to distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

remove following line

implementation 'com.android.support:support-v4:27.1.1' implementation 'com.android.support:support-v13:27.1.1'

this replacement solve my problem

thanks for your quick reply, this is close now.