I'm seeing this error in fabric which is causing a lot of crashes.
I have searched a lot but failed to find anything useful.
I found this but I cannot see how it relates to react native.
I'm not using WebView in my code but I thought maybe one of my node_modules packages is using it and the only one that included WebView in it was react-native-onesignal
Here is the full stacktrace
It's only happening in android 7. But it might just be that android put Webview in a seperate package from android 5+
This crash has been fixed in react-native master around April end 2019.
To fix this issue you need to upgrade to react-native version 0.60.0 or above.
Here is the link to the PR that fixed the issue: https://github.com/facebook/react-native/pull/24533
Edit:
To shed more light on this issue, we have been facing the same crash on our app. The most probable reason that I could find was that this crash occurs when the Android System WebView is updating in the background while your app is trying to use it. This causes the system to assume that the WebView is not installed.
This android issue is being tracked here.
How do you know that onesignal is including the webview? The source doesn't have a webview except in the proguard rules
My instincts tell me this has nothing to do with onesignal. Hope you were able to resolve
Related
When I got the build from the project, the game worked fine on all Androids. But the game crashes on Android 13! And it says that the program has stopped.
First, I said that the problem might be with the SDKs. I downloaded all the new SDKs, but the problem was not solved.
Then I said that maybe the project had a problem, and I created a new project and got the same build, but the problem was still not solved.
Then I said that maybe the problem was due to the Unity version, so I downloaded the latest version of Unity and made a build with it, but the game crashed again.
Then I said that maybe Unity couldn't build correctly, so I exported the project and built it in Android Studio. First, the apk size increased, but the game crashed again!
The project builds without errors, only when I enter the player settings and other settings; in the part that wants to load the maximum API and target, it says "getting API level..." When the API is loaded, several warnings are given in Unity! I think this could be the problem, but I haven't found any way to fix these warnings. I am posting here the screenshot of these warnings and the downloaded SDKs.
I would be grateful if someone could help me to solve this problem.
I am using Unity 2021.3.8.
Try out this one:
https://www.youtube.com/watch?v=fP1moOOWhrY,
It should solve your problems.
i have a problem when i build an apk using the command expo build:android. I've got a white screen. It seems the problem is related to firebase because i had to add react native fcm to receive notifications on my app. When i comment everything related to fcm/firebase (androidmanifest, build.gradle...) my apk works. The problem is idk where i can see the errors, what i am missing because i followed all the tutorial on the react native firebase website to install cloud messaging. If you have an idea it would really help me, thanks in advance.
this is the tutorial in question : https://rnfirebase.io/messaging/usage
I tried many times to modify the dependencies in build gradle, add new things i found in internet on the manifest, change versions... nothing works :(
try checking your Android studio logs which shows red color highlighted text in it while running the react-native application. Hope that helps you in finding the problem.
API unknown and layout doesn't show
API Unknown and layout doesn't show , please help me to fix it
You have a Gradle error. When there are Gradle errors, you will experience issues with rendering. However, in my experience having a Gradle error only causes problems with external libraries. So did you install the Android SDK?
This is only the basic solution, and I will be able to give you a more accurate answer when you add the Gradle error to your question.
So I have just started my first app in which I have a button and when user clicks on it then it just print the message.
But when I build the app and when I run that app on android studio's console then after opening it crashes and then it stops working.
Meanwhile I have searched for the error and they suggested me to see logcat table or the text file in which I can easily see the errors but after it I am stuck because I have no idea that how can I solve such problem.
Please help me with it.
Not sure how capable you are with android and you haven't given us much info to work with.
could you post a brief description of the logcat from launching the apk to the apk actually crashing?
the logcat is gonna be the best option to diagnose it.
Are you using the android sdk and emulator?
Have you updated the resources and api's?
If you go into the resource list there should a online repo with a whole lot more SDK bits you might find help.
What api's and android version is your apk built from and is your emulator emulating the same android build?
Could be the apks GUI resolution or script related, have you checked through it all?
Microsoft visual studios has a very good debug system and trouble shoot but I'm not sure if android is compatible as I've only used wp8 on it. Worth finding out though.
I found this open source project: Android Boostrap. However, I am having some troubles with getting it run in IntelliJ. I have followed their own instructions, but still I am running into some problems. Note that I just started using IntelliJ. I cannot even describe the errors I am getting very precisely, since I am not sure about what exactly is causing them. Here is the screenshot of what I have:
Navigating to the problem:
How do you suggest me to solve it?
Another snapshot regarding unsupported import: