我在更新类型的阴影节点中更新'end'的错误:bvlineargradient'当我运行我的react本机应用程序时,错误似乎从我的mainapplication.java文件中散发出来。我的代码:
package com.*;
import com.BV.LinearGradient.LinearGradientPackage;
import com.facebook.react.ReactPackage;
import com.horcrux.svg.SvgPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.reactnativenavigation.NavigationApplication;
import com.wheelpicker.WheelPickerPackage;
import java.util.Arrays;
import java.util.List;
public class MainApplication extends NavigationApplication {
@Override
public boolean isDebug() {
// Make sure you are using BuildConfig from your own application
return BuildConfig.DEBUG;
}
@Override
public List<ReactPackage> createAdditionalReactPackages() {
// Add the packages you require here.
// No need to add RnnPackage and MainReactPackage
return Arrays.<ReactPackage>asList(
new WheelPickerPackage(),
new VectorIconsPackage(),
new SvgPackage(),
new LinearGradientPackage()
);
}
}
请帮助我解决这个
这是反应本性线性级别的错误。问题处于开放状态。目前,有2个解决方案 -
- 用开始点替换启动,并用
<LinearGradient
/> 的端点道具结束 - 降级反应版本为0.50.3
此问题的详细信息如下:
https://github.com/reaeact-native-community/reaeact-native-native-linear-gradient/issues/246