Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed installation report for android

The developer console for android has functionality for reporting runtime crashes if users decide to report a crash. Other frameworks has similar features that sends crash-reports without involving the user.

Does anyone know of a way to report installations or upgrades that has failed? With android 5.0 I am getting more and more user-reports of failed installs, but it is hard to obtain logs from non-technical users of my app.

like image 902
nilsmagnus Avatar asked Dec 01 '15 11:12

nilsmagnus


People also ask

Why do some apps fail to install?

Corrupted storage, especially corrupted SD cards, is one of the most common reasons why Android app not installed error occurs. Unwanted data might contain elements that disturb the storage location, causing the Android app can't install error.

How do I report an app not working?

Open a bug report from Android Studio by selecting Help > Submit Feedback. This is the easiest way to start a bug because it populates the bug report with your Android Studio version, Java version, and system information, which we need to properly reproduce the issue.


1 Answers

You cannot detect whether or not an installation has failed yourself, because there is no way to execute code before your app is actually installed. So the logical app to do such a thing would be the market app triggering the install (i.e. Google Play). This not only knows when each installation starts, but also knows all details about the apk to report to the right developer.

Unfortunately however, Google play does not support this currently (as far as I know) and hence you cannot detect failed installs.

On older Android phones you could ask users is to install a "logcat app" and email the logs to you for analysis, but this will only work for devices older than Jelly bean. (Read this Link)

The best solution I can come up with (Mac only) is to ask users to install AndroidTool, press one button to generate a bugreport and email that to you. Not great, but for now the best you can do.

enter image description here

like image 192
Jeroen Mols Avatar answered Oct 22 '22 07:10

Jeroen Mols