What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have … more

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the … more

New Cyanogen Partnerships Bring Privacy Concerns

New Privacy concerns have emerged regarding Cyanogen’s latest announcements, … more

PSA: Google Play Services Wakelock Affects Many 5.x ROMs

Wakelocks are the bane of the battery conscious, and this wakelock bug has been … more
Post Reply Subscribe to Thread Email Thread

Error while Compiling Home.apk

25th September 2011, 08:23 AM |#1  
ShyamSasi's Avatar
OP Recognized Contributor
CLASSIFIED
Thanks Meter: 1,776
 
2,781 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 08:30 AM.
 
 
25th September 2011, 08:41 AM |#2  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,505
 
7,481 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, 09:11 AM |#3  
subhankar.ds's Avatar
Senior Member
Flag Kolkata-India
Thanks Meter: 558
 
263 posts
Join Date:Joined: Nov 2010
Donate to Me
More
This is happening for all system apk for ver-283
25th September 2011, 09:38 AM |#4  
ShyamSasi's Avatar
OP Recognized Contributor
CLASSIFIED
Thanks Meter: 1,776
 
2,781 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, 09:43 AM |#5  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,505
 
7,481 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, 08:57 PM |#6  
datagubben's Avatar
Senior Member
Flag Landskrona
Thanks Meter: 485
 
1,274 posts
Join Date:Joined: Nov 2010
More
Any progress?
26th September 2011, 03: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 ]
26th September 2011, 11:02 PM |#8  
datagubben's Avatar
Senior Member
Flag Landskrona
Thanks Meter: 485
 
1,274 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!
26th September 2011, 11:35 PM |#9  
Soheil_rf's Avatar
Senior Member
Flag Tehran
Thanks Meter: 884
 
445 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, 10: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