So you want to edit xml's or more... an ADB. APK Manager How-To (Basics)

powder

Member
Joined
Dec 29, 2009
Messages
73
Reaction score
0
Location
the evergreen state
You're doing it w/ a raw compiled apk correct?

ITS Correct only i am getting this error not the above one

java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown 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"

I'm sorry i'm not much help. I just have a bad habit of doing a google search and posting a link to the best result i can find for someone's question. Hope you can figure it out. I'll probably try this soon w/ one of my .dex's. I'll post if it worked for me and what i did.
 

Prashanth

New Member
Joined
Mar 4, 2011
Messages
12
Reaction score
0
You're doing it w/ a raw compiled apk correct?

ITS Correct only i am getting this error not the above one

java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown 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"

I'm sorry i'm not much help. I just have a bad habit of doing a google search and posting a link to the best result i can find for someone's question. Hope you can figure it out. I'll probably try this soon w/ one of my .dex's. I'll post if it worked for me and what i did.


Thanks a lot for Helping.. I will be looking forward for you mail here......o
 
OP
xkape

xkape

Premium Member
Premium Member
Theme Developer
Joined
Jul 27, 2010
Messages
3,882
Reaction score
37
Location
OH-IO
ok I'm being reduced to asking for help in my own friggin thread...lol

WHY O WHY.... am I getting this error? What file can't be found? WTF?!?! Yep, been at this one for 11 hours.. tried everyting I (and a google search) could think of....

--------------------------------------------------------------------------
|Mon 03/07/2011 -- 23:11:36.39|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building apk file...
The system cannot find the file specified.
Press any key to continue . . .
 

Prashanth

New Member
Joined
Mar 4, 2011
Messages
12
Reaction score
0
Please can anyone help me out..........for getting java code from .smali extension....
 

powder

Member
Joined
Dec 29, 2009
Messages
73
Reaction score
0
Location
the evergreen state
ok I'm being reduced to asking for help in my own friggin thread...lol

WHY O WHY.... am I getting this error? What file can't be found? WTF?!?! Yep, been at this one for 11 hours.. tried everyting I (and a google search) could think of....

--------------------------------------------------------------------------
|Mon 03/07/2011 -- 23:11:36.39|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building apk file...
The system cannot find the file specified.
Press any key to continue . . .

Do you have the full compiled apk that you're compiling in the "place-apk-here-to-mod" folder?
 

Prashanth

New Member
Joined
Mar 4, 2011
Messages
12
Reaction score
0
Did some one got how to edit smali file into java in eclipse..................
 

mforrest

Member
Joined
Jul 5, 2010
Messages
58
Reaction score
0
Gentlemen,

Big time NOOB here, almost a dirty word, I'm sure..LOL. I followed the above instructions and have even begun my own theming project. With his permission I am using B-boys Murder theme and modifying it to meet my needs for a police theme. I have been "somewhat" successful so far.

http://www.droidforums.net/forum/chevyno1/139302-new-police-theme-new-themer.html

I have gotten to the point where I want to do some .xml edits and when I get to the step of decompiling the framework-res.apk, I am able to decompile. However, when I recompile/ build the apk to check it before edits I get an error. A check of the Log says something about the manifest.xml.

Any suggestions? If ANYBODY is willing to help me out please please please PM me and I"ll copy and paste the LOG back to you to help diagnose. I am soo close to actually completing a theme I don't want to stop now.

If it is simple to fix, you can post here as I will be checking back often. Which ever, is most convenient.

Imagine a police officer on his knees begging you for help.. chuckle and enjoy it, then help me out... please?
 

stetsonaw

Beta Team/Marty McFly
Premium Member
Theme Developer
Joined
Jun 16, 2010
Messages
2,317
Reaction score
0
Location
Bellevue, NE
Website
www.flickr.com
I don't know a lot about the manifest xml, but have you checked to make sure you don't have any bad .9.pngs? This will cause major issues when trying to compile. PM me your log if that isn't the problem.

~Andy -- Sent from 1885
 

droidx8791

Member
Theme Developer
Joined
Dec 11, 2010
Messages
188
Reaction score
0
Location
South Georgia
help

Hit up MBK he can help if he isn't busy.


Gentlemen,

Big time NOOB here, almost a dirty word, I'm sure..LOL. I followed the above instructions and have even begun my own theming project. With his permission I am using B-boys Murder theme and modifying it to meet my needs for a police theme. I have been "somewhat" successful so far.

http://www.droidforums.net/forum/chevyno1/139302-new-police-theme-new-themer.html

I have gotten to the point where I want to do some .xml edits and when I get to the step of decompiling the framework-res.apk, I am able to decompile. However, when I recompile/ build the apk to check it before edits I get an error. A check of the Log says something about the manifest.xml.

Any suggestions? If ANYBODY is willing to help me out please please please PM me and I"ll copy and paste the LOG back to you to help diagnose. I am soo close to actually completing a theme I don't want to stop now.

If it is simple to fix, you can post here as I will be checking back often. Which ever, is most convenient.

Imagine a police officer on his knees begging you for help.. chuckle and enjoy it, then help me out... please?
 

mforrest

Member
Joined
Jul 5, 2010
Messages
58
Reaction score
0
Well, this group is AWESOME!!! B-Boy walked me through it. It was actually bad. 9.PNG images due to the custom rom having them. When I tried to recompile the XML edit Tue bad. 9pngs threw the error.

I can't tell you guys how much I appreciate how helpful you are. Everybody has always been more than willing to show me my errors and the correct method to help me along.

Thanks guys.

Sent from my Droid using DroidForums
 

droidx8791

Member
Theme Developer
Joined
Dec 11, 2010
Messages
188
Reaction score
0
Location
South Georgia
errors

Yes that will cause errors. Either have to correct the guides yourself or replace them with stock images.

Well, this group is AWESOME!!! B-Boy walked me through it. It was actually bad. 9.PNG images due to the custom rom having them. When I tried to recompile the XML edit Tue bad. 9pngs threw the error.

I can't tell you guys how much I appreciate how helpful you are. Everybody has always been more than willing to show me my errors and the correct method to help me along.

Thanks guys.

Sent from my Droid using DroidForums
 

stetsonaw

Beta Team/Marty McFly
Premium Member
Theme Developer
Joined
Jun 16, 2010
Messages
2,317
Reaction score
0
Location
Bellevue, NE
Website
www.flickr.com
Something to do in the future to make sure your .9s are good, run them throu xeudoxus' 9png compiler (its in his xultimate thread). If any of them are wonky, it will tell you exactly which ones they are, and where on the image the error is. Then just run them through draw9patch to fix them.

~Andy -- Sent from 1885
 
Top