Hey Danesh,
Awesome job on the script mate. Wondering if you could help me through this error though

.
I'll explain what i'm trying to do and how i'm doing it;
I'm running Cyanogen Mod 6.0 on a HTC Desire. I'm wanting to edit a lock screen in the app 'Widgetlocker'.
Previously i've been using adb to pull the apk and after editing the image i wanted i'd push it back and it works fine untill i reboot my phone. Then it deletes Widgetlocker.
With your script i've been running the following;
0 - Pulling apk from /data/app/com.teslacoilsw.widgetlocker-1.apk
1 - Extracts fine
- I edit the image i want
2 - Optimizes fine
3 - I've tried selecting both System and Regular apk and it zips fine
4 - Here's the problem when i hit Sign apk i get the following;
Signing Apk
"An Error Occured, Please Check The Log <option 21>"
When i check the logs this is what i see;
Exception in thread "main" Could Not Find C:\AndroidSDK\tools\place-apk-here-for-modding\../place-apk-here-for-modding/repackaged-unsigned.apk
The system cannot find the file specified.
java.lang.UnsupportedClassVersionError: com/android/signapk/SignApk (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
Hope i've provided sufficient information.
Thanks in advance!
-del