i created an android app using Android Studio 3.1, and then installed it on a Samsung Galaxy S6 running on Android 7.0 Nougat. The problem is that i can no longer uninstall the app from my phone:
When i try to uninstall the app, i have an crash message stating that "The uninstalling program kit has crashed" ... I tried reinstalling the app from android studio, didn't work, and when i try to reinstall it using an apk, i get the same crash message.
I will be thankful if you can help me out
Looks like issue with your device settings. Another approach to uninstall the program is through adb command. Use following command:
adb uninstall <you-package-name>
Related
I'm trying to install my app debug from my android studio. it works well yesterday, but today when I try to install it again, the application cant be installed on my device and shows errors like below on my android studio.
Installation did not succeed.
The application could not be installed: SHELL_UNRESPONSIVE
The device timed out while trying to install the application.
Retry
I changed my Virtual device. This error will not occur.
I've tried to install the application on Xiaomi Redmi 9 for the first after tring it on the emulator which worked fine but when I tried to install it on the physical device this error appeared The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE
Before installing a popup message said to uninstall the existing app, but I've searched on the phone everywhere but there was no app installed.
I tried to install another application on the same phone it worked fine with no error, I've no idea how to deal with this problem.
I need your help and thank you in advance.
My Android App is running successfully in android studio emulator, but after installing the same apk file in my mobile it is installing and it is shows the following error
Unfortunately app stopped
while I try to open it.
how to fix? My android version is 6.0(both emulator and mobile).
I suggest you check the permissions of your application. Since version 6 of Android, you must request the permissions on demand.
Look at this topic:
https://stackoverflow.com/a/34722591/3665983
I have a problem while installing the app-release.apk to my phone (Galaxy J5 2016, Android 6.0.1).
I have developed an application using Android Studio and tried to release it to the user with the .apk file.
but unfortunately, I encounter the below problems while install:
I cannot uninstall the debug version from android studio in my
phone.
There is an error of 'Package installer has stopped' whenever
I want to install it to my phone and my friends phone.
Note that I have signed the application in android studio.
This can happen when app is not installed properly via ADB.
Go to your Phone Settings -> Apps -> Select your app and Uninstall for all users.
Try to run again from Android Studio to phone.
When I run my app on my Galaxy S7, nothing shows in the logcat in Android Studio. Not even while debugging. If I use another device, I can see the logcat. On one device (Asus Padfone Android version 4.4.2) I can run my app from Android Studio and everything works fine. When I run it on my S7(Different Android version: 7.0) the app crashes in some activities but since the logcat doesn't show I can't see what the problem is. How can I get the logcat to show so I can see the issues? I've tried killing adb processes and restarting the adb server. I've invalidated cache in Android Studio. Nothing works. I was able to see the logcat prior to my S7 updating. I'm using Android Studio 2.3.1. All sdk packages are downloaded and up to date.
Note: I posted this question here because I believe it to be more relevant to programming than hardware.