• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

if second application installed on phone then first will not found

 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.



 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
reply
    Bookmark Topic Watch Topic
  • New Topic