Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Error while Compiling Home.apk

OP ShyamSasi

25th September 2011, 09:23 AM   |  #1  
ShyamSasi's Avatar
OP Recognized Contributor
CLASSIFIED
Thanks Meter: 1,752
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
I get this error while compiling.

Code:
D:\APK Manager\other\..\projects\Home.apk\res\values\styles.xml:16: error: Error
 retrieving parent for item: No resource found that matches the given name 'Layo
ut'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\SHYAMS~1\AppData\Local\Tem
p\APKTOOL1060512814595837586.tmp, -I, C:\Users\Shyam Sasindran\apktool\framework
\1.apk, -S, D:\APK Manager\other\..\projects\Home.apk\res, -M, D:\APK Manager\ot
her\..\projects\Home.apk\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
        at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
        at brut.androlib.Androlib.buildResources(Unknown Source)
        at brut.androlib.Androlib.build(Unknown Source)
        at brut.androlib.Androlib.build(Unknown Source)
        at brut.apktool.Main.cmdBuild(Unknown Source)
        at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\SHYAMS~1\AppData\Local\Temp\APKTOOL1060512814595837586.tmp, -I, C:\Users\Sh
yam Sasindran\apktool\framework\1.apk, -S, D:\APK Manager\other\..\projects\Home
.apk\res, -M, D:\APK Manager\other\..\projects\Home.apk\AndroidManifest.xml]
        at brut.util.OS.exec(Unknown Source)
        ... 7 more
The system cannot find the file specified.
Not sure what I'm doing wrong. I treid to decomplie with resources and tried to add framework-res.apk and SemcGenericUxpRes.apk
Last edited by ShyamSasi; 25th September 2011 at 09:30 AM.
25th September 2011, 09:41 AM   |  #2  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,452
 
7,378 posts
Join Date:Joined: Jul 2010
More
I just got the same error too without even changing anything. What files are you changing?
25th September 2011, 10:11 AM   |  #3  
subhankar.ds's Avatar
Senior Member
Flag Kolkata-India
Thanks Meter: 556
 
263 posts
Join Date:Joined: Nov 2010
Donate to Me
More
This is happening for all system apk for ver-283
25th September 2011, 10:38 AM   |  #4  
ShyamSasi's Avatar
OP Recognized Contributor
CLASSIFIED
Thanks Meter: 1,752
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by XperienceD

I just got the same error too without even changing anything. What files are you changing?

Thanks for the response.

I'll editing the \Home.apk\res\values\styles.xml to enable more Home screens.
25th September 2011, 10:43 AM   |  #5  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,452
 
7,378 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by subhankar.ds

This is happening for all system apk for ver-283

The Home.apk is the only thing I've had an issue with so far.
Quote:
Originally Posted by ShyamSasi

Thanks for the response.

I'll editing the \Home.apk\res\values\styles.xml to enable more Home screens.

Select yes for system app, then no to copy over unmodded and see if it builds the resources file, if it does copy that from the keep folder and see if it's worked.
25th September 2011, 09:57 PM   |  #6  
datagubben's Avatar
Senior Member
Flag Landskrona
Thanks Meter: 473
 
1,198 posts
Join Date:Joined: Nov 2010
More
Any progress?
26th September 2011, 04:47 PM   |  #7  
Member
Thanks Meter: 27
 
38 posts
Join Date:Joined: Sep 2007
More
Just decompile apk, replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar"> at \res\values\styles.xml and compile...
The Following 14 Users Say Thank You to IncubusUA For This Useful Post: [ View ]
27th September 2011, 12:02 AM   |  #8  
datagubben's Avatar
Senior Member
Flag Landskrona
Thanks Meter: 473
 
1,198 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by IncubusUA

Just decompile apk, replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar"> at \res\values\styles.xml and compile...

It worked flawlessly, super thanx to people like You and the XDA forum!

Have a nice day!
27th September 2011, 12:35 AM   |  #9  
Soheil_rf's Avatar
Senior Member
Flag Tehran
Thanks Meter: 881
 
433 posts
Join Date:Joined: Jul 2009
More
Quote:
Originally Posted by IncubusUA

Just decompile apk, replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar"> at \res\values\styles.xml and compile...


Very Nice , thanks
11th October 2011, 11:17 PM   |  #10  
Junior Member
Thanks Meter: 0
 
9 posts
Join Date:Joined: May 2011
cant compile I get same error =( sad... very very sad...

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes