As i promised here is the GUI Smali tool for decompiling apk source code when you run into errors when building resources if using APK tool.
Just a few things i should mention:
This program MUST be run as Administrator for 7zip to be able to modify the apk. Its really a lengthy explanation, but pretty much, since im using 7zip outside of its "normal" home its permissions are degraded requiring my program to have elevated permissions to perform propperly.
Second, if you notice it lagging for a long time when exiting its because its cleaning up files. Figured if i didnt do that me and everyone else who used this will have 34868786736273785868657474758699509430393848587 files on their computer. :P
And these seriously dont take two minutes to write, so if you like/use them just thank me
And i need to update my other thread but these tools are written in C#, meaning .NET framework is required. And since i am developing on a windows 7 machine with .NET Framework 4.5 installed, it automatically sets the minimum framework to 4.5. If its an issue for anyone. i can change it to no latter than .NET 3.5 as if i go older i will need to change the code for certain apis arent available in older versions.
I can't backsmali SystemUI.apk from Android 4.1.2 and 4.1.1 ......Not work for me
But i think not your program, may be my file problem
Quote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at GUI_Smali_Tool.MainForm.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
OP UPDATED: Two links for .NET Framework 4.5 First link WHICH I RECOMMEND is Microsoft's direct link to their installer. Second link is an offline installer from microsoft.
Doesn't work for me (Windows 7 x64). Running as Administrator. I have JRE 7, .net 4.5 installed. Here's what the JIT shows:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at GUI_Smali_Tool.MainForm.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
My (Home) Phone: HTC Evo 3D...Now with S-OFF goodness!!
XDA Elite Recognized Developer AdamOutler is known … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?