#5828·NativeBase

在 Android 上发生崩溃: 当聚焦具有边框宽度的输入时,无法将 java.lang.String 类型转换为 java.lang.Double

作者: sevalenciaca创建于 2025年8月25日更新于 2026年6月10日

When focusing on a Native-Base Input component on Android, the application crashes with the error java.lang.String cannot be cast to java.lang.Double. This issue is caused by the outlineWidth property being set as a string ('0') instead of a number (0) in the component's default theme.

内容来源: GeekyAnts/NativeBase