diff --git a/README.md b/README.md index e8fd89e..c65f3e6 100755 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Error: MLVisionTextModel duplicate symbols with React Native #### Android -1. Open up `android/app/src/main/java/[...]/MainActivity.java` +1. Open up `android/app/src/main/java/[...]/MainApplication.java` - Add `import com.mlkit.RNMlKitPackage;` to the imports at the top of the file - Add `new RNMlKitPackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: