Skip to content

Commit 9258080

Browse files
authored
Merge pull request #35949 from fwcd/android-lib-path
2 parents 8eb14fc + 1a22957 commit 9258080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Android NDK, as well as the directories that contain the `libicuucswift.so` and
7272
`libicui18nswift.so` you downloaded or built in step one:
7373

7474
```
75-
$ ARM_DIR=path/to/libicu-libiconv-android
75+
$ ARM_DIR=path/to/libiconv-libicu-android/armeabi-v7a
7676
$ NDK_PATH=path/to/android-ndk-r21e
7777
$ utils/build-script \
7878
-R \ # Build in ReleaseAssert mode.
@@ -103,7 +103,7 @@ $ NDK_PATH="path/to/android-ndk-r21e"
103103
$ build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swiftc \ # The Swift compiler built in the previous step
104104
# The location of the tools used to build Android binaries
105105
-tools-directory ${NDK_PATH}/toolchains/llvm/prebuilt/linux-x86_64/bin/ \
106-
-target armv7a-unknown-linux-androideabi21 \ # Targeting Android armv7 at API 21
106+
-target armv7-unknown-linux-androideabi21 \ # Targeting Android armv7 at API 21
107107
-sdk ${NDK_PATH}/toolchains/llvm/prebuilt/linux-x86_64/sysroot \ # The SDK is the Android unified sysroot and the resource-dir is where you just built the Swift stdlib.
108108
-resource-dir build/Ninja-ReleaseAssert/swift-linux-x86_64/lib/swift
109109
hello.swift

0 commit comments

Comments
 (0)