This is not a duplicate of the question: Unfortunately MyApp has stopped. How can I solve this?
The problem is when running an app on independent device, not connected to the computer.
Basically, I have a Flutter app that works fine in Run mode and Hot Reload of Android Studio and on the connected device.
However, when I created .apk file, placed this file to the Google Play Market and downloaded the app into the smartphone, the app does not work.
It looks like this: I press "Open" on the icon of the mobile app, I see a message "App has stopped" with available options "Open app again" and "Send feedback".
My questions are:
(1) How is it possible to check what exact failure the app has?
(2) Is it possible to use Fabric for Flutter apps? If yes - does this require the same actions as for an Android mobile app?
Thank you in advance for your support.
Sincerely,
Mary
Try this:
https://pub.dev/packages/firebase_crashlytics
Firebase crashlytics:
Whenever your app crashes or throws an error, the firebase crashlytics library will capture it and sends the details to firebase.
Make an account on firebase, and create an app. Click on Crashlytics on the side menu and complete the setup. It should start logging crashes to your firebase account.
Background:
I am getting the same issue. It works on many phones. But some of my users keep getting the error "Unfortunately myApp has stopped working". I just connected it to firebase_crashlytics. This works very well in Native Android apps. I am trying for the first time in Flutter.
Related
Some context:
I have an android application in production and in the past weeks i'm seeing an increase of reports in firebase crashlytics from android emulators calling activities outside normal flows ( for example in a chat application, starting the profile of a contact without going first to the contact chat. )
The app crashes because is expecting some data that is not currently available, but my question is:
Can google play scanner to check for virus in apks be the reason behind this runs in emulators ? Is someone having this kind of crashes too? Or i have one user testing my apk with an emulator ?
Thanks in advance.
In my cross-platform Xamarin Forms application I would like to have a Logging option. If it's enabled, it should generate a log file stating the errors or in which step the app is crashing (if any of these takes places while the app is running) and I should be able to pull and check this generated log file.
When I googled for this I found on many sites that we need to debug using usb and check it on android adb, but once the application goes live and user downloads it in their phone if app crashes any time then the user should be able to turn on the logging button and once the process is run it generates a log file. The user can then send the file to the developer to check what exactly is happening in the system.
How do I implement this feature in Xamarin Forms for both iPhone and Android?
What about analytics service like hokeyapp or appcenter.ms
They do what you and more.
But if you want to implements this by yourself is still possible but you need to write specific code on both plateform to handle exception and write them on files with stack traces
I am testing an android app I created in Unity on my Galaxy S4 and I successfully log in, and everything works great! However, while changing no settings, I test my app on a Moto X device, and when I click login button and accept permission request. Nothing happens, and I do not log in.
Is their something specific I need to provide to handle different android devices to successfully use the facebook sdk?
Any tips or help is greatly appreciated!!
It should work regardless of the device
Just make sure you are asking for read only permissions during FB login (e.g. email permission)... after successfully getting the read permission then you should be able to ask for write permissions such as uploading photos...etc
switch to development build and see what the android console log show? you should at least get some errors
I'm running a pay-per-install campaign on iOS an Android. The iOS installs seem to be tracking on the app dashboard, but no Android installs are being reported (there are installs though).
I'm trying to confirm reporting as described here.
You can confirm that the volume of installs is being correctly reported in the Insights section for your app in the App Dashboard under "Mobile App Installs". In addition, in the App Summary Page, after choosing your app, there is a time stamp 'Last Mobile Install Reported" for iOS and Android so that you can confirm that an install is being reported (see image below).
I'm calling AppEventsLogger.activateApp(getActivity(), getString(R.string.fb_app_id)); in my activities as instructed.
I also have the proguard lines to keep the SDK working.
Is there something else I'm missing? Is this a bug on Facebook's end?
It looks like misleading info in the documentation. Tracking was working. Real users are showing up on the dashboard, but my own devices were not.
I have an existing android app to which I plan to add Google cloud engine backend. I am following the steps as here
https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae.
I used the option "Google-->generate app engine backend" by right clicking on my existing project. and then went forward to test this.
I started the devapp server( I can see it running at localost:8888/_ah/admin/datastore). However When I run my application, I don't see the device registered in the 127.0.0.1:8888. The application runs as it used to run before. I tried both on emulator and on phone but the application just runs as before but I don't see any device registered in my devappserver.
Am I missing anything here?
Some basic steps for application registration were missing in my application. http://developer.android.com/google/gcm/gs.html
Adding them now and that should solve the problem.