Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
vgorloff committed Jun 6, 2020
2 parents afd878e + e48df82 commit ea71e07
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@

2. Make sure that file `Android/local.properties` has proper paths (usually paths already set by `Android Studio`):

- sdk.dir - Path to Android SDK (by default similar to: /Users/user/Library/Android/sdk)
- ndk.dir - Path to Android NDK (by default similar to: /Users/user/Library/Android/sdk/ndk/20.1.5948944)
- `sdk.dir` - Path to Android SDK (by default similar to: /Users/user/Library/Android/sdk)
- `ndk.dir` - Path to Android NDK (by default similar to: /Users/user/Library/Android/sdk/ndk/20.1.5948944)

3. Copy file `local.properties.yml.template` to `local.properties.yml`. Update file `local.properties.yml` with proper paths:
3. Make sure that you have a symlink to NDK directory at `/usr/local/ndk`. It should be the **same** as defined in `ndk.dir` in `Android/local.properties` file.

- swiftToolchain.dir - Path to Swift Toolchain (by default similar to: /Users/user/git/swift-everywhere-toolchain/ToolChain/swift-android-toolchain)
```sh
sudo ln -fvs /path/to/ndk/20.1.5948944 /usr/local/ndk
```

4. Open `iOS/HelloJNI.xcodeproj` in Xcode 11 and run it on Device or iOS Simulator.
4. Copy file `local.properties.yml.template` to `local.properties.yml`. Update file `local.properties.yml` with proper paths:

5. Open folder `Android` in Android Studio and run it on Device or Android Simulator.
- `swiftToolchain.dir` - Path to Swift Toolchain (by default similar to: /Users/user/git/swift-everywhere-toolchain/ToolChain/swift-android-toolchain)

5. Open `iOS/HelloJNI.xcodeproj` in Xcode and run it on Device or iOS Simulator.

6. Open folder `Android` in Android Studio and run it on Device or Android Simulator.

0 comments on commit ea71e07

Please sign in to comment.