diff --git a/docs/NativeModulesAndroid.md b/docs/NativeModulesAndroid.md index dc2f8d9126..54fefddf1a 100644 --- a/docs/NativeModulesAndroid.md +++ b/docs/NativeModulesAndroid.md @@ -117,7 +117,7 @@ class AnExampleReactPackage implements ReactPackage { } ``` -The package needs to be provided in the `getPackages` method of the `MainActivity.java` file. This file exists under the android folder in your react-native application directory. The path to this file is: `android/app/src/main/java/com/your-app-name/MainActivity.java`. +The package needs to be provided in the `getPackages` method of the `MainApplication.java` file. This file exists under the android folder in your react-native application directory. The path to this file is: `android/app/src/main/java/com/your-app-name/MainApplication.java`. ```java protected List getPackages() {