About apk update

木幡 弘文 1 Reputation point
2021-10-28T01:11:06.137+00:00

After installing the apk created by the xamarin forms archive on the device once, when I install the apk file with the changed version, the message "Could not install" is displayed.
How should I avoid it?

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alessandro Caliaro 4,201 Reputation points
    2021-10-28T03:47:33.573+00:00

    when you install the apk, connect the device to a PC where there is installed Android Studio, in LogCat you should see the error.
    Otherwise download the logcat using adb command

    adb logcat
    This command will generate real-time output in command window. It can be stopped with CTRL+C

    adb logcat –d > filename.txt
    This command will extract the logcat information from the connected device and redirects the output to a file on the PC.
    The option –d will take care that the output will stop when all output is flushed.

    logcat -d -b main -b system -b events -v time > filename.txt
    This command will extract the Android logcat information from all 3 given buffers (main, system and events), and will add the device timestamp for each line as well.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.