essamik / BeaconMeasureApp

An Android app allowing to compare different beacons library and measure the signal received by a beacon to export it as a csv file.
0 stars 0 forks source link

Error:Failed to resolve: :app-debug: #1

Open robachmann opened 8 years ago

robachmann commented 8 years ago

Hey Karim

I'm trying to compile your project with Android Studio 1.5.1. Unfortunately, it displays the above mentioned exception while building. This is where 'app-debug' is referenced:

app/build.gradle

dependencies {
    ...
    compile(name:'app-debug', ext:'aar')
}

Do you possibly know how to fix it? When I simply comment it out, the next warnings are

Error:(20, 43) error: package ch.swisscom.beacondistanceestimator does not exist
Error:(32, 13) error: cannot find symbol class AverageDistanceEstimator
Error:(53, 44) error: cannot find symbol class AverageDistanceEstimator
Error:(133, 32) error: cannot find symbol variable AverageDistanceEstimator

Thanks and cheers Roman

essamik commented 8 years ago

Hey,

The beacondistanceestimator library is another library I've written to implement my own distance calculation, I made a reference to the other project .aar file, but I admit I should have changed this before publishing on GitHub. So I just added the library in the libs folder and fixed the dependencies. It should work now.

Karim