Dong Hyun LEE
Dong Hyun LEE

Reputation: 81

Where can I find android folder in React Native 0.46.4

I'm trying to install several RN libraries. Some of them are demand to write code manually in android gradle file or else.

In older version of React Native project, there are android and ios folder of project root, but in my case I can't find them.

I want to write code on

'android/app/build.gradle'
'android/settings.gradle'
'MainActivity'.

Q: Where can I find those files?

Upvotes: 0

Views: 580

Answers (1)

Michael Cheng
Michael Cheng

Reputation: 10481

Since you're using Expo, you'll have to detach (the instructions are very straightforward). It has the same side effects as eject for create-react-native-app. Once detached, you will have the android and ios folders in your project's root directory like a normal react-native init project.

You should read through everything explained on that page as this is a non-reversible action. Once detached, you will lose some benefits exclusive to an Expo project such as Push Notifications through Expo's servers.

Upvotes: 3

Related Questions