I switched from windows to mac with m1 processor and I am using mac for the first time in my life, I encountered such an error when saying react native init, I tried everything, it cannot be heard, can you help me?
Related
So I just started out to learn react-native but I found out that to build both iOS and Android requires OS X. I use Ubuntu but I haven't heard or read from somewhere about Linux writing react-native applications.
You can't build iOS app without XCode. Maybe you can do this using virtual machine.
I need to upload iOS App to App Store and I run the command "expo upload:ios" but it give the response
"Unsupported platform! This feature works on macOS only.". So, please help me out. How can I upload the App without having Mac Book.
that's impossible. you need MacOS and Xocde.
you can either rent a mac online, or run a virtual machine running MacOs. or maybe just buy a macbook or imac.
I know it sucks, and I had the same question before, but there is no other better options.
I am trying to build Wear app using react native. Unfortunately, I couldn't get it working. I ran into a lot of exceptions and couldn't even get the app running. I am wondering if react-native can even be used to build an android wear app. Please help me with your experience.
Certainly, you can. Do check this React native vanilla examples it can be used to build like so many variants.
Github example
Warning in Google Play:
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 1.
From August 1, 2019 all releases must be compliant with the Google Play 64-bit requirement.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.
How to fix this problem?
What I have already tried is to add ndk.abiFilters in gradle
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
when I created apk, app started crashing immediately.
You have to upgrade your react native. For expo follow react native docs. For react native without expo You can use these commands:
sudo npm install -g react-native-git-upgrade
Then
react-native-git-upgrade
I'm running 'react-native run-ios' for a new react app i'm init but I keep getting this error.
I followed through the instructions given by the debugger in iOS simulator but unfortunately the problem is persisting.
Has anyone experienced the same problem and knows another solution other than the one presented in the IOS simulator? Would be much appreciated.