[Android] Fix the gradle build system to allow for building from terminal. It will now copy the library files correctly and sign the resulting apk.