How it works? Like, if I have android 12 sdk installed, will the compiled apk work in all the lower versions?
Yeah, dumb question, but the subject isn't really googlable, so don't blame me. I've found the answer later, not even googling for it.
All the higher version SDKs are compatible with the lower versions. That's it.
Related
So we are working with Xamarin and it seems that after we upgraded our Android project it seemed to change the Target SDK of our app from 21 to 25. We never noticed this and uploaded an .apk into Alpha Testing.
I later noticed this issue, tried to revert to v21 target and now Google is telling me it cannot because of a breaking permission change in v23 (Marshmallow).
I tried disabling the alpha testing and deleting the v25 target, but that did not work.
I did notice that I could at least downgrade to v23 Marshmallow and carry on with my app release.
BUT: According to usage stats I've looked into I'm cutting off support for appx 15 - 25% of devices (take your pick) by only supporting Marshmallow+...
I've done some research around the issue and haven't found a way to solve it yet. I also emailed Google Support in hopes they can help.
Can anyone shed some light on this?
Thanks!!!
#MoGa suggestion was the correct one. Target v23 and set Minimum SDK to 21. This worked very well, and allows me to continue to target all the devices we need to.
Sorry if this is a too easy question. I'm a long time web developer and now trying to carry my experience to mobile platforms through cordova. I've installed android sdk manager but don't know which api versions to include. My question is, does latest api version have also support for older versions? Do I need to include all other versions for my app to be able work on those older versions? And where do android sdk apis fit in cordova? How should I compile for the release?
Thanks.
I could see too many sub questions in a single question. To answer your question in short, you can install the latest version of android sdk which in turn supports older versions too.
The best place for you to start in understanding these concepts relative to Cordova is the official documentation link This links should answer almost all your questions. Hope it helps. Cheers
The PhoneGap installation requires that I install Eclipse, and then use the Android SDK Manager to install the versions of the Android SDK/API. Each of these is a large download, and there is access to versions API 3 through API 21. However, I do not want to install them all and I would like advice on which is a good mix to use when I am not targeting a particular Android version but would like to cover as many devices as possible.
I checked the previous questions and I could not find this specific question from a search. I have noted an important question concerning the Android SDK Build Tools versions, but not the APIs to select.
Do I need to download more than one? Or is the latest (API 21) sufficient for my development work?
If you are aware of previous discussions on this that I have missed in my search I would greatly appreciate being pointed to these.
Phonegap is currently supporting Cordova 3.6.3 which requires API version 19. That is really the only version you need.
Hi can anyone tell me what all the other packages for android 2.3.3 in the SDK manager? The SDK platform, sample SDKs, and google APIs are always necessary in all SDKs. But what are the rest of the packages (Intel Atom, Real3D, Droid4, Motorola, etc.). Should I download them as well?
For what I can tell they look like compatibility packages for different phones or something. Does anyone know/want to share the full story on this, specifically why 2.3.3 has so many packages and the rest of the SDKs don't? All responses appreciated.
PS: I know this isn't a programming question and shouldn't be asked here, but a lot of people programming for Android go here, so I might as well ask it once.
- Mentioning those packages with like Real3D, Droid4, Motorola etc, are straight away pointing to include the APIs that will expose the functionality provided by those Phones.
- Now as you mentioned that SDK version 2.3.3 has all these packages where others don't, well its because these are targeted to the Devices which has SDK 2.3.3 version installed and working on them, You will see that SDK version 3.2 has XOOM2ME and XOOM2, which is not present in other packages, it because of same reason i mentioned above....
If I have a Android Dev Phone 2 phone that comes with 1.6, can I upgrade it to Android 2.1 ?
Thanks
No. The latest supported version is 1.6. If they will release an update I think you will find it here:
http://developer.htc.com/google-io-device.html
It is true that 1.6 is the latest stable official version from HTC. But you can try installing an unofficial rom from androidspin.com
I found these instructions useful for getting OpenEclair installed on my Google Ion device. These instructions are a little dated. There is a new version of Open Eclair available. WARNING: I am not responsible if you brick your phone. That said, it went pretty smooth for me. You just have to read carefully (Google for stuff you don't understand, and for the latest versions of stuff) and cross your fingers. Good luck. And don't expect everything to work in an unofficial rom. Things like GPS or Bluetooth could be non-functional depending on the rom you install.
http://denraf.be/content/howto-android-21-g1adp1dream