removing drawables and jni stuff