[Android] <Button /> crashing the app for Android API 16
See original GitHub issueDescription
Using the button component crashes the app for android api 16.
React Native version:
System:
OS: macOS 10.15.6
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 1.52 GB / 16.00 GB
Shell: 5.0.11 - /usr/local/bin/bash
Binaries:
Node: 14.7.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.7 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0. - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 26, 27, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.1
System Images: android-16 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0.1 4.0.1
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_222 - /Users/akgunfu/.jenv/shims/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
*react-native*: Not Found
Steps To Reproduce
- Create a test app
npx react-native init Test
- Modify App.js like following
const App: () => React$Node = () => { return <Button title={'test'}/> };
Expected Results
Should render the button.
Snack, code example, screenshot, or link to a repository:

Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Crashes - Android Developers
An app that is written using Java or Kotlin crashes if it throws an unhandled exception, represented by the Throwable class.
Read more >Android app crashes on click of button in Android Studio
First - The cause of crashes, you will be able to see it in the tab of Log. Second - (You did not...
Read more >How to Resolve App Crashes in Android Studio?
Solutions to fix App Crash · 1. Observe the App Crash · 2. Find the Stack Trace · 3. Investigation Techniques · 4....
Read more >Release Notes - Helpshift for Android - Developer Guide
Fixed a crash caused by PendingIntent flag requirements expected on apps targeting Android 12 (API level 31). v7.11.0. September 2, 2021. Added support...
Read more >AVD and SDK manager tools are crashing on linux [36991100]
4) When you press the OK button, the JVM crashes and the windows go away. ... Default location: /home/zeigler/dev/android-sdk-linux/tools/core or core.3128
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
React Native master branch has been updated to only support API >= 21 closing as this will not be supported anymore
@gedeagas appreciate the PR!