[Optimus One, P500 Original Android Development] Lycan:
'Resize' folder is empty :(

'chmod' is not recognized as an internal or external command,
operable program or batch file.
OS = Win
Cores = 2
Home = C:\Users\WIN7
ScriptDir = C:\mDroidd-StudioAndroid-GtkUI-1f83801
File = C:\mDroidd-StudioAndroid-GtkUI-1f83801\SAP.py
Resize percentage is 50%
Traceback (most recent call last):
File "C:\mDroidd-StudioAndroid-GtkUI-1f83801\SAP.py", line 692, in StartResize

shutil.rmtree(DstDir)
File "C:\Python27\lib\shutil.py", line 237, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "C:\Python27\lib\shutil.py", line 235, in rmtree
names = os.listdir(path)
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\mDroidd-
StudioAndroid-GtkUI-1f83801\\Resized/*.*'

On the bright side,decompiling works! I placed my apk in C:\mDroidd-StudioAndroid-GtkUI-1f83801\APK\IN and that did the job (O/P was the smali folder in C:\mDroidd-StudioAndroid-GtkUI-1f83801\APK\DEC)

But, re-compiling doesnt work. I placed the decompiled (and edited) smali folder in C:\mDroidd-StudioAndroid-GtkUI-1f83801\APK\EX but :(

O/P after successfully decompiled

'chmod' is not recognized as an internal or external command,
operable program or batch file.
OS = Win
Cores = 2
Home = C:\Users\WIN7
ScriptDir = C:\mDroidd-StudioAndroid-GtkUI-1f83801
File = C:\mDroidd-StudioAndroid-GtkUI-1f83801\SAP.py
I: Baksmaling...
testI: Loading resource table...
W: null
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.data.value.ResValueFactory.factory(ResValueFactory.
java:66)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:177)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
java -jar C:\mDroidd-StudioAndroid-GtkUI-1f83801/Utils/apktool.jar d -f C:\mDroi
dd-StudioAndroid-GtkUI-1f83801/APK/IN/CONTRACT_KILLER_v1.2.4.apk C:\mDroidd-Stud
ioAndroid-GtkUI-1f83801/APK/DEC/CONTRACT_KILLER_v1.2.4
Decompile C:\mDroidd-StudioAndroid-GtkUI-1f83801/APK/IN/CONTRACT_KILLER_v1.2.4.a
pk

O/P after unsuccesful re-compile

'chmod' is not recognized as an internal or external command,
operable program or batch file.
OS = Win
Cores = 2
Home = C:\Users\WIN7
ScriptDir = C:\mDroidd-StudioAndroid-GtkUI-1f83801
File = C:\mDroidd-StudioAndroid-GtkUI-1f83801\SAP.py
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

---------- Post added at 01:15 PM ---------- Previous post was at 01:09 PM ----------

Feel free to use and abuse