-
Notifications
You must be signed in to change notification settings - Fork 103
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
错误: 不兼容的类型: List<AMapGeolocationModule>无法转换为List<NativeModule> return Collections.singletonList(new AMapGeolocationModule(reactContext)); #156
Comments
修改nodemodal中文件代码已解决 |
|
@tvsj 复制下面的内容替换上面文件中内荣 import com.facebook.react.ReactPackage; import java.util.ArrayList; public class AMapGeolocationPackage implements ReactPackage {
} |
|
也可以把@NotNull都删掉,文件如下
|
为什么没人看这个问题呢 |
/Users/wenjianli/muyuan/my-slaughter-logistics-driver/node_modules/react-native-amap-geolocation/lib/android/src/main/java/cn/qiuxiang/react/geolocation/AMapGeolocationPackage.java:22: 错误: 不兼容的类型: List无法转换为List
return Collections.singletonList(new AMapGeolocationModule(reactContext));
^
1 个错误
The text was updated successfully, but these errors were encountered: