Open tiagoblackcode opened 5 years ago
In NativeScript 5+, the Gradle property that allows the SDK version to be customised must now be placed in app/App_Resources/Android/before-plugins.gradle instead of app/App_Resources/Android/app.gradle.
app/App_Resources/Android/before-plugins.gradle
app/App_Resources/Android/app.gradle
The change in question is https://github.com/NativeScript/android-runtime/pull/1185 released on version 5 (https://github.com/NativeScript/android-runtime/blob/master/CHANGELOG.md#500).
Placing it in app/App_Resources/Android/app.gradle won't work. The documentation should be updated to reflect this.
In NativeScript 5+, the Gradle property that allows the SDK version to be customised must now be placed in
app/App_Resources/Android/before-plugins.gradle
instead ofapp/App_Resources/Android/app.gradle
.The change in question is https://github.com/NativeScript/android-runtime/pull/1185 released on version 5 (https://github.com/NativeScript/android-runtime/blob/master/CHANGELOG.md#500).
Placing it in
app/App_Resources/Android/app.gradle
won't work. The documentation should be updated to reflect this.