-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
bug-pending-triageReported bug, pending triage to confirm.Reported bug, pending triage to confirm.
Description
Issue Description
When you compile an app for API 35 or 36 and deploy that to an emulator or device running Android 16 the action bar overlays the status bar, making it impossible to click actions in the action bar.
This is how the action bar looks like on an Android 16 emulator:
And this is on an Android 14 emulator:
Reproduction
Create a new app via ns create test
. Open App_Resources/android/app.gradle
and change compile and target SDK settings to be 35 (or 36). Your file should look like this:
// You can add your native dependencies here
dependencies {
// implementation 'androidx.multidex:multidex:2.0.1'
}
android {
compileSdkVersion 36
buildToolsVersion "36"
// ndkVersion ""
defaultConfig {
minSdkVersion 23
targetSdkVersion 36
// Version Information
versionCode 1
versionName "1.0.0"
generatedDensities = []
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
}
Run the app in an Android 16 emulator or device.
Relevant log output (if applicable)
Environment
OS: macOS 15.6.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Shell: /bin/zsh
node: 22.12.0
npm: 11.3.0
nativescript: 8.9.3
# android
java: 17.0.12
ndk: Not Found
apis: 28, 29, 30, 31, 33, 34, 35, 36
build_tools: 28.0.3, 30.0.2, 30.0.3, 32.0.0, 33.0.0, 33.0.1, 33.0.2, 34.0.0, 35.0.0, 36.0.0
system_images:
- android-28 | Google Play Intel x86 Atom_64
- android-30 | Google Play Intel x86_64 Atom
- android-31 | Google Play Intel x86 Atom_64
- android-33 | Google Play Intel x86 Atom_64
- android-34 | Google Play Intel x86_64 Atom
- android-36 | Google Play Intel x86_64 Atom
# ios
xcode: 16.4/16F6
cocoapods: 1.16.2
python: 3.10.12
python3: 3.10.12
ruby: 3.3.5
platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Dependencies
"dependencies": {
"@nativescript/core": "~8.9.0",
"@nativescript/theme": "^3.1.0"
},
"devDependencies": {
"@nativescript/android": "8.9.1",
"@nativescript/types": "~8.9.0",
"@nativescript/webpack": "~5.0.0",
"typescript": "~5.4.0"
}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bug-pending-triageReported bug, pending triage to confirm.Reported bug, pending triage to confirm.