Bridouille / android-beacon-scanner

A simple android iBeacon, AltBeacon, Eddystone and RuuviTag beacon scanner
https://play.google.com/store/apps/details?id=com.bridou_n.beaconscanner
331 stars 108 forks source link

Error while running the project "unknown property " #12

Closed wama2 closed 6 years ago

wama2 commented 6 years ago

Hello,

I got this error when I import the project: "Error:(11, 0) Could not get unknown property 'beacon_scanner_key_password' for SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=BeaconScannerKey, keyPassword=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig. Open File"

my android Gradle is up to date even I reimport the project twice but I got at the end the same error?

Thanks

Bridouille commented 6 years ago

Hi,

This is coming from the "release" signing configuration of the app. I have something like this in my gradle.properties (~/.gradle/gradle.properties)

beacon_scanner_key_password=mey_key
beacon_scanner_store_password=my_store_password
beacon_scanner_store_file=/path/to/my/keystore

For it to work:

  1. Add these 3 keys in your gradle.properties

OR

  1. Remove the signingConfigs (and the signingConfig signingConfigs.release from release and preRelease build variants) in the build.gradle
wama2 commented 6 years ago

Thanks a lot now it's working

joshfernandez commented 4 years ago

Hi, @Bridouille! I was able to add the 3 keys in my gradle.properties, but I get ERROR: No value has been specified for this provider.

What should I do? Where can I get /path/to/my/keystore?