The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE - android

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.

Related

Unable to uninstall an android app : Getting a crash message

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>

Android Studio: Running application in emulator not working

Today I downloaded Android Studio for my Debian Testing system. I wanted to run a HelloWorld application but weren't able to run it. With adb I can install it without having any problems.
However, if I try to do it with Android Studio, it gets stuck on 'Installing APKs'. The same happens when I try to start it in an emulator (gets stuck on 'Waiting for target device to come online').
My device is a Samsung Galaxy S3 with LineageOS (Android 7.1.2) and root permissions. Android Studio recognizes my phone properly.
What I've already done:
installed openjdk
set android_home
installed all the SDK-platforms since Android 4.3 and Android Emulator from SDK tools
enabled USB-debugging
tried with MTP and PTP
tried another emulated phone
installed lib32stdc++6
restarted my computer
and probably much more
I tried to do it the whole evening and couldn't find a solution. Is there something Debian-specific because I can only find instructions for Ubuntu? I have never experienced anything close to this on other systems.
Thank you in advance.
EDIT: I am now able to use my phone to run the android application by using USB 2.0 instead of USB 3.0! Is that a normal behavior since it works with native adb? I mean, if I buy a new PC after some years which has got only USB 3.0 ports, will I not be able to use phone debugging with Android Studio or is this just an issue? It is still known since 2014 (https://stackoverflow.com/a/9548311/8292104).
However, I still cannot get the app running on an AVD. I changed graphics to software, now it shows the phone but the screen remains black and the phone won't start. What can I do to fix it?
Try to completely delete and install Android Studio again, I think that it will solve the problem
Another possible solution that worked for me is to, in the application, go to
app - build - intermediates - split-apk - debug - slices
and then delete all of the contents within this folder. Then again, this only worked for me, so I would duplicate the document in case of corruption.

Unable to run react-native apps on Redmi phone?

I am trying to upload my react-native apk to redmi note 3 but encountered an error unable to upload some apk after downgrading the gradle from 1.3.1 to 1.2.3 i was able to sought it but still after successfully uploading the app I can only see blank white screen. I am unable to see any app screen.
I followed https://github.com/facebook/react-native/issues/2720 but still didn't found any success.
I have worked on two version of redmi phone one is redmi note 3 with 5.0.2 android version and Mi pad with 4.4.4 android version and faced the same issue on both i.e blank screen.
I have the same problem with my Redmi Note4 ( white screen and no develop pop-up menu )
I solved this problem by giving the permission to allow your react-native app to display Pop-up Window. After that the App works fine.
It seems that you may have already solved this problem. If not, hope this answer can help you.
i dont know is my answer suitable or not ,
but i faced this problem , when i tried to root my phone using SuperSU . adb could find my device but i could not installing react-native app . so i restored my phone to before rooting and everything worked good !
my phone is Xiaomi Mi Note 3 .

APK is not getting installed in kit kat; working with advanced versions

APk is not getting installed in kitkat, it's getting closed once we click on "install" button.
it is successfully getting installed via debugging and command prompt.
No screen related apps are installed on the phone.
please help me to find solution
Thanks in advance

install fails on emulator due to inconsiatant certificates

I have been doing some changes into the default ICS launcher2 . When I install it on a device it works fine. But when i try to install on emulator it gives me following error
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
I know that it happens because of the conflict between certificate of previously installed laucher on the emulator & the one i am trying to install. I also changed the package name & tried.That also works on device but not emulator.
Thank you.

Categories

Resources