I'm trying to run the very first NativeScript app HelloWorld that I have got from examples and I receive the message:
AAPT: error: style attribute 'android:attr/forceDarkAllowed' not found.

I'm trying to run the very first NativeScript app HelloWorld that I have got from examples and I receive the message:
AAPT: error: style attribute 'android:attr/forceDarkAllowed' not found.

inside App_Resources/Android/src/app.gradle
add "compileSdkVersion 29" above defaultConfig { }
will look like this :
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 17
generatedDensities = []
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
}