• 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

INSTALL_FAILED_OLDER_SDK

 
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
Hello I have created one application when I had ran it on emulator it
runs perfectly, but when I tried to install it on my G1 then it gives
me following error.

D:\Pramod Backup\android\android-sdk-windows\tools>adb install
ReadSimContact.apk
464 KB/s (14833 bytes in 0.031s)
pkg: /data/local/tmp/ReadSimContact.apk
Failure [INSTALL_FAILED_OLDER_SDK]


Then how should I can install this application on my mobile?


Thanks in advance


 
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pramod it seems you've put up the question on other places too like here (and according to me the answer given to you there is right). Please read this...
 
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

INSTALL_FAILED_OLDER_SDK is an Installation return code passed by PackageManager to the PackageInstallObserver, if the installation of new package failed because the current SDK version is older than that required by the package.


Min SDK Version: This is an integer that indicates the minimum API Level required to properly run your application. The minSdkVersion attribute is found in the <uses-sdk> of your Android Manifest file.


What is the minSdkversion specified in the manifest of your application? What is the device API version?
 
Pramod P Deore
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
after chainging to application is successfully get installed on mobile but now it gives me another error as,



how to see device API version?
 
Monu Tripathi
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

how to see device API version?


Depends on which flavor of Android device is running(you can verify that from Settings -> About Phone -> Firmware version).

... application is successfully get installed on mobile but now it gives me another error as,...


Does your application use external JARs? Chances are that could be causing problems.


 
Pramod P Deore
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
Its Firmware version is 1.6
can I use "android.provider.ContactsContract" class to build my application? because it's API level is 5.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
API level 5 is Android 2.0, so, no - you can't use that class on an Android 1.6 device.
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic