Fabric.io error start Android 2.3.3 (api 10) - android

I have the following error:
12-03 12:20:08.270 28282-28312/com.topantidevelopers.goloud E/Fabric﹕ Unknown error while loading Crashlytics settings. Crashes will be cached until settings can be retrieved.
java.lang.NullPointerException: Attempt to invoke interface method 'void com.android.okhttp.internal.http.Transport.writeRequestHeaders(com.android.okhttp.Request)' on a null object reference
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:599)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:379)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:323)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:152)
at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getHeaderField(DelegatingHttpsURLConnection.java:190)
at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:25)
at io.fabric.sdk.android.services.network.HttpRequest.header(HttpRequest.java:1875)
at io.fabric.sdk.android.services.settings.DefaultSettingsSpiCall.invoke(DefaultSettingsSpiCall.java:93)
at io.fabric.sdk.android.services.settings.DefaultSettingsController.loadSettingsData(DefaultSettingsController.java:80)
at io.fabric.sdk.android.services.settings.DefaultSettingsController.loadSettingsData(DefaultSettingsController.java:64)
Also appeared this message at the time of import of libraries:
io-fabric-sdk-android_fabric] Using 1.7 requires compiling with Android 4.4 (KitKat); Currently using API 10
Maybe it's version.
Can someone help me?

Related

android(Flutter): camera not working in Android 11 MIUI 13. throwing CameraException(error, Attempt to invoke virtual method 'int android.hardware

Flutter camera not working throwing following exception
CameraException(error, Attempt to invoke virtual method 'int android.hardware.camera2.CameraCaptureSession.capture(android.hardware.camera2.CaptureRequest, android.hardware.camera2.CameraCaptureSession$CaptureCallback, android.os.Handler)' on a null object reference). Error thrown CaptureImageCubit.
Even we tried using 'example_app' given by the flutter camera plugin on pub.dev. it's giving the same error
Note: The user is able to use his camera on other third-party devices

void android.content.res.StringBlock.close() error using react-native-webrtc or jitsi

Hi, I am trying to include in my project using react-native-webrtc react native module but I am getting the following error. The main tip is that I got the same error when I used jitsi. Has anyone encountered this problem before? I've never seen a similar anywhere.
1. Application is receiving build success
2. App crashes when runtime
3. Unfortunately I have no more arguments for solving this problem.
E/System: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.content.res.StringBlock.close()' on a null object reference
at android.content.res.ApkAssets.close(ApkAssets.java:201)
at android.content.res.ApkAssets.finalize(ApkAssets.java:191)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:289)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:276)
at java.lang.Daemons$Daemon.run(Daemons.java:137)
at java.lang.Thread.run(Thread.java:929)

ADAL Android library crash

The app crashes for most of the users after an update from the Play store.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equalsIgnoreCase(java.lang.String)' on a null object reference
at com.microsoft.aad.adal.TokenCacheAccessor.isMultipleMRRTsMatchingGivenApp(SourceFile:440)
at com.microsoft.aad.adal.AcquireTokenSilentHandler.tryMRRT(SourceFile:268)
at com.microsoft.aad.adal.AcquireTokenSilentHandler.tryRT(SourceFile:216)
at com.microsoft.aad.adal.AcquireTokenSilentHandler.getAccessToken(SourceFile:114)
at com.microsoft.aad.adal.AcquireTokenRequest.tryAcquireTokenSilentLocally(SourceFile:499)
at com.microsoft.aad.adal.AcquireTokenRequest.acquireTokenSilentFlow(SourceFile:475)
at com.microsoft.aad.adal.AcquireTokenRequest.tryAcquireTokenSilent(SourceFile:379)
at com.microsoft.aad.adal.AcquireTokenRequest.performAcquireTokenRequest(SourceFile:358)
at com.microsoft.aad.adal.AcquireTokenRequest.access$200(SourceFile:57)
at com.microsoft.aad.adal.AcquireTokenRequest$1.run(SourceFile:131)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
ADAL library version - 3.0.2
It's known to the project developers as an error while using proguard/dexguard.
Sample issues:
- ADAL Plugin integration is crashing with proguard/dexguard
- Resiliency fix to not crash: Null Pointer Exception at isMultipleRTsMatchingGivenAppAndResource
- NullPointerException in isMultipleMRRTsMatchingGivenApp

