wonsikin / react-native-barcode-builder

Component for generating barcode in react native app
Other
176 stars 117 forks source link

Crashing on Android Simulator when using react-native-barcode-builder #16

Open Manuel83 opened 7 years ago

Manuel83 commented 7 years ago

My React App is crashing in Android Simulator. Just get the message "The app has unfortunately stopped"

I just do the import like: import Barcode from 'react-native-barcode-builder';

And in my render method I use <Barcode value="Hello World" format="CODE128" /> Is there any log where I can search for the reason?

iOS simulator is working find.

Here are my dependencies

"dependencies": {
    "firebase": "^4.1.3",
    "react": "16.0.0-alpha.12",
    "react-native": "0.45.1",
    "react-native-barcode-builder": "^1.0.1",
    "react-native-drawer": "^2.3.0",
    "react-native-vector-icons": "^4.2.0",
    "react-redux": "^5.0.5",
    "react-router-dom": "^4.1.1",
    "react-router-native": "^4.0.0",
    "react-router-redux": "^5.0.0-alpha.6",
    "redux": "^3.7.1",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.2.0",
    "thunk": "0.0.1"
  }
erichua commented 7 years ago

I have the same problem. There is no any error message in the debug window except "Unfortunately, App has stopped".

rheathec commented 6 years ago

+1

luckyxhu commented 6 years ago

android emulator SIGSENV: A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0xd9863000 in tid 15122

p77u4n commented 6 years ago

+1

p77u4n commented 6 years ago

@lucky-xiaohu you must set the option "emulated performance" in AMD settings to "Graphic Software".

luckyxhu commented 6 years ago

@p77u4n , thanks, i will give a try, now i switch back to svg mode, it is work fine, and my project already use react-native-svg, so, it not a matter with svg instead ART. thanks again.