google-play-services

Supporting a Dagger 2 dependency in a Dagger 1 project

折月煮酒 提交于 2020-02-25 02:13:10
问题 This is a follow-up to my question about Play Services Cast Framework, where the solution seems to be updating from v17.0.0 to v18.0.0. The new version unfortunately has a dependency on Dagger 2, whilst the (large & complex) project is Dagger 1. We are currently using: api "com.google.android.gms:play-services-cast:17.0.0" api "com.google.android.gms:play-services-cast-framework:17.0.0" Updating these to 18.0.0 results in: > 1 exception was raised by workers: java.lang.RuntimeException:

Supporting a Dagger 2 dependency in a Dagger 1 project

我的未来我决定 提交于 2020-02-25 02:10:11
问题 This is a follow-up to my question about Play Services Cast Framework, where the solution seems to be updating from v17.0.0 to v18.0.0. The new version unfortunately has a dependency on Dagger 2, whilst the (large & complex) project is Dagger 1. We are currently using: api "com.google.android.gms:play-services-cast:17.0.0" api "com.google.android.gms:play-services-cast-framework:17.0.0" Updating these to 18.0.0 results in: > 1 exception was raised by workers: java.lang.RuntimeException:

Duplicate class from androidx.core:core:1.0.0 and com.android.support:support-compat:26.1.0

五迷三道 提交于 2020-02-23 03:51:48
问题 This is my build.gradle : buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' repositories { maven { url 'https://maven.fabric.io/public' } google() } android { compileSdkVersion 26 buildToolsVersion '26.0.2' useLibrary 'org.apache.http.legacy' defaultConfig {

Duplicate class from androidx.core:core:1.0.0 and com.android.support:support-compat:26.1.0

为君一笑 提交于 2020-02-23 03:51:19
问题 This is my build.gradle : buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' repositories { maven { url 'https://maven.fabric.io/public' } google() } android { compileSdkVersion 26 buildToolsVersion '26.0.2' useLibrary 'org.apache.http.legacy' defaultConfig {

Google-Play-Services: Creating custom waiting room UI

不羁的心 提交于 2020-02-14 13:24:02
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Google-Play-Services: Creating custom waiting room UI

只愿长相守 提交于 2020-02-14 13:23:09
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Google-Play-Services: Creating custom waiting room UI

故事扮演 提交于 2020-02-14 13:22:50
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Unity3d, GooglePlayServices and PlayGamesPlatform.Instance.LoadScores - can't write values to variable

孤街醉人 提交于 2020-02-08 03:08:27
问题 I'm trying to learn how to use GooglePlayServices in Unity but i have a little problem that i can't handle. So i can get all information from leaderboard and prompt it in Log but i can't do enything else. Here is my code: IScore[] scoresFromLeaderboard = null; PlayGamesPlatform.Instance.LoadScores( GPGSIds.leaderboard_highscore_leaderboard, LeaderboardStart.TopScores, 10, LeaderboardCollection.Public, LeaderboardTimeSpan.AllTime, (data) => { scoresFromLeaderboard = data.Scores; Debug.Log(

Android Play Services Leaderboard cannot be installed (BaseGameUtils)

北慕城南 提交于 2020-02-02 13:52:52
问题 I follow https://developers.google.com/games/services/android/init to setup leaderboards. So in my game project I have setup google_play_services lib as it already uses AdMob. Now I need to all Also BaseGameUtils. But the steps in section "Setting up your game project" in the link above don't work. Let me tell what I have done: Opened https://github.com/playgameservices/android-basic-samples and pressed "Download ZIP". Extracted the zip and imported the folder into my project. Disselected all

Android Play Services Leaderboard cannot be installed (BaseGameUtils)

谁说胖子不能爱 提交于 2020-02-02 13:46:07
问题 I follow https://developers.google.com/games/services/android/init to setup leaderboards. So in my game project I have setup google_play_services lib as it already uses AdMob. Now I need to all Also BaseGameUtils. But the steps in section "Setting up your game project" in the link above don't work. Let me tell what I have done: Opened https://github.com/playgameservices/android-basic-samples and pressed "Download ZIP". Extracted the zip and imported the folder into my project. Disselected all