草庐IT

Play-Services

全部标签

android - 为 Android 生成 google-services.json

这可能是个愚蠢的问题,但我在尝试为我的应用生成google-services.json文件时遇到了问题。我正在关注这个guidefromthegoogledevelopersteam设置我的分析项目但是当我点击getconfigurationfile按钮没有任何反应,我只是得到一个永远不会结束的加载微调器。我在不同的浏览器上都试过了,还是一样。我检查了chrome控制台并得到:Refusedtodisplay'https://accounts.google.com/ServiceLogin?service=cloudconsole&osid=1&passiv…3Dtrue%26cntl

java - 安卓工作室 : How to exclude google-services module in product flavor?

在我的Android项目中,有几种产品风格:buildTypes{release{}debug{}staging{}}productFlavors{freeVersion{}proVersion{}partnerVersion{}}另外,我使用GoogleAnalytics:applyplugin:'com.google.gms.google-services'dependencies{compile'com.google.android.gms:play-services-analytics:8.4.0'}如何在其中一个中排除谷歌服务?例如,在:freeVersion{}

android - 删除 Google Play Beta 测试成员

有没有办法在开发者控制台中从我的GooglePlayBeta测试组中删除成员?我已将它们从我的Google+社区中删除,当用户检查他们的G+社区时,我的未列出。但是,当他们去商店搜索我的应用时,他们仍然会看到并下载测试版。 最佳答案 用户将需要离开测试。他们通过转到您最初提供的链接(即他们用来进入测试的链接)并单击“离开测试”来完成此操作。 关于android-删除GooglePlayBeta测试成员,我们在StackOverflow上找到一个类似的问题: h

java - 无法为 intellij 解析符号 @integer/google_play_services_version

A不确定为什么会出现此错误...这是我的AndroidManifest.xml文件。我添加了GooglePlayServices、Repository和AndroidSupportLibrary。不确定我是否需要另一个插件或什么 最佳答案 尝试在build.gradle文件中添加:dependencies{compile'com.google.android.gms:play-services:7.5.0'} 关于java-无法为intellij解析符号@integer/google_p

Android Vertical Seek Bar 像 Google Play Music App

我想要像下图那样的VerticalseekBar(forandroid4.O+))。它在GooglePlayMusic应用。我试过下面的方法:但是我不能设置高度和宽度我想要如下:现在我用过这个StackAnswer但是管理多个垂直搜索栏太难了。我正在寻找比这更好的方法。编辑:我使用了以下来自iDroidExplorer'sanswer的代码尝试显示垂直搜索栏:privatevoidsetupEqualizerFxAndUI(){for(shorti=0;i但它看起来像下面:指标没有显示。如果我只使用一个seekBar,那么它看起来像下面这样:它就像在布局文件中使用:android:ro

android - 使用 google-play-services 混淆

我有一个Android项目(target=GoogleAPIs:17)。我正在使用Proguard,一切正常,直到我将google-play-services库添加为依赖项。现在我收到以下错误:java.lang.IllegalArgumentException:Valueisnotareferencevalue[proguard.evaluation.value.InstructionOffsetValue]atproguard.evaluation.value.Value.referenceValue(Value.java:97)atproguard.optimize.evalua

android - 更新到 Google Play 服务 9.0.0 后找不到符号变量 GoogleAuthUtil

编译错误:Error:(xx,xx)error:packagecom.google.android.gms.authdoesnotexistError:(xx,xx)error:cannotfindsymbolvariableGoogleAuthUtil 最佳答案 GoogleAuthUtil已移至GooglePlay服务9.0+SDK中的-authSDK拆分。如果您需要在Android上访问RESTAPI,请在您的build.gradle文件中包含-auth拆分:compile'com.google.android.gms:pla

android - Google Play 服务任务 API : continueWith vs continueWithTask

这是关于Task.task.continueWith()和task.continueWithTask()有什么区别,你能分别举个例子吗? 最佳答案 continueWith之间的主要区别和continueWithTask是Continuation的通用类型之一你传递给它。您可以将Continuation视为将某种输入类型转换为某种输出类型的东西。如果你定义一个Continuation,其中IN是传递给其then的输入类型通过Task的方法,和OUT是方法返回的类型。调用continueWith时,你传递一个Continuation,

android - 未找到 Google Play 服务资源

我使用SDK管理器更新了SDK,在更新SDK“google-play-services_lib”后未被编译,它显示以下错误。**extras\google\google_play_services\libproject\google-play-services_lib\res\values-v11\appinvite_styles.xml:5:error:Errorretrievingparentforitem:Noresourcefoundthatmatchesthegivenname'@android:style/Theme.Holo.Light.DialogWhenLarge.N

android - 新发布的 "Authentication with Google Play Services",通过 GoogleAuthUtil.getToken 获取 token 时出现问题

更新:刚才我使用我也用于GoogleAppEngine的Google帐户注册了GoogleAPI,现在错误已更改为com.google.android.gms.auth.GoogleAuthException:UnknownGoogle刚刚发布了一种新方法signuptoone'sappviaaGoogleAccount并在他们的blogpost中给出了一些解释,也。我正在编写一个Android应用程序,您必须注册才能创建用户帐户,并且我在后端使用GoogleAppEngine。通过播放服务,我想获得与他们的Android设备相关联的用户电子邮件和token。我已经可以收到电子邮件,但