-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] DatePickerView 日期选择器安卓环境报错java.lang.Boolean cannot be cast to java.lang.Double #1327
Closed
1 task done
Labels
Comments
Picker改成纯js实现了,你这个native层报错和截图的代码应该无关。 检查一下以下几点:
|
大致找到原因了:"react-native-gesture-handler": "^2.15.0",会产生上述问题。降级到"react-native-gesture-handler": "^2.14.0"即可。具体问题需要查看react-native-gesture-handler库 |
1 task
but I haven't used "react-native-gesture-handler" package in my project. |
相同的问题将react-native-gesture-handler降级到2.14.0 还是会报相同的错误 |
fixed in v5.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
💬 前提强调
🙋 描述详情/重现步骤
版本:
"@ant-design/icons-react-native": "^2.3.2",
"@ant-design/react-native": "^5.1.0",
使用 DatePickerView 日期选择器安卓环境直接报错。
💻 运行环境
Android
⚫️
npx react-native info
输出信息System:
OS: macOS 14.0
CPU: (8) arm64 Apple M1
Memory: 69.45 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.18.0
path: /usr/local/bin/node
Yarn:
version: 1.22.21
path: /usr/local/bin/yarn
npm:
version: 9.8.1
path: /usr/local/bin/npm
Watchman:
version: 2023.11.13.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.3
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20.1
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: 0.72.7
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
补充说明
No response
The text was updated successfully, but these errors were encountered: