Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Do you find the latest beta functional ?
Yes 989 75.15%
No 327 24.85%
Voters: 1316. You may not vote on this poll

 
Post Reply+
Tip us?
 
dreamsforgotten
Old
(Last edited by dreamsforgotten; 16th April 2011 at 01:12 PM.)
#1561  
dreamsforgotten's Avatar
Senior Member
Thanks Meter 2439
Posts: 4,889
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by Raadius View Post
I got a parsing error when I tried to install an APK. I think I may have recompiled it wrong? I had decompile and apk (not a system apk) so I can change image sizes in the layout folder.

I choose #3, extracted the apk, than I choose #9, decompile the apk. I than went into the project folder > res > layout and edited the image size when I was done, I back out the folder back to the project folder. I than went back to the APK Manager script and choose #11, compile, than choose #3, zip file, and than signed it and now Im getting a parsing error and cant install it? Somebody give me advise please?
I normally don't recompile an apk with edited images. If they are .9s use apk manager to decompile sure, edit in image editing software then pull your drawable folder from another fresh copy of the apk. Copy edited images in then drag and drop the drawable folder back in the apk. After (non system apps only) you must re-sign the apk as the md5 sum changes cause your images aren't the same size anymore. Keep in mind you will needto delete the original .apk from the phone copy the edited one to your sd and install it. Also note you can't update the apk anymore cause the new signature

Edit: image size in layout? Layout is many xml files if your talking about xml files the same applies about resigning and all cause the overall size of the apk still changes.

Sent from my SPH-D700 using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
chaz03
Old
#1562  
Member
Thanks Meter 1
Posts: 51
Join Date: Feb 2010
Location: columbus
Anyone know why I continuously get the "An error occured Please check the log" I increased the heap size to 512mb. Im trying to decompile the systemUI and framework-res of stock xoom wifi. Its got me stumped here...
 
klquicksall
Old
#1563  
Account currently disabled
Thanks Meter 556
Posts: 2,453
Join Date: Dec 2010
Location: Texas

 
DONATE TO ME
This tool is working great for me. I just need some guidance on making the app drawer transparent. I know the samli code and the xml values but, I dont know what I need to decompile the rosie.apk with. Ive tried com.resources. but the app drawer is still black and not transparent with I flash it. Any advice would be great.
 
dreamsforgotten
Old
#1564  
dreamsforgotten's Avatar
Senior Member
Thanks Meter 2439
Posts: 4,889
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by chaz03 View Post
Anyone know why I continuously get the "An error occured Please check the log" I increased the heap size to 512mb. Im trying to decompile the systemUI and framework-res of stock xoom wifi. Its got me stumped here...
What does the log say when you check it?

Sent from my SPH-D700 using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
$omator
Old
#1565  
Account currently disabled
Thanks Meter 942
Posts: 3,812
Join Date: Dec 2010
Location: tri(p) city

 
DONATE TO ME
5.0 sucks
 
kirbnite
Old
(Last edited by kirbnite; 17th April 2011 at 04:29 AM.)
#1566  
Member
Thanks Meter 5
Posts: 56
Join Date: Jul 2009
Quote:
Originally Posted by chaz03 View Post
Anyone know why I continuously get the "An error occured Please check the log" I increased the heap size to 512mb. Im trying to decompile the systemUI and framework-res of stock xoom wifi. Its got me stumped here...
Yeah

Before you try to decompile SystemUI.apk, you need to install the framework-res.apk as 1.apk

To do this, in a command prompt go to a directory that has apktool.jar and framework-res.apk and type
Java -jar apktool.jar if framework-res.apk

Or

Rename a copy of framework-res.apk to 1.apk
And replace c:\users\yourname\apktool\1.apk



The framework-res.apk should decompile. Post a link to a copy of your framework and one of us can take a look.

Sent from my DROIDX using XDA Premium App
 
BrandoKC
Old
#1567  
BrandoKC's Avatar
Senior Member
Thanks Meter 282
Posts: 1,135
Join Date: May 2010
Location: Kansas City

 
DONATE TO ME
I am running Windows 7 64 bit and have the correct version of Java installed. However apk manager is not finding Java.
What is the proper way for me to format my PATH for ADB and Java? Java is in the program files folder and the SDK is located in the C directory.

Thanks in advance
 
klquicksall
Old
#1568  
Account currently disabled
Thanks Meter 556
Posts: 2,453
Join Date: Dec 2010
Location: Texas

 
DONATE TO ME
Default solved

Quote:
Originally Posted by klquicksall View Post
This tool is working great for me. I just need some guidance on making the app drawer transparent. I know the samli code and the xml values but, I dont know what I need to decompile the rosie.apk with. Ive tried com.resources. but the app drawer is still black and not transparent with I flash it. Any advice would be great.

I solved it. I got the right samli code and decompiling the rosie with com. resources is all you need.
 
timmytim
Old
#1569  
timmytim's Avatar
Senior Member
Thanks Meter 460
Posts: 727
Join Date: Jan 2011
Location: Arizona

 
DONATE TO ME
Default Themeing, Please help. Thanks in advance

Hey guys,

Im having issues with this script. I am able to decompile my framework-res.apk fine, make changes to xml files fine but when I recompile I get the errors below in my logs. I have tried themed and stock framework-res' and I made sure to sign them. Everytime I place one into my CWM zip file I get a bootloop.

As a test I decompiled the stock framework-res, did not change anything, recompiled, signed, and flashed and my phone still bootloops. There must be something with the recompile that I am not doing right.

Thanks in advance for the help.

Code:
-------------------------------------------------------------------------- 
|Mon 04/18/2011 -- 15:05:40.33| 
-------------------------------------------------------------------------- 
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Program Files\Android\android-sdk\tools\apkmgr\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Program Files\Android\android-sdk\tools\apkmgr\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'zzzzz_tw_cursor_handle_choosertitle_sharevia' has no default translation in C:\Program Files\Android\android-sdk\tools\apkmgr\other\..\projects\framework-res.apk\res; found: de
aapt: warning: string 'zzzzz_tw_cursor_handle_popup_search' has no default translation in C:\Program Files\Android\android-sdk\tools\apkmgr\other\..\projects\framework-res.apk\res; found: de
I: Building apk file...
 
$omator
Old
#1570  
Account currently disabled
Thanks Meter 942
Posts: 3,812
Join Date: Dec 2010
Location: tri(p) city

 
DONATE TO ME
first of all you do not have adb working with apk manager - rtfm
second of all you might not have proper framework 'attached'

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...