ul

0 views
Skip to first unread message
Message has been deleted

Harbin Pelletier

unread,
Jul 17, 2024, 5:24:47 AM7/17/24
to exmarrefor

If everything has gone well with your machine setup and you can compile the project using the Android Studio then nothing will stop you to build your app through react-native cli build android command.

If you create and android studio project, You can see a local.properties file is created inside your project root directory. When you create a react native project, It doesn't create that file for you. So you have to create it manually. And have to add skd dir to it. So create a new file inside android folder ( on root ). and put your sdk path like this sdk.dir=D\:\\Android\\SDK\\android_sdk_studio . Remember: remove single \ with double. Just like above.

[EXCLUSIVE] Workreap React Native Android and IOS Mobile APP


Download Zip https://mciun.com/2yXlLb



Expo CLI is a tool built to install and manage react-native frameworks. However, its unsuitable feature is that it has numerous native features, which makes building an app tedious and also makes the app size more extensive than it needs to be. Additionally, incorporating elements in an app that are not available in Expo CLI is difficult, making the tool unsuitable for developers. Despite that, Expo CLI has many useful native tools, unlike React Native CLI, such as geolocation, camera, the microphone that can come in handy for most application needs. Expo CLI is a much easier route than the react-native CLI route.

The installation process is as follows:

Sometimes you might need to uninstall and wipe off the whole react-native environment due to issues such as a broken development environment which can be caused by misusing commands or assigning storage to variables incorrectly.

The issue will also appear when, in index.js, you have named the app differently from the name you gave it for the android/ios package; probably this happened when you've ejected the app. So be sure that when calling AppRegistry.registerComponent('someappname', () => App), someappname is also used for the native packages or viceversa.

First has to be noted that index.android is not been update in Android Studio when the build run by Metro builder( react-native run-android) so it has to be done manually.Also in Android studio does not "read" the

aa06259810
Reply all
Reply to author
Forward
0 new messages