1. Check out our companion app, Forums for Android! Download from Google Play

CHanging the SDK version

Discussion in 'Application Development' started by __Jon__, Oct 5, 2010.

  1. __Jon__

    __Jon__ Member
    Thread Starter
    15

    Aug 16, 2010
    15
    0
    15
    Hi this is a silly problem that I'm a little embarrassed about...

    I built my app. It's almost ready for deployment, I'm just changing a few things and cleaning up. But I realized my min SDK version is 6. It's not a problem per se, but my target machine is an Xperia that uses android 1.5, which is an entirely different version. (SDK 6 is Android 2.0, IIRC).

    My question is: How best to redo the app to lower the SDK?
    Bearing in mind the AFAIK the app uses very standard classes that should be in all SDKs (probably from 1.0), the only thing I'm worried about is the SQLite interface, but I think it is the same in previous versions of Android.

    My origional idea was to create a new package, using android 1.5 and copy and paste the sources codes, manifestfile, XML, copy the few images into the new res folder etc, and hope for the best. But this is laborious and easy to mess up if I put a file in the wrong place.

    Is there another way to downgrade?
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    459
    163
    Male
    If you are using Eclipse, all you must do is go to the project's properties and change the SDK. You will also have to go into the project's manifest file and change the <uses min-sdk> tag to 3.
     

Share This Page

Loading...