google-play-services

I'm getting error: “:BaseGameUtils:processDebugAndroidTestManifest” on Android Studio startup only

百般思念 提交于 2020-01-14 14:03:11
问题 My android app is using BaseGameUtils and every time I start Android Studio I get the following error: Error:Execution failed for task ':BaseGameUtils:processDebugAndroidTestManifest'. java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library [com.android.support:appcompat-v7:20.0.0] F:\Programowo\androidapps\FixMath\BaseGameUtils\build\intermediates\exploded-aar\com.android.support\appcompat-v7\20.0.0\AndroidManifest

Game Features section in Play Store app's detailed view

点点圈 提交于 2020-01-14 09:53:07
问题 If you search for Super Stickman Golf 2, you will see a section called "Game Features" that shows which features are available (multiplayer and achievements). But my game Minesweeper 3D, which also has Google Play Games support (leaderboards and achievements) doesn't have this section. The question is: Do I have to do anything or is it google that manually adds this section for chosen apps? Super Stickman Golf 2 Screenshot: Minesweeper 3D Screenshot: 回答1: That should be automatic. Once you

Missing APIs & auth > Registered apps in Google cloud console / How do I obtain GCM API key?

≡放荡痞女 提交于 2020-01-14 07:44:09
问题 This question is already asked here and is closed as "off - topic". I didn't see any stackexchange network sites for asking this question so I am re-asking here. I know this is very confusing problems for beginner. I was trying to use Google cloud messaging service. I had followed the official android developer guide. I had performed all the steps as mention there but got stuck at a point where it says "In the sidebar on the left, select APIs & auth > Registered apps ." I looked at left side

SettingsClient's request for location is always getting RESULT_CANCELED

无人久伴 提交于 2020-01-14 07:27:12
问题 In getting current location flow, I am using SettingsClient to check if location settings are satisfied based on current LocationRequest. Currently, my priority is set to HIGH_ACCURACY, which needs GPS to be enabled at all costs. fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this); settingsClient = LocationServices.getSettingsClient(this); locationRequest = LocationRequest.create() .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY) .setInterval(500)

GooglePlayServicesUtil.getErrorDialog does nothing

旧街凉风 提交于 2020-01-14 05:29:13
问题 I am trying to handle use cases where the user doesn't have Play set up correctly. It seems extremely straight forward, but I can't get the dialog to do anything. I have the following code in onCreate for a FragmentActivity that uses Maps v2 . I have ensured that execution does go inside the if statements. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_map); this.helper = (DatabaseHelper) OpenHelperManager

android - Get location and send data to remote server ONLY while condition is true

爷,独闯天下 提交于 2020-01-14 05:25:12
问题 I am building an app that needs to send the user's location to a remote server (Pusher in this case). The goal is to update their location on a map in near real-time but only when they are on a job, otherwise the app will not need to track their location. I need the location updates to remain active if they leave the activity where they accepted the job (and therefore were placed on the map) and if they leave the app altogether. Once they have reached their destination, I wish to stop this

File google-services.json is missing, but what services?

∥☆過路亽.° 提交于 2020-01-14 00:33:54
问题 I'm facing issues when using one of the new Firebase features which came out a few days ago. My application has used Firebase before, but now I want to add the storage feature. Therefore I added the dependency to my gradle file: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.firebase:firebase-client-android:2.5.2+' compile 'com.firebase:geofire:1.1.0+' testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.2.0' compile 'com.android.support

How to open “All” by default instead of “Social” in Google Leaderboard?

老子叫甜甜 提交于 2020-01-13 12:06:53
问题 I have integrated Google Leaderboard in my android game app. When I open it, it goes to "Social" mode by default (aka my Google circle). I need to manually switch to "All" mode (players from all around the world). How can I make "All" mode default? 回答1: There is an overloaded method that takes all the parameters: getLeaderboardIntent (GoogleApiClient apiClient, String leaderboardId, int timeSpan, int collection) You can get the intent and display the all leaderboard by: Intent intent = Games

aidl.exe Error while creating directories: Invalid argument

前提是你 提交于 2020-01-12 19:31:23
问题 I updated my sdk yesterday and I encountered a problem. Google Play Library seems to be broken. I couldn't understand the error and I couldn't find how to solve this problem. Any idea how to solve this problem without waiting Google? aidl.exe E 3628 7164 io_delegate.cpp:102] Error while creating directories: Invalid argument Screenshot of bug Edit: As I see, this is a bug on 24.0.0 but still I can't understand how to solve this? Edit2: My codes worked before the update. https://code.google

Gradle error: Unexpected inputs: android.gms:play-services

孤人 提交于 2020-01-12 04:19:09
问题 In RunTime show error in Gradle the error: Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'. Unexpected inputs: ImmutableJarInput{name=com.google.android.gms:play-services-basement:9.0.0, file=/home/nawaf/AndroidStudioProjects/YugiohDeckBuilder/app/build/intermediates/transforms/profilers-transform/debug/43.jar, contentTypes=CLASSES, scopes=EXTERNAL_LIBRARIES, status=REMOVED}, ImmutableJarInput{name=com.google.firebase:firebase-analytics:9.0.0, file=/home/nawaf