Skip to content

sushipan/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.

Releases

No releases published

Packages

No packages published

Languages

  • Java 51.8%
  • Makefile 30.8%
  • C 15.1%
  • Swift 2.3%