我有一个谷歌播放服务的问题.我正在使用Google-API进行oAuth2身份验证和日历/ Gmail信息.昨天一切正常,但今天他告诉我,我需要一个更新版本的Google PLay服务.Android Studio今天早上更新了任何软件包.如果我开始联系GoogleAPI,这是Logcat的错误行:
09-22 11:59:01.692: W/GooglePlayServicesUtil(2819): Google Play services out of date. Requires 9683000 but found 9452480
Run Code Online (Sandbox Code Playgroud)
这是我的grade.build:
apply plugin: 'com.android.application'
android {
signingConfigs {
config {
keyAlias XXXXX
keyPassword XXXX
storeFile file(XXXX)
storePassword XXXXX
}
}
compileSdkVersion 23
buildToolsVersion '22.0.1'
defaultConfig {
applicationId XXXX
minSdkVersion 14
targetSdkVersion 22
signingConfig signingConfigs.config
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.config
}
debug {
debuggable false
jniDebuggable false
signingConfig signingConfigs.config
renderscriptDebuggable false
}
} …Run Code Online (Sandbox Code Playgroud) 我正在开发一个 Android 屏幕小部件。默认大小(如果我将 Widget 从 Widget-List 拖放到我的主屏幕上)设置为 3x3,但我没有找到可以更改它的位置。谁能解释我如何在另一个值上设置默认值?