I am getting JsonWebToken$Payload error on android studio while trying to run app on simulator. I also tried to run on physical device yet same error. There's no issue on iOS side, build has been developed. Can anyone please help me out? Attached the screenshot as well.
I have already tried clean project and invalidate & restart.
Any idea? Thanks
Okay, I found the solution. Just disable the instant run and it worked like a charm.
ref: https://github.com/invertase/react-native-firebase/issues/915#issuecomment-383020978
Related
I have been trying to debug the native android code that is invoked through platform channel in flutter and the debugging is only in the flutter side. The execution doesn't hit the breakpoint in the native android. The application is working as expected but the debugging doesn't. I am using Android studio. Can some one please tell me how to debug the native android code ?
Breakpoints are working fine for me when using Android Studio at project/android/, on both emulator and physical device. And remember to Debug instead of Run (^D instead of ^R). Note, it did not work when opening the project from project/.
I don't think making a new android project to write the Native code for a flutter app is a good option (vivek's suggestion). There are many Flutter specific considerations you need to make on the native side, it is not just an Android app.
If you navigate to MainActivity.kt or MainActivity.java in the android studio then you can see "Open for Editing in Android Studio" on the top right.
click on that and it will open you a new window where you can easily write native code.
Well, better if you can write whole code in a new android project and test there then use that code to make flutter plugin. I think this will be faster than to edit in flutter project.
let me know what others think.
The answer given by #Marcos Boaventura to follow this blog helped fix the issue. https://medium.com/flutterpub/flutter-app-couldnt-find-libflutter-so-c95ad81cbccd
After fixing the gradle the debug is successful. Thank you #Marcos Boaventura
I had a similar problem. Debugging native code on an emulator worked, while debugging on a physical device (Zebra TC25, Android 7.1) crashed with a Fatal signal 11 (SIGSEGV). Switching from the Flutter beta channel to the Flutter stable channel fixed it for me.
It is my first time to develop a mobile app using visual studio
this is what I have done:
creating a new crodova app
build the project
run it
when running it I get the following error message:
"Unable to get launched browser process for Ripple"
I have found solutions while searching through the website, but none of them worked. one of the solutions was to delete solution .suo files. Open Solution .sln. But where to find the solution .suo ??? I could not find it.
please I need help, and sorry if the question is not presented well, but as I said I am new to this
the problem is solved !
it was just because the Chrome was denied by the admin
This worked for me. Go to project properties, open "Configuration Manager..." and then check "Deploy" for "Debug" configuration.
I just started with Android development and installed Android Studio 1.4.1. Everything installed correctly and no errors were shown.
When I was just about to write the first lines of code Android Studio started to act really weird, like when I moved my mouse over the opened files it started to render/draw the code all over (Example, Example 2).
The weird thing is, this happens all the time after I ran Android Studio for like 2-3 minutes.
Does anyone have an idea why this is happening?
I don't know if this is still relevant but I fixed by disabling the "animate windows" Option in the setting:
Try adding "sun.java2d.d3d=false" to "Android Studio\bin\idea.properties". This worked for me.
See here: Android Studio is having a strange "cascading display" glitch?
Try
File -> Invalidate Cahses/Restart
hope it will helps
or you can try another way like this
https://stackoverflow.com/a/58214439/11404883
I know Android Studio is currently in beta, but still maybe somebody has a solution to this. Similar to Android studio running app on Samsung Galaxy S3 hangs at Uploading file I have issues when trying to run my app. It doesn't actually matter if its the physical phone or the android emulator.
I've tried with my app and a new empty project: same result. After compilation it tries to upload the app and just gets stuck. I've tried re-installation of Androidstudio and rebooting. Fun fact: on my laptop everything works just fine.
Any more ideas would be appreciated.
So actually it looks like something with the Platform tools was going wrong. A delete and install in the SDK Manager solved my issue. Weird, that the tools coming with the studio bundle are broken on my system.
Go to build and Rebuild your project. It will solve the problem.
I have made a PhoneGap/Cordova based application, that seems to work fine when tested with Chrome + Ripple.
When I'm trying to install it to my Android device(which is ADB configured, and shows up in Eclipse SDK), I get the INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES error.
By reading existing posts on the same issue, I understand that it has to deal with re-installation of the app.
But, this is the first time I am trying to run this app on any device, and I don't see how re-installing might solve the problem.
Any advice on resolving the error would be much appreciated.
Look for another app in settings->apps->downloaded that may have the same package name and uninstall it.