The Gradle Android plugin supports this now, starting version 0.7.2. All you need to do is put the native libraries in src/main/jniLibs
Sources: https://github.com/card-io/card.io-Android-SDK/issues/9 and http://tools.android.com/tech-docs/new-build-system