google-play-services

Android : How to check google play service version for mobile vision api

女生的网名这么多〃 提交于 2020-01-17 09:09:31
问题 I am developing an application and using Mobile Vision Api for text recognizing.I noticed that its not working in some devices.After searched I understand that one reason is because of google play service version that is installed on device.So how can I check the google play service version that is installed on user device? And what is the minimum google play service version that this api could work? 回答1: You can use this for checking version GoogleApiAvailability.GOOGLE_PLAY_SERVICES_VERSION

Android Google Maps V2 giving me IllegalStateException

若如初见. 提交于 2020-01-17 08:54:45
问题 I did all of the Steps that were shown on Google and i also looked up other solution but in the i end up with this. 03-07 05:04:48.318: E/AndroidRuntime(21463): FATAL EXCEPTION: main 03-07 05:04:48.318: E/AndroidRuntime(21463): Process: com.graft, PID: 21463 03-07 05:04:48.318: E/AndroidRuntime(21463): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.graft/com.graft.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment 03

Admob live ads not appearing in libgdx application - Failed to load ad: 0

扶醉桌前 提交于 2020-01-17 06:10:09
问题 I'm currently working on a libgdx andriod app using eclipse luna and attempting to display a banner ad through admob. My app is running fine and displaying the test banner ads with no issues. When I remove my phone as a test device to receive live ads I get this error in logcat: There was a problem getting an ad response. ErrorCode: 0 Failed to load ad: 0 I've tested my app on a Galaxy Note 4 and a Samsung S5 both running android version 6.0.1. There are no custom ROMs or ad blockers on

Admob live ads not appearing in libgdx application - Failed to load ad: 0

北慕城南 提交于 2020-01-17 06:10:06
问题 I'm currently working on a libgdx andriod app using eclipse luna and attempting to display a banner ad through admob. My app is running fine and displaying the test banner ads with no issues. When I remove my phone as a test device to receive live ads I get this error in logcat: There was a problem getting an ad response. ErrorCode: 0 Failed to load ad: 0 I've tested my app on a Galaxy Note 4 and a Samsung S5 both running android version 6.0.1. There are no custom ROMs or ad blockers on

App not correctly configured to use Google Play services with a libgdx game

人盡茶涼 提交于 2020-01-16 18:49:12
问题 We develop a game using Libgdx which I'm trying to integrate with Google Play services. I'm interested in adding google multiplayer service. This is what I've done: MainActivity extends BaseGameActivity, and I've imported the BaseGameUtils project and the google-play-services_lib projects. I've added them both as Library projects of the game. I've created two client IDs in Google Developers console for both my product and my debug keys. I added my email as a tester in the Google Play

App not correctly configured to use Google Play services with a libgdx game

时光怂恿深爱的人放手 提交于 2020-01-16 18:49:09
问题 We develop a game using Libgdx which I'm trying to integrate with Google Play services. I'm interested in adding google multiplayer service. This is what I've done: MainActivity extends BaseGameActivity, and I've imported the BaseGameUtils project and the google-play-services_lib projects. I've added them both as Library projects of the game. I've created two client IDs in Google Developers console for both my product and my debug keys. I added my email as a tester in the Google Play

Can't retrieve leaderboard

不羁的心 提交于 2020-01-16 06:31:49
问题 I want to use leaderboards in my game. I set up game services project in developer's console, built api client and connected to it. But when I try to retrieve leaderboard with following code (I replaced actual id with my_leaderboard_id): startActivityForResult(Games.Leaderboards.getLeaderboardIntent(mGoogleApiClient, LEADERBOARD_ID), 100); I receive following error: 05-18 17:25:04.330: E/Volley(1443): [149] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis

Android app supports zero devices?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-15 15:19:24
问题 I've read all the SO questions that are related to this question, but none have helped me solve this problem. I uploaded an early alpha, which supported about 8000+ devices, but the current version supports zero, according to Google Play. I have only two uses-permission statements, and no uses-feature statements. I've tried removing the uses-permission statements, but (although I get another, different warning about the billing one being absent) I still allegedly support zero devices, even

Android app supports zero devices?

◇◆丶佛笑我妖孽 提交于 2020-01-15 15:15:03
问题 I've read all the SO questions that are related to this question, but none have helped me solve this problem. I uploaded an early alpha, which supported about 8000+ devices, but the current version supports zero, according to Google Play. I have only two uses-permission statements, and no uses-feature statements. I've tried removing the uses-permission statements, but (although I get another, different warning about the billing one being absent) I still allegedly support zero devices, even

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

微笑、不失礼 提交于 2020-01-14 14:04:55
问题 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