Expo 31.0.2: ExpoKit StripeModule is null

I ejected from expo for integrating Expo Payments for both IOS and Android. Getting StripeModule as null.
Steps that i have done for Payments
expo eject
Selected ExpoKit option
expo start
Ran project on android studio without applying any change of gradle versions
As this project’s sdk version was > 30 so there were no changes required for payments integration
imports are like this - import {PaymentsStripe as Stripe} from 'expo-payments-stripe';
initializing Stripe in componentDidMount as below:-
Stripe.setOptionsAsync({
publishableKey: 'sk_test_VTUPYk8pxYap0g8fhpg9qdKF',
androidPayMode: 'test', // Android only
})
Getting warning after this code:-
Exception occurred while executing exported method init on module
StripeModule: null
As the StripeModule is null according to the warning above. whenever i call a function to get token, it is giving NullPointerException
java.lang.NullPointerException: Attempt to invoke virtual method 'void
com.stripe.android.Stripe.createToken(com.stripe.android.model.Card,
java.lang.String, com.stripe.android.TokenCallback)' on a null object
reference

Exception while Dropbox API tries to read a resource - might be multidex issue?

I have an Android app with Dropbox support. Lately I've started getting an exception for some users. I can not reproduce it. It affects just a few users. The exception happens when Dropbox tries to access /sdk-version.txt which is one of their resources. On Android Studio I can see the resource is there, here is a screenshot:
And like I said, it doesn't happen for me or for most of my users. If I use apktool on my apk, the sdk-version.txt file shows up on a folder called unknown. I see a lot of other files there but most have a package, this one doesn't. Not sure if that matters.
I also have this line on my gradle file multiDexKeepFile file('multidex-config.txt') and in there I have:
com.dropbox.core.DbxRequestUtil
com.dropbox.core.http.HttpRequestor
com.dropbox.core.DbxSdkVersion
Those were all attempts at fixing this but it didn't help.
So far the exception has happened on Android 5 and 6 across multiple manufacturers. This is the exception:
Fatal Exception: java.lang.ExceptionInInitializerError
at com.dropbox.core.DbxRequestUtil.buildUserAgentHeader(DbxRequestUtil.java:151)
at com.dropbox.core.DbxRequestUtil.addUserAgentHeader(DbxRequestUtil.java:136)
at com.dropbox.core.DbxRequestUtil.startPostRaw(DbxRequestUtil.java:233)
at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:107)
at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:284)
at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:102)
at com.dropbox.core.v2.users.DbxUserUsersRequests.getCurrentAccount(DbxUserUsersRequests.java:120)
at mypackage.UserDropbox.(UserDropbox.java)
at mypackage.DropboxHelper$1.run(DropboxHelper.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:81smiling face with sunglasses
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.jar.JarVerifier.removeMetaEntries()' on a null object reference
at java.util.jar.JarFile.getInputStream(JarFile.java:381)
at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222)
at java.net.URL.openStream(URL.java:470)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444)
at java.lang.Class.getResourceAsStream(Class.java:1412)
at com.dropbox.core.DbxSdkVersion.loadLineFromResource(DbxSdkVersion.java:34)
at com.dropbox.core.DbxSdkVersion.loadVersion(DbxSdkVersion.java:56)
at com.dropbox.core.DbxSdkVersion.(DbxSdkVersion.java)
at com.dropbox.core.DbxRequestUtil.buildUserAgentHeader(DbxRequestUtil.java:151)
at com.dropbox.core.DbxRequestUtil.addUserAgentHeader(DbxRequestUtil.java:136)
at com.dropbox.core.DbxRequestUtil.startPostRaw(DbxRequestUtil.java:233)
at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:107)
at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:284)
at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:102)
at com.dropbox.core.v2.users.DbxUserUsersRequests.getCurrentAccount(DbxUserUsersRequests.java:120)
at mypackage.UserDropbox.(UserDropbox.java)
This isn't a direct solution.
You can integrate fabric clashlytics into your app to get a full report on the cause of the exception and information on the type and OS of devices experiencing the Exception.

Categories

Resources