1. enable JNI invoke
2. fix a small bug in activity_main.xml