Skip to content

Ecco/HelloSwift

Repository files navigation

Running SwiftCode on Android

You should start by reading the blog post where I explain how to run Swift code on Android. All the concepts are explained there.

Yes but what will it look like?

It will look like this:

Swift on Android demo

How do I build this?

You'll need Xcode, the Android SDK and the Android NDK. Then you'll need to run this :

  • Edit the Makefile
  • make clean && make
  • ant debug install

And that's it!

License?

I dedicate all this code to the public domain. Note that part of this come from the "hello-jni" sample code from the AOSP so some restrictions may apply.