Skip to content

Commit 1a22957

Browse files
authored
[android] Fix Android target name in docs
The target arch name used here is `armv7` rather than `armv7a`.
1 parent 1f4eabc commit 1a22957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)