| Author |
if second application installed on phone then first will not found
|
Pramod P Deore
Ranch Hand
Joined: Jul 15, 2008
Posts: 629
|
|
when I had tried to install any application for the first time , it gives me following error as.
D:\Pramod Backup\android\android-sdk-windows\tools>adb install pramod.apk
77 KB/s (8628 bytes in 0.109s)
pkg: /data/local/tmp/pramod.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
But there is no pramod.apk file is present in phone , but if I install the application using -l -r as
D:\Pramod Backup\android\android-sdk-windows\tools>adb install -l -r pramod.apk
38 KB/s (8628 bytes in 0.218s)
pkg: /data/local/tmp/pramod.apk
Success
It will installed application succesfully. Why is it so?
and when I tried another application to install as
D:\Pramod Backup\android\android-sdk-windows\tools>adb install -l -r Final.apk
38 KB/s (8628 bytes in 0.218s)
pkg: /data/local/tmp/Final.apk
Success
then previous application (i.e here pramod.apk) not shown in phone.
|
Life is easy because we write the source code.....
|
 |
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
|
|
Hint: Do you understand the meaning of using -l -r switches with adb install? Have you tried to find out how the install-system finds out if two applications are same or why do you get a INSTALL_FAILED_ALREADY_EXISTS message?
|
[List of FAQs] | [Android FAQ] | [My Blog] | [Samuh Varta]
|
 |
 |
|
|
subject: if second application installed on phone then first will not found
|
|
|