Skip to content

Require Android SDK 28 for compilation #3991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rosen-vladimirov opened this issue Oct 8, 2018 · 5 comments
Closed

Require Android SDK 28 for compilation #3991

rosen-vladimirov opened this issue Oct 8, 2018 · 5 comments

Comments

@rosen-vladimirov
Copy link
Contributor

Currently applications can be build for Android with SDK 22 or above. However, with latest changes in tns-core-modules, applications cannot be build with SDK lower than 28. The problem is that the we've set min version of Android Support Library to be 28, which cannot be build with anything less than SDK 28. Trying to build such app with SDK 27 for example leads to error for missing resources.
So we need to set min required SDK for building to be 28.
Related issue: NativeScript/NativeScript#6331

@endarova
Copy link
Contributor

We need also to update the setup scripts and the documentation in https://docs.nativescript.org/ to use and suggest Sdk 28 on setup.

@endarova endarova reopened this Oct 24, 2018
@endarova
Copy link
Contributor

Passing compile sdk lower than 28 fails build with tns-android@next #4052

@endarova
Copy link
Contributor

Update Nativescript cli setup scripts to use android sdk 28 #4053

@elMuso
Copy link

elMuso commented Dec 6, 2018

I was wondering why i was not able to build or set the sdk in a new project. welp. time to upgrade ... or to use an older version of the cli 7u7

@RosilBelli
Copy link

My project is under the latest Nativescript version (5.3), but my app needs to run on android 5.1.
I'm trying to run tns run android --bundle --compileSdk 22 but I'm asked to install Android SDK 28.

How can I generate a build for the version I need?
Couldn't find anything on the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants