From 119b4cc2ab6b097233a8e87ea7798b26298ea873 Mon Sep 17 00:00:00 2001 From: Addin Gama Bertaqwa Date: Mon, 17 Dec 2018 07:12:06 +0800 Subject: [PATCH] Fix manual installation for android --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78e6faa..9020e91 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ Get thumbnail from local media. Currently, it only supports for video. #### Android -1. Open up `android/app/src/main/java/[...]/MainActivity.java` - - Add `import com.reactlibrary.RNThumbnailPackage;` to the imports at the top of the file +1. Open up `android/app/src/main/java/[...]/MainApplication.java` + - Add `import me.hauvo.thumbnail.RNThumbnailPackage;` to the imports at the top of the file - Add `new RNThumbnailPackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: ```