BIPLOV KUMAR
BIPLOV KUMAR
change the code xmlns:app="http://schemas.android.com/tools" with this: xmlns:app="http://schemas.android.com/apk/res/android" It may help u.
Add componentwill Unmount method in your js file . ComponentwillUnmount(){ this.setState({}) } After state , Then prob will be solved.
> If it helps anyone, I had the same problem and I got it to build by adding 'arm64' to 'Excluded Architectures' under Build Settings, both in the main project...
Most frustrating issue. just i removed .ttf files which is came from link vector icons in copy bundle resources tab and then it is compiled successfully.
`Same issue 03-09 22:14:38.384 28230-28230/com.base_proj2 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.base_proj2, PID: 28230 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.base_proj2/com.base_proj2.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f09001e type #0x1 is not valid at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2342)...
> my problem was solved when replaced content in this file node_modules/react-native-boundry/iOS/RNBoundry.podspec > > require 'json' > > package = JSON.parse(File.read(File.join(**dir**, '../package.json'))) > > Pod::Spec.new do |s| s.name = "RNBoundary"...
any update ?
Hi @xuezhimin simple write this `NetInfo.fetch().then(isConnected => {console.log(isConnected)}`
> Show Package Details @xlcrr it helped thanku.