我想使用这个模块https://github.com/nucleartux/react-native-date 但是在我执行第 4 步“Register React Package”后构建失败。
What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
我该如何解决?
最佳答案
根据 react-native-date README,第 17 行 MainActivity
应该扩展 FragmentActivity
而不是 Activity
关于javascript - 适用于 Android 的 React Native 日期和时间选择器不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33921635/