After i click my app, my app can't start.
There is the log print by system, i note there is a line say package not found in list.
My phone is XiaoMi and this problem is less show in nexus5.
Dose any one know what the problem is?
You might have installed the app in the device sometime before with a different build/signature. since the app has the same package name (i.e com.example.*), the android OS is not able to install the newer version with different signature. Please delete the older version and try running it again. This should help!
Related
I am trying to run an app from android studio onto my phone after doing some updates, and am receiving the message:
"The device already has an application with the same package but a different signature.
In order to proceed, you will have to uninstall the existing application
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?"
I really do not want to uninstall because the app has months of data entered - I do not want to loose this.
Note that this app has never been published to the play store, so it doesn't seem that is the problem
Please can someone help me with this dilemma
Thanks
I suggest one solution that you don't have to remove the installed applicaiton.
You can change application id then it's gonna be installed like another application.
You should change applicationId in build.gradle(app)
I'm using Android Studio 3.5 and can't install an app from it.
My app is already on play store and I'm upgrading the app.
It keeps saying there's a same application.
Okay, so I deleted it, but it keeps saying that.
First a pop-up window saying that I will have to uninstall the existing application. I know why it happens. I develop on my laptop and my desktop at the same time so it happens all the time. And this app doesn't have my data so I've clicked okay and proceeded and there was no problem. But,
The device already has an application with the same package but a different signature.
Retry
The application could not be installed: INSTALL_FAILED_UPDATE_INCOMPATIBLE
in new. And even I don't have the app, why does it say like that???
And installation is way too quick on play store.
I think the app isn't deleted properly.
So basically, I have no app on the phone, the data, cache, apk, anything, but it keeps saying there is a same app with a different signature.
I have
Deleted the existing app and it still didn't work
Re-downloaded the app and ran and didn't work
And as expected, it says if I wanna delete it, pushed OK. And the app is
automatically deleted.
also adb uninstall com.~~.~~ not working
Set debuggable true, still not working
Ran on a friend's phone which already has the exact same app from the store
and it works.
Tried to disable instant run but android studio 3.5 does not have that anymore.
Rebooted my phone.
Deleted caches of android studio and restarted it, as many as I could.
adb shell pm list packages -f : the package does not exist.
done adb uninstall com.~~.~~ and got Success code, but still not working
There's nothing wrong with codes.
Build works perfect. It runs perfectly on my friend's phone.
I expect for the app to run perfectly but,
the studio says
The device already has an application with the same package but a different signature.
Retry
The application could not be installed: INSTALL_FAILED_UPDATE_INCOMPATIBLE
Also, installation is too slow. It wasn't slow like this.
this happen when you have multiple spaces or user in single phone, it will be helpful if you can tell about your phone model
So i'm gonna be as elaborative as much as I could..
I have a Xperia L with latest firmware and I was trying to set some third party apps to system apps, and I succeeded after some time I thought that if I could set App updates to system app (meaning removing the older version) and I succeeded again but when I was doing the same to Chrome I stumbled upon to a problem..
So before I tell you what was the problem i'll tell you how I did it..
1.I updated Chrome.
2.I moved the original. apk from "system/app" dir to My SD so that it can be changed to new one. (My set is ROOTED)
3.Then I moved the. apk from "Data/app" folder to "system/app" folder.
4.And renamed it to the Original. apk 's name.
5. And changed the Read/Write Permissions as it should be.
6.That's that.
So after that I tried launching chrome but it said
"Chrome failed to start due to an Unexpected Error"
but with above methods I replaced a lot of apps like Walkman, Calendar, PlayStore, Play Services and some i don't remember...
and they all worked fine even after restarting it..
so then I uninstalled Chrome with Titanium Backup since it was a system app..
and then I tried the same with Album app.
I replaced it's. apk and tried it but it started crashing.. so I deleted it. too and placed the original one back..
and restarted my set..
But now it is stuck on Black Screen after Sony logo...
I know I can Flash the ROM to get going but if there's any other way to do so please let me know..
now i know it's kinda two questions in one but I really need to know both..
Thanks in advance...
You can use Link2SD or other root apps to add them automatically to the system image
Firstly, I'd like to apologize if it's a repost. I'm a newbie to Android app development. I've searched for the same error here but some of the questions were unanswered and others weren't understandable for a newbie like me. So, sorry guys.
So, I have developed an app in android with a minimum API version being 2.2
The app works fine if I transfer it on a local device using USB but it gives the error "Parsing the package" if someone tries to download it via email. The downloading stops midway and the phone displays the error, but if the app gets downloaded to a 100%, it works.
The "install from unknown sources" option has been checked on every device I use to install the app.
If needed, I can provide you with further details about the app.
-Thanks
following cases may cause this problem :
1. API greater than minSdkVersion (defined in AndroidManifest.xml) i.e. Package is compiled on higher API level but using on lower API
2. code Name of the package is changed after signing: Use the exact name as the signed package is (instead of renaming the name in Manifest)
3. executed from SD-card than execute from phones memory.
I am coding two applications at once using Eclipse.
I wanted to upload both of them to my device for testing. However, when I upload the second one, the first one gets removed..
Any tips on how I can get Eclipse to keep both of the apps on the device at the same time?
Any tips on how I can get Eclipse to keep both of the apps on the
device at the same time?
AFAIK you want to Test two different version of Sample Application in Same Device at a time.
Solution: you can not install same application with same version at a same time in any device. However what you can do is to make the Two different Version of your application and install it in your phone. for this you will just have to change the package name of each of version of app. and then you haveto install it via adb install [path/your_app.apk] Now you can test your two different version of same application at same time.
Hope it will Help you.