I'm using a new version of the Facebook SDK, in my android app, where the Util.java class is deprecated and hence I can't find the ENABLE_LOG variable at all (which all the current solutions online ask us to find and change). Instead I had to enable log in the facebook manifest using . And even then there was no log error. This error (misconfiguration) occurs even though I've used the keyhash generated by the .keystore file which I used to sign my app before release.
The issue got resolved only when I deleted the Facebook app from my phone, which is ridiculous. Does anyone know the actual solution to this problem?
Related
I'm trying to upload an apk for distribution on firebase but I get this error instead:
"There's been an error processing your distribution. Ensure you're uploading a valid IPA or APK and try again. Additional information about this error: Invalid APK file."
I'm indeed trying to upload an apk (which by the way, works fine on device). I thought the issue could be related to the android keystore, but that seems okay too. Can't find much more info on this online. Any suggestions?
There could be various reasons for this type of issue and you can try the below methods to solve the problem.
Try to upload apk via a google chrome OR any other browser. Reason for saying this is sometime problem is your session invalid. Using any different browser such as firefox,IE etc. would create new session and allow to upload apk.
Sometimes it happens due to low internet speed speed but it's rare.
It could be happened with the application icon. You must need to be set in the AndroidManifest.xml file
You can contact to firebase support team if above doesn't work. Link
All of sudden google console started throwing an error message saying - "At least one of your app or app bundles contain an actions.xml file."
I have searched my entire app, there is no actions.xml.
Also used Analyze Apk tool of android studio to cross verify if any lib or other module may adding the actions.xml.
Here is one troubleshoot link from google (link) it describe the process To accept the Actions on Google Terms of Service.
But question remains the same that project doesn't contain any actions.xml.
Is it a console bug or I am missing anything.
This was very weird but when I tried to upload the apk after sometime it worked perfectly fine without any error messages.
As I rightly mentioned in the question there was no action.xml and action tag anywhere in my entire project.
It seems to be a console bug in my case.
It was a Google Play Console bug:
Thanks for your patience while our team investigated the behavior you experienced.
They have recently made some changes that should fix the problem. With the recent set of changes, please check to see if you are still experiencing the same issue. If so, I will be happy to see how else we can help.
Please ensure to clear your browser's cache and cookies first using the instructions available in our help center before accessing the Play Console again.
I am using firebase crash reporting API in my Android app.
Crash reporting is working fine and showing the error on crash reporting dashboard.
But I am not able to upload mapping.txt file on the firebase.
I got mapping file from below location.
\app\build\outputs\mapping\release\mapping.txt
The firebase dashboard image is below
I contact firebase support team and they give me some suggestions as bellow.
Please retry using an incognito window, or do the following when uploading proguard mapping file:
– log out of your dashboard
– clear your browser cache
– disable all plugins/extensions/addons
– restart the browser
– log in again
If you are still having issues:
– try to connect using other browser or network
– open your JavaScript console and see if there are errors
– send us your browser/os version
– send a screenshot of errors in JavaScript console if possible
I solved my issue when I try to upload a file from another browser.
Hope this will help anyone who is facing the same problem like me.
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
I have been trying to add Google Drive(v2) into my Android application and I can’t get past authorization. I have been getting UserRecoverableAuthIOException, with the message “NeedPermission.” I have a feeling that there is something wrong with my Client ID on Google API Console, but I thought I should post here to see if anyone could shed some light on my situation.
I have implemented the Drive Quickstart for Android, and I ran DrEdit with no problems. (https://developers.google.com/drive/quickstart-android and https://developers.google.com/drive/examples/android)
The only real difference between my application and the sample/example applications is that the Google Drive code would be in a library project, so I tried the following:
I created a project with a package name (Let’s call it com.example.googledrivetest), that had the Android Quickstart code. This ran perfectly.
Then, I made this project into a Library Project, and changed the package name (Let’s call this com.example.googledrivetestlibrary), and made a project with “com.example.googledrivetest” as the package name. This new project called the library project. Running this new project worked correctly as well!
So, I tried moving the code that was getting the UserRecoverableAuthException in the other project into the library project (since, it was working). To my surprise, it worked perfectly.
Now, both “com.example.googledrivetest” and my other application (with the exception) are both registered on Google Console APIs’ API Access. So I tried changing “com.example.googledrivetest” to “, and then it started getting the UserRecoverableAuthIOException. If I changed it back to “com.example.googledrivetest,” it worked again.
So, I was wondering if there is anything I am doing wrong, or need to add to my code to get it to work.