Did anyone successfully build location service into Android Things? I am trying to use LocationServices, but it cannot connect with Google Play.
It complains "W/GooglePlayServicesUtil: Google Play Store is missing." and ConnectionResult is {statusCode=SERVICE_INVALID, resolution=null, message=null}
I have setup wifi on Android Things (Intel Edison) and it can fetch a webpage successfully.
The following is my gradle file.
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
applicationId "com.example.androidthings.myproject"
minSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:10.2.6'
provided 'com.google.android.things:androidthings:0.4-devpreview'
}
My first ever question on stackoverflow. Many thinks for your help!