wix-incubator / react-native-keyboard-input

Use your own custom input component instead of the system keyboard
MIT License
819 stars 150 forks source link

Task :reactnativekeyboardinput:compileDebugJavaWithJavac FAILED #82

Closed maxlzc closed 5 years ago

maxlzc commented 5 years ago

Hello ,I can't use it in RN 0.60.0 ,and I use cli to create it. the error detail is like something below

Task :reactnativekeyboardinput:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings 54 actionable tasks: 2 executed, 52 up-to-date ����: [options] Դֵ7�ѹ�ʱ, ����δ�����з��а���ɾ�� ����: [options] Ŀ��ֵ7�ѹ�ʱ, ����δ�����з��а���ɾ�� ����: [options] Ҫ�����й��ѹ�ʱѡ��ľ���, ��ʹ�� -Xlint:-options�� C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\utils\ViewUtils.java:4: ����: �����android.support.annotation������ import android.support.annotation.Nullable; ^ C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\ReactSoftKeyboardMonitor.java:4: ����: �����android.support.annotation������ import android.support.annotation.Nullable; ^ C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\CustomKeyboardRootView.java:4: ����: �����android.support.annotation������ import android.support.annotation.NonNull; ^ C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\ReactSoftKeyboardMonitor.java:84: ����: �Ҳ������� @Nullable ^ ����: �� Nullable λ��: �� ReactSoftKeyboardMonitor C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\utils\ViewUtils.java:49: ����: �Ҳ������� @Nullable public static T findChildByClass(ViewGroup root, PredicateFunc predicate) { ^ ����: �� Nullable λ��: �� ViewUtils C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\CustomKeyboardRootView.java:16: ����: �Ҳ������� public CustomKeyboardRootView(@NonNull Context context, CustomKeyboardLayout layout) { ^ ����: �� NonNull λ��: �� CustomKeyboardRootView C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\CustomKeyboardRootViewShadow.java:16: ����: �������Ḳ�ǻ�ʵ�ֳ����͵ķ��� @Override ^ ע: C:\code\ReactNative\MyApp\node_modules\react-native-keyboard-input\lib\android\src\main\java\com\wix\reactnativekeyboardinput\utils\ViewUtils.javaʹ����δ�����򲻰�ȫ�IJ����� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣 7 ������ 3 ������

FAILURE: Build failed with an exception.

maxlzc commented 5 years ago

I delete the something like '@override' in the source ,and it could be work