FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

Error while Compiling Home.apk

2,816 posts
Thanks Meter: 1,801
 
By ShyamSasi, Recognized Contributor on 25th September 2011, 08:23 AM
Post Reply Subscribe to Thread Email Thread
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,508
 
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: 560
 
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,801
 
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,508
 
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: 486
 
More
Any progress?
26th September 2011, 03:47 PM |#7  
Member
Thanks Meter: 31
 
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: 486
 
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: 889
 
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
 
More
cant compile I get same error =( sad... very very sad...
14th October 2011, 07:02 AM |#11  
datagubben's Avatar
Senior Member
Flag Landskrona
Thanks Meter: 486
 
More
Quote:
Originally Posted by luiscencio

cant compile I get same error =( sad... very very sad...

Why don't you read three posts up instead!

Sent from my LT15i using xda premium

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

Advanced Search
Display Modes