Android SDK Update Sites - android

Here is my problem:
I've been using Android Studio for a month now, and I've always had issues regarding connecting google with firebase.
More specifically, in the SDK update Sites, it was completely impossible for me to check anything, all the boxes are grayed out (picture)
The Problem
Thank you in advance for your help !
I tried several tutorials that I read on the internet, but none gave a concrete result

Related

how can i solve GoogleApiManager SERVICE_INVALID for App with Location permission?

i'm new to coding and as a final project on a course I decided to build and Android app, since it's what I want to focus my studies later (kinda regret it now...).
My idea is about an app that will have GPS services and actions based on GPS locations, so I started following tutorials from the basics up, now i'm following a basic tutorial about a GPS app (in Kotlin) that just displays the current location with an on/off switch.
I'm still getting familiar with Android Studio and all the methods etc, but as of now I got to solve many of my problem since the documentation is plenty.
For the last 4-5 days i'm struggling to get it to work since i never got to get the location from it, I've followed the tutorial, I've copied code from repositories that followed the same tutorial, but in the console I keep getting:
2022-07-13 15:06:25.275 4791-4815/com.example.gps_activity_test W/GooglePlayServicesUtil: com.example.gps_activity_test requires the Google Play Store, but it is missing.
2022-07-13 15:06:25.275 4791-4815/com.example.gps_activity_test W/GoogleApiManager: The service for com.google.android.gms.internal.location.zzaz is not available: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}
up until today the second error message was logging
android.gms.internal.service.zap
instead of
android.gms.internal.location.zzaz
I've been searching for service.zap, or googlePlayServiceUtil or GoogleApiManager, but nothing to help, and I only found this github issue for an errorcode similar to mine, but I haven't understood much anything about it.
I've reinstalled google play services in my emulator, and tested the app on my physical phone but no luck.
Also using custom logging messages or displaying a text update only goes so far in the code before this problem blocks it from proceeding
The app seems to work fine, it doesn't crash, but the UI values stay at 0.0 not updating with the location informations, since I guess the app doesn't receive.
All the videos i've watched only ask for COARSE_LOCATION and FINE_LOCATION while only adding implementing the 'com.google.android.gms:play-services-location:20.0.0' copied from the documentation and also added and removed others following what I understood from the docs
As a beginner, the android doc is kinda a nightmare to understand plus it seem to constantly change and reading questions/answers or tutorials from just a year ago, many methods or arguments are different or deprecated.
Any insights on what to do?
I've been stuck for 4-5 days with no step forward...
Going on with the tutorial seems useless, since it is all based on locations, so even if I copy all the new features and functions, I'd still be stuck not knowing if they're working or not.
thanks for your time, sorry if I didn't provide enough context
Reinstalled Android Studio
Reinstalled the emulated device (specifically choosing one that has already google play store installed) and opened the project again.
Now it works also on my physical phone.

Play store message "this item isn't available"

I uploaded my app about two weeks ago and at first, after it was approved it just said it wasn't available on my devices which I understand is a compatibility issue, and was fixing it. But when I checked it a couple of days ago, it says it is not available.
I can't find anything similar to this that can help.
please if you have sources that may help or can help yourself I would appreciate it.
this is what it shows on the store
Edit:
these are the apps in the console

Can't find app on CHPlay but can see it from URL and can find on browser

I published my app from some weeks ago and it actived and also have some thousands of user. I also released some versions for it.
But yesterday, I can't search my app on CHPlay from any device.However, I still can find my app on browser in both of phone and laptop and also install it from this link.
I tried to find my app in some category of CHPlay. I still see my app but can't search it.
I also tried to release new version and it uploaded successfully :(
I don't understand why is it and what is causing this. Please tell me know what should I do in this case if you know.
Thanks.

Unity Android - Facebook integration : missing Debug Hashkey

I know that similar questions have been asked before, and I have reviewed all of the answers suggested, tried lots of different possible solutions, but still no go, so I'm asking my (same) question again...
I'm trying to access FB through a Unity app that I'm developing for Android. I downloaded the FB SDK and did as instructed on the developer website. The problem is that, when in Unity, in Facebook / Edit Settings, the Android Debug Haskey that I'm supposed to copy into the FB developer website is missing.
I tried re-generating a key with keytool and OpenSSL (which are both in my PATH, I made sure of that, too) and pasted it into the FB site, but it still doesn't work (I get an error message which goes : "Your Android setup is not correct. See Settings in Facebook menu. UnityEditor.HostView:OnGUI()"
The thing I don't get is that there WAS (and still is, but I guess it's a different file now that I've ran keytool, etc.) a debug.keystore in my %HOMEPATH%\.android folder, so there seems to be nothing wrong here either.
I restarted Unity many times (each time I tried one of the solutions described in the StackOverflow answers I'd found) to check whether the key would appear : it didn't.
I really am at my wit's end, and do not know anyone proficient enough in Android dev to help me out (I'm just a beginner # Unity). Does anybody know what I should do / doublecheck to fix that ?
NB : The only solution I have not tried is the one described in Unity : creating and building an empty project in Eclipse. Having never developed natively for Android, I have no idea how this is done...
Another way is to look at the callback from FB.Login for android. It'll provide the correct keyhash since it's generated from the device itself.
I just posted a solution for the missing hashkey in the Editor, as I need to fix this after each SDK update. In my case it is caused because the DebugKeyStorePath (FacebookAndroidUtil.cs) is incomplete and missing the drive. It can be fixed by adding System.Environment.GetEnvironmentVariable("HOMEDRIVE") in front of the System.Environment.GetEnvironmentVariable("HOMEPATH").
For more details and a code example see: Incorrect DebugKeyStorePath

Help about GoogleAdView.jar

Having noted this question has gone unanswered after a month, I hope I can meet with more success than this guy: -
Help about GoogleAdView.jar
The instructions on http://code.google.com/mobile/ads/docs/android/ states this: -
Integrating the Google Ads SDK with your Android-based app is a relatively straightforward process:
Add GoogleAdView.jar to your project's /libs directory. If you are developing in Eclipse, you will also need to add this JAR to your project's build path.
But, I do not have the file "GoogleAdView.jar" in the SDK - nor on my hard-drive anywhere for that matter, nor can I find it on the android SDK downloads or updates. I've searched for a couple of hours now for it with no luck. I am stumped before I even got a chance to start! I have an Adsense account, and am pretty sure I am doing everything right.
I live in Australia if that makes any difference.
The answer to my question is here: -
http://google.com/support/forum/p/AdSense/thread?tid=0d0fe53ca006d699
Currently the AdSense SDK for Android is in Beta only, and seems to only be available in the USA.
A working solution in my case was to go with AdMob http://www.admob.com
and the instructions to get you started can be found here http://developer.admob.com/wiki/Android
One thing that Wiki didn't make obvious was where the "Sites & Apps" tab is; you first have to click the "Marketplace" button at the very top of the browser - once you are logged in with an account with them that is.
Also note this is still a Google solution.

Categories

Resources