marcialwushu / BibCompDDM2React

:book: Trabalho GQ2 Desenvolvimento de Dispositivos Móveis II
0 stars 0 forks source link

Unexpected view type nested under text node: class abi30_0_0.com.facebook.react.uimanager.LayoutShadowNode #2

Open marcialwushu opened 5 years ago

marcialwushu commented 5 years ago

Uncaught Error: Unexpected view type nested under text node: class abi30_0_0.com.facebook.react.uimanager.LayoutShadowNode

Fatal Error

marcialwushu commented 5 years ago

https://stackoverflow.com/questions/38327133/react-native-unexpected-view-type-nested-under-text-node

https://github.com/facebook/react-native/issues/10232

marcialwushu commented 5 years ago

in issue : https://github.com/CharlesMangwa/react-native-simple-markdown/issues/19


i found my issue. this error happens when you want use button as text in react-navigation. my code was

return {
      title: (
    <Button transparent onPress={() => navigation.goBack()}   >
      <Icon name="chat" />
    </Button>) ,
      headerLeft: (
        <Button transparent onPress={() => navigation.navigate("ScreenOne")}   >
          <Icon name="arrow-back" />
        </Button>),
      headerRight: (
        <Button transpar

so as u see i want use button as text so react-native-navigation think my header text is unsupported. using text in title solved my problem

marcialwushu commented 5 years ago

https://github.com/jsdf/react-native-htmlview/issues/111

marcialwushu commented 5 years ago
Android SDK built for x86: function (error) { return _this.setState(_this); }
Android SDK built for x86: [object Object]