android installer is showing as update despite of absence of previous versions - android

I created an app with LiveCode and installed it on my tablet (Jelly Bean 4.1.2) few times. I'm not able to install the latest version of the app nor the older versions that were installed without any problems before. When I tap to install the app the message asks if I want to install an update to existing application despite that the previous versions are uninstalled. When I tap on Install the message comes: "App not installed". The app is about 7 MB and I have plenty of space on the tablet. What is the reason for this problem and how to fix it?

Changing the app Identifier in the standalone settings fixed the problem.

Related

Unable to install an application via Android Studio

I'm currently coding an android application, and since yesterday, my phone refuses to install it. I've checked the logs available via ADB, and I found a line saying: PackageManager: Package com.package.example signatures do not match previously installed version; ignoring!. So I decided to manually uninstall the previous version, but the error still remains, and the installation fails again and again. Does anyone know how to clean previous installations? I've tried to wipe cache from EMUI mode too.
My phone: Huawei Mate 20 pro
EMUI version: 9.1.0
Remove the application for all the users.
You need to uninstall it because you are using a different signature than the original. If it is not working it might be because it is still installed for another user on the device. To completely uninstall, go to Settings -> Apps -> Options (the three dots on top right) -> Uninstall for all users

APK which I developed used to work fine earlier, but suddenly stopped working with "App not installed" error

I was working on an android app to push FCM notifications.
Now this debug app was getting installed on my mobile properly, however since am using my office laptop with intel-vt (HAXM) disabled I could not use the emulator and since the USB is also disabled, I could not use the ADB to side load.
So I was left with building the APK and manually side loading it on my mobile every time I made even a small change.(Redmi Note 5 Pro).
Now this app was working fine till the last time I uninstalled it.After which I tried to install the new version which failed with error "App not installed". Then I went on to install the older version thinking I might have screwed up something in the latest version, however all the older version APKs which were working absolutely fine earlier (at least they were installing i mean) stopped getting installed with the same error.
I have already uninstalled the older version and have double checked from system and there is no earlier APK existing on my mobile.
This is driving me crazy and has put a complete halt on my work as this is the only mobile I have. And yes I have tried restarting my mobile, I have even disabled MIUI optimizations from developers menu.
PS - I am an extreme noob at Android and have recently started with Android development so please forgive me if my question sounds very silly.
Appreciate any help I can get on this.
Please follow the following steps:
Go to Settings -> Permissions -> Install via USB: Uncheck your App if
it's listed.
Go to Settings -> Additional Settings -> Privacy: Check the Unknown
Sources option.
Finally go to Settings -> Additional Settings -> Developer options:
Check the Install via USB option.

How to simulate an Android firmware update on Android Studio Emulator?

I'm running the latest Android Studio (2.3.3) on my machine, and I would like to know how to update from an Android version to another without losing apps.
I'm trying to emulate a Google Pixel XL with firmware 7.1, installed my test app, and then when I tried to change from Advance Settings my firmware version to the latest, Android O (8), I noticed that all the third party apps were deleted, and it sees my device as a new one with factory reset.
Do you have any solution for this problem? My purpose is to see if the upgrade affected my app in any way.

Updated Android SDK, now have problems installing apk to real devices

I'm developing a taxi order application for Android. Two days ago I got stuck with a problem that I couldn't use Internet on emulator - it refused to work. The cause was in network settings in Windows, but I learned it later. That time I just tried to reinstall Android SDK hoping everyrhing will be repaired. Before that I was working with revision 16. Now I installed revision 20. My Eclipse ADT plugin automatically updated to support newer SDK version.
Now I work without real device and test everything on Android emulator. Today I sent the newest release of my app to my chief but I refused to be installed. The minimal SDK version is 8 (2.2), and the chief has an Android 2.3 device. He tried to install this app onto other two devices. Another 2.3 device also declined apk, but a 2.2 device accepted it. What's the problem? Note that I didn't set max SDK version. I also tried installing and running my application an a 2.3 emulator, everything was fine.
P.S. Problem solved, see Tim's suggestion below.
If he had an old version installed have him try uninstalling that first. My guess is that you got a new debug key and it is failing install due to different keys.

App showing force close when installed in my android phone. But runs in emulator

I am able to run my app in emulator and in my friends mobile(Froyo). Mine is xperia mini pro(2.3) in which the app is not getting installed. It gives a force close saying "process com.android.package installer" closed unexpectedly.. Also I am able to install other apks in my phone.
The application must have used some of the API which is not available for the other version and hence it's getting crashed. since you can feel the same for the API demo of higher version installed on the lower version device

Categories

Resources