Exploring the Swift SDK for Android
Article Summary
The Android workgroup just dropped Swift 6.3 SDK nightly previews for Android, and several production apps with millions of downloads are already proving it works at scale.
Swift's Android workgroup published a deep dive into how Swift runs natively on Android, compiling directly to machine code like C/C++ while maintaining better safety and usability. The post reveals production apps already using Swift on Android and announces official Swift 6.3 SDK previews with new tooling improvements.
Key Takeaways
- Swift compiles to native Android code via NDK, matching C/C++ performance
- Spark, flowkey, and other apps already have millions of Swift-powered Android downloads
- New @available attribute brings familiar iOS API versioning patterns to Android
- JNI bridging tools (jextract, wrap-java) enable seamless Swift-to-Java interop
- Official Swift 6.3 SDK nightly builds now available with CI pipeline
Swift on Android has quietly matured from a 2015 community experiment into production-ready tooling with official SDK support, proven by apps serving millions of users.
About This Article
The Android workgroup found that debugging was a major gap. The current tools only work reliably for small examples and don't integrate easily with IDEs for developers building production Swift apps on Android.
The team is integrating sourcekit-lsp and the Swift Language Server Protocol into Visual Studio Code and Android Studio. They're also adding official GitHub workflows so developers can build Swift packages and test on the Android emulator.
An official Swift 6.3 SDK CI pipeline now produces nightly preview releases. Developers can test new features like the @available attribute for Android API versioning right away, across multiple Android API levels in the same app.