Steps:
1. Open the apk with winrar, remove the folder “META-INF”.
2. Replace any files in the apk you need.
3. Prepare a key store for signing with those command
keytool -genkey -v -keystore android.keystore -alias android.keystore -keyalg RSA -validity 20000
4. Resign the APK package
"C:/Program Files/Java/jdk1.6.0_10/bin/jarsigner" -verbose -keystore android.keystore -storepass 123456 -signedjar ./omptestNew.apk ./omptest.apk android.keystore