• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

if second application installed on phone then first will not found  RSS feed

 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!