Fixed some bugs

1. Add android log for jni
2. Modified the layout of livecamera activity
3. Fixed bug: when stop encode or destroy surface, app was crash