Skip to content

Commit b88b26c

Browse files
Piotr SuwałaPiotr Suwała
authored andcommitted
add readme
1 parent ed47684 commit b88b26c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Prerequisites
2+
3+
1. XCode
4+
2. Android Studio
5+
6+
# How to run the project
7+
8+
1. Clone the repository.
9+
2. Run `./downloadAndInsertOpenCV.sh`.
10+
3. Download manually the Android pack from https://opencv.org/releases.html (version 3.4.1).
11+
4. Unzip the package.
12+
5. Import OpenCV to Android Studio, From File -> New -> Import Module, choose sdk/java folder in the unzipped opencv archive.
13+
6. Update build.gradle under imported OpenCV module to update 4 fields to match your project build.gradle a) compileSdkVersion b) buildToolsVersion c) minSdkVersion and d) targetSdkVersion.
14+
7. Add module dependency by Application -> Module Settings, and select the Dependencies tab. Click + icon at bottom, choose Module Dependency and select the imported OpenCV module. For Android Studio v1.2.2, to access to Module Settings : in the project view, right-click the dependent module -> Open Module Settings.
15+
8. `react-native run-ios` or `react-native run-android`.

0 commit comments

Comments
 (0)