UPDATE: this is the code that kills the functionality of firebase. If I try to load from firebase a couple of seconds after this code (waiting while waiting for Task.Delay, no other code is working) it starts sending the code -13000, exception httpResult = 0. The same request worked earlier. The card is working.
GoogleMapFragment gmf = new GoogleMapFragment(context, this); FragmentTransaction ft = activity.FragmentManager.BeginTransaction(); ft.Add(mapLayout.Id, gmf, "my_fragment"); ft.Commit();
I wanted to have a google map in the layout in the same job where I work with firebase. The map works, but somehow it interferes with firebase, which only works until the Google map is created. Any ideas what might cause this?
Update 2:. If I upload a small file before initializing Google maps, I can use firebase later, so I "solved" the problem a bit dirty, but at least I can continue to work. After this "fix", I get the following error in the output, but the file still loads. I have to keep digging, now I hope the worst is over ...
error getting token java.util.concurrent.ExecutionException: com.google.firebase.FirebaseApiNotAvailableException: firebase-auth is not linked, please fall back to unauthenticated mode.
Old version of the question:
I checked all possible answers here on SO for my question, but nothing led me to the right path. There's a pretty obvious conclusion telling me that something is wrong, but I have no idea how to solve the problem. There is an answer in this question
Here is my manifest file
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="AlienChessAndroid.AlienChessAndroid" android:versionCode="1" android:versionName="1.0" android:installLocation="preferExternal"> <uses-sdk android:minSdkVersion="19" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:label="Alien Chess" android:icon="@drawable/Alien" android:largeHeap="true"> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" /> </application>
And here is what I think about the important parts from the output window
Failed to retrieve remote module version: V2 version check failed Local module descriptor class for com.google.android.gms.firebasestorage not found. Considering local module com.google.android.gms.firebasestorage:0 and remote module com.google.android.gms.firebasestorage:0 NetworkRequestFactoryProxy failed with a RemoteException: com.google.android.gms.dynamite.DynamiteModule$zza: No acceptable module found. Local version is 0 and remote version is 0. .... Unable to create a network request from metadata android.os.RemoteException .... StorageException has occurred. An unknown error occurred, please check the HTTP result code and inner exception for server response. Code: -13000 HttpResult: 0
There are not many C # sources in Visual Studio, and I canβt read that recommendations for Android studio are easy, since they are completely different for unskilled programmers.
Any ideas what else to check?