5,604,050 Members 46,683 Now Online
XDA Developers Android and Mobile Development Forum

Error while Compiling Home.apk

Tip us?
 
ShyamSasi
Old
(Last edited by ShyamSasi; 25th September 2011 at 08:30 AM.)
#1  
ShyamSasi's Avatar
Recognized Contributor - OP
Thanks Meter 1665
Posts: 2,692
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
Default Error while Compiling Home.apk

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
 
XperienceD
Old
#2  
XperienceD's Avatar
Senior Member
Thanks Meter 2260
Posts: 7,092
Join Date: Jul 2010
Location: Here =)
I just got the same error too without even changing anything. What files are you changing?
 
subhankar.ds
Old
#3  
subhankar.ds's Avatar
Senior Member
Thanks Meter 553
Posts: 263
Join Date: Nov 2010
Location: Kolkata-India

 
DONATE TO ME
This is happening for all system apk for ver-283
#######################################
If you like my work Plz Donate....it will help me to do something more...
 
ShyamSasi
Old
#4  
ShyamSasi's Avatar
Recognized Contributor - OP
Thanks Meter 1665
Posts: 2,692
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
Quote:
Originally Posted by XperienceD View Post
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.
 
XperienceD
Old
#5  
XperienceD's Avatar
Senior Member
Thanks Meter 2260
Posts: 7,092
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by subhankar.ds View Post
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 View Post
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.
 
datagubben
Old
#6  
datagubben's Avatar
Senior Member
Thanks Meter 470
Posts: 1,179
Join Date: Nov 2010
Location: Landskrona
Any progress?
 
IncubusUA
Old
#7  
Member
Thanks Meter 25
Posts: 32
Join Date: Sep 2007
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 13 Users Say Thank You to IncubusUA For This Useful Post: [ Click to Expand ]
 
datagubben
Old
#8  
datagubben's Avatar
Senior Member
Thanks Meter 470
Posts: 1,179
Join Date: Nov 2010
Location: Landskrona
Quote:
Originally Posted by IncubusUA View Post
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!
 
Soheil_rf
Old
#9  
Soheil_rf's Avatar
Senior Member
Thanks Meter 869
Posts: 427
Join Date: Jul 2009
Location: Tehran
Quote:
Originally Posted by IncubusUA View Post
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
 
luiscencio
Old
#10  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: May 2011
cant compile I get same error =( sad... very very sad...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes