NativeScript / NativeScript/nativescript-cli

Passing target Android SDK with --sdk option is not set correctly in the .apk

Open
#4,446 1 comment 0 reactions 1 assignee View on GitHub

@rosen-vladimirov is already working on this.

Since Mar 25, 2019.

bug os: android
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

  • CLI: 5.2.4

Passing target Android SDK with --sdk option is not set in the build .apk file

Steps:

  1. tns create MyApp --js
  2. tns platform add adroid --sdk 25
  3. tns build android --sdk 25
  4. Check the AndroidManifest.xml file in the produced .apk
    Expected: android:targetSdkVersion="25"
    Actual: android:targetSdkVersion="28"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.