I am using:
nativescript has 8.0.1 version and is up to date.
@nativescript/core has 8.0.4 version and is up to date.
@nativescript/ios is not installed.
@nativescript/android has 8.0.0 version and is up to date.
I am trying to get my app to target minSdkVersion 19, but no matter what I do, the app is compiled with version 17.
I tried:
- Setting
minSdkVersion 19inApp_Resources/Android/app.gradle - Adding
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="29"/>toApp_Resources/Android/src/main/AndroidManifest.xml
I've looked around and I can't find the solution, though I have come across a few posts about the same issue. None of them solved the issue.
The project in question is here, just clone it and run tns build android. It will build with android-platform-17.d.ts. If you want to see the build fail when using a type from platform 19, just add let test = new android.bluetooth.BluetoothGattCallback().
from Change nativescript android api version
No comments:
Post a Comment