Jump to content


[ICS][4.0.3]Lightning ROM For The Huawei Ascend G300 ★ADDONS AVAILABLE★ ✮CM-TOGGLES✮ ✰UPDATED 17/03/2013✰


2031 replies to this topic

#1061
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300

View Posttillaz, on 28 February 2013 - 08:40 PM, said:

it can be a pain the arss, mainly because there never in the right order after decompling lol

if your still having trouble, post your log.txt and public.xml and i will give you some pointers if needed Posted Image

I'm compiling for the last time, if it doesn't work i'll post the details here. Thanks :)

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1062
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300

View Posttillaz, on 28 February 2013 - 08:40 PM, said:

it can be a pain the arss, mainly because there never in the right order after decompling lol

if your still having trouble, post your log.txt and public.xml and i will give you some pointers if needed Posted Image

Ok lol, it still has problems. Here are the details:

Lines I'm adding:


<public type="string" name="wifi_frequency_band_entries" id="0x7f0c0898" />
<public type="string" name="header_category_lightning" id="0x7f0c0899" />
<public type="string" name="beats_settings_title" id="0x7f0c090a" />
<public type="string" name="settings_label_beats" id="0x7f0c090b" />
<public type="string" name="toggle_settings_title" id="0x7f0c090c" />
<public type="string" name="settings_label_toggle" id="0x7f0c090d" />

Log:


I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3406: error: Public entry identifier 0x7f0c090a entry index is larger than available symbols (index 2314, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3406: error: Public symbol string/beats_settings_title declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3405: error: Multiple entry names declared for public entry identifier 0x89a in type string (bluetooth_did_record_invalid vs header_category_lightning).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3140: Originally defined here.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3405: error: Public symbol string/header_category_lightning declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3407: error: Public entry identifier 0x7f0c090b entry index is larger than available symbols (index 2315, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3407: error: Public symbol string/settings_label_beats declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3409: error: Public entry identifier 0x7f0c090d entry index is larger than available symbols (index 2317, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3409: error: Public symbol string/settings_label_toggle declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3408: error: Public entry identifier 0x7f0c090c entry index is larger than available symbols (index 2316, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3408: error: Public symbol string/toggle_settings_title declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

Edited by kyan31, 28 February 2013 - 09:27 PM.

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1063
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300

View Postsaiem1, on 28 February 2013 - 07:54 PM, said:

This rom is the best
It is really smooth but could you by any chance improve gaming performance like temple run 2 on high visual setitng because all ics i have had lag a bit on games)
Posted Image  

KYAN IS AWESOME

Haha thanks dude :P

I can't really improve gaming, I have pushed it to the limit. Remember the G300 is just a budget device :)

Edited by kyan31, 28 February 2013 - 09:26 PM.

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1064
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300
I'll continue the mod once I get a response, anyway the mod is supposed to add beats audio in the settings, and toggle settings. I did it in Electra, and it should work fine on Lightning too. Just need to get those public.xml lines right. Might also add call recording, the build.prop edit I posted here previously does actually enable call recording, I think Tillaz mentioned it somewhere too.

Posted Image

Edited by kyan31, 28 February 2013 - 10:03 PM.

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1065
blademaster123

blademaster123

    Enthusiast

  • Members
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:London
  • Interests:Reading, Nexus7 , G300 gaming, Parkour, Guitar :D
  • Devices:Huawei Ascend G300, Nexus 7
Cool

"Someone who has never made a mistake, has never tried anything new"

Albert Einstein

#1066
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,761 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:Space
  • Devices:Nexus 4

View Postkyan31, on 28 February 2013 - 09:24 PM, said:

Ok lol, it still has problems. Here are the details:

Lines I'm adding:


<public type="string" name="wifi_frequency_band_entries" id="0x7f0c0898" />
<public type="string" name="header_category_lightning" id="0x7f0c0899" />
<public type="string" name="beats_settings_title" id="0x7f0c090a" />
<public type="string" name="settings_label_beats" id="0x7f0c090b" />
<public type="string" name="toggle_settings_title" id="0x7f0c090c" />
<public type="string" name="settings_label_toggle" id="0x7f0c090d" />

Log:


I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3406: error: Public entry identifier 0x7f0c090a entry index is larger than available symbols (index 2314, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3406: error: Public symbol string/beats_settings_title declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3405: error: Multiple entry names declared for public entry identifier 0x89a in type string (bluetooth_did_record_invalid vs header_category_lightning).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3140: Originally defined here.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3405: error: Public symbol string/header_category_lightning declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3407: error: Public entry identifier 0x7f0c090b entry index is larger than available symbols (index 2315, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3407: error: Public symbol string/settings_label_beats declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3409: error: Public entry identifier 0x7f0c090d entry index is larger than available symbols (index 2317, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3409: error: Public symbol string/settings_label_toggle declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3408: error: Public entry identifier 0x7f0c090c entry index is larger than available symbols (index 2316, total symbols 2289).
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:3408: error: Public symbol string/toggle_settings_title declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL2673588856149953899.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

i need your full public.xml

Posted ImagePosted ImagePosted Image


#1067
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300
Crap, I just put my laptop away :(

I'm gonna have to get to you tomorrow. Sorry about that.

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1068
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,761 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:Space
  • Devices:Nexus 4
EDIT:

actually looking at the log there not in the right order

error: Multiple entry names declared for public entry identifier 0x89a in type string (bluetooth_did_record_invalid vs header_category_lightning).

you have started adding from a place that is not the last id used

send me the public.xml tomorrow and i will have a look for you and try and explain where you went wrong

Posted ImagePosted ImagePosted Image


#1069
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300
Oh right, I understand what you mean. Next time I need to start at the biggest number in the sequence. Its pretty obvious now that I'm thinking about it :P

I'll send you the XML later today.

Edited by kyan31, 01 March 2013 - 08:13 AM.

Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1070
PCTechRoss

PCTechRoss

    Diehard

  • Members
  • PipPipPipPip
  • 310 posts
  • Gender:Male
  • Location:London
  • Interests:Computers, Mobile Phones
  • Devices:Huawei Ascend G300, Nexus 7

View Postkyan31, on 28 February 2013 - 10:00 PM, said:

I'll continue the mod once I get a response, anyway the mod is supposed to add beats audio in the settings, and toggle settings. I did it in Electra, and it should work fine on Lightning too. Just need to get those public.xml lines right. Might also add call recording, the build.prop edit I posted here previously does actually enable call recording, I think Tillaz mentioned it somewhere too.

Posted Image

Add electra settings battery icons, i loved the one in Lightning but it isnt in Cm10.1


#1071
blaster99999

blaster99999

    Regular

  • Members
  • PipPip
  • 101 posts
is there a way of installing the battery circle mod , ive just tried the ics circle mod and caused rom to keep stopping


#1072
PCTechRoss

PCTechRoss

    Diehard

  • Members
  • PipPipPipPip
  • 310 posts
  • Gender:Male
  • Location:London
  • Interests:Computers, Mobile Phones
  • Devices:Huawei Ascend G300, Nexus 7

View Postblaster99999, on 01 March 2013 - 01:56 PM, said:

is there a way of installing the battery circle mod , ive just tried the ics circle mod and caused rom to keep stopping
Its in the addons, download it onto your SD card then install is in recovery


#1073
blaster99999

blaster99999

    Regular

  • Members
  • PipPip
  • 101 posts
found it thanks  

View PostPCTechRoss, on 01 March 2013 - 02:27 PM, said:

Its in the addons, download it onto your SD card then install is in recovery


#1074
blaster99999

blaster99999

    Regular

  • Members
  • PipPip
  • 101 posts
Super fast Rom this one,  I have a question i  don't have 4 key lock i lost when i upgraded from ginger bread to 926 I then upgraded  to 936 and now this Rom , i only have 2 key lock ,any way to reinstall 4 key lock,  I've tried the go lock 4 key lock but was laggy


#1075
Pyntux

Pyntux

    Diehard

  • Members
  • PipPipPipPip
  • 329 posts
  • Gender:Male
  • Devices:G300, Alcatel Idol 6030X
Search for potter unlock apk on forum, and install...


#1076
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300
Some more Electra ROM screenshots. 48 mb used space, on CM its usually 70 so this is an improvement. Can't comment on RAM, I'm not really sure. Electra ROM settings now have a full change log, and OTA updates. I'm gonna add reboot to recovery in lightning too :)

Attached Files


Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1077
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300

View Posttillaz, on 28 February 2013 - 10:26 PM, said:

EDIT:

actually looking at the log there not in the right order

error: Multiple entry names declared for public entry identifier 0x89a in type string (bluetooth_did_record_invalid vs header_category_lightning).

you have started adding from a place that is not the last id used

send me the public.xml tomorrow and i will have a look for you and try and explain where you went wrong

I attached my public.xml on this message, hope it's useful. I'm also going to use your reboot to recovery tutorial as it's like a nice addition :)

Attached Files


Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1078
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,761 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:Space
  • Devices:Nexus 4

View Postkyan31, on 01 March 2013 - 08:23 PM, said:

I attached my public.xml on this message, hope it's useful. I'm also going to use your reboot to recovery tutorial as it's like a nice addition Posted Image

the last hex value used for the strings is

<public type="string" name="svc_uuid_unknown" id="0x7f0c08eb" />


so the stuff your adding should be

<public type="string" name="header_category_lightning" id="0x7f0c08ec" />
<public type="string" name="beats_settings_title" id="0x7f0c08ed" />
<public type="string" name="settings_label_beats" id="0x7f0c08ee" />
<public type="string" name="toggle_settings_title" id="0x7f0c08ef" />
<public type="string" name="settings_label_toggle" id="0x7f0c08f0" />

Posted ImagePosted ImagePosted Image


#1079
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,743 posts
  • Gender:Male
  • Location:London
  • Interests:Programming, Robotics, Phones, Design, and much more! Yes, i'm a techy!
  • Devices:Huawei Ascend G300

View Posttillaz, on 01 March 2013 - 11:28 PM, said:

the last hex value used for the strings is

<public type="string" name="svc_uuid_unknown" id="0x7f0c08eb" />


so the stuff your adding should be

<public type="string" name="header_category_lightning" id="0x7f0c08ec" />
<public type="string" name="beats_settings_title" id="0x7f0c08ed" />
<public type="string" name="settings_label_beats" id="0x7f0c08ee" />
<public type="string" name="toggle_settings_title" id="0x7f0c08ef" />
<public type="string" name="settings_label_toggle" id="0x7f0c08f0" />

Ok, this solved the major issue, thanks :)

I still have one more error now, but it is a single error so it should be easy to fix. I'm adding the lines:


<public type="drawable" name="ic_settings_beats" id="0x7f0200f0" />
<public type="drawable" name="ic_settings_toggles" id="0x7f0200f1" />

My public.xml is attached here on this message.

Log:

I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:261: error: Public symbol drawable/ic_settings_toggles declared here is not defined.
C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res\values\public.xml:1102: error: Public symbol id/toggles_settings declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL254245603397943474.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL254245603397943474.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Learner\AppData\Local\Temp\APKTOOL254245603397943474.tmp, -0, arsc, -I, C:\Users\Learner\apktool\framework\1.apk, -S, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\res, -M, C:\Users\Learner\Desktop\APK MultiTool\other\..\projects\Settings2.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

Attached Files


Posted ImagePosted Image


Like my work? Give me a +1, or support me via PayPal so I can save towards a new laptop!

DONATE

#1080
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,761 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:Space
  • Devices:Nexus 4

View Postkyan31, on 02 March 2013 - 12:49 AM, said:

Log:

projects\Settings2.apk\res\values\public.xml:261: error: Public symbol drawable/ic_settings_toggles declared here is not defined.

projects\Settings2.apk\res\values\public.xml:1102: error: Public symbol id/toggles_settings declared here is not defined.



no need to manually add hex values for drawables, apktool will automatically generate them  

just delete

<public type="drawable" name="ic_settings_beats" id="0x7f0200f0" />
<public type="drawable" name="ic_settings_toggles" id="0x7f0200f1" />

also, remove this, its not actually needed

<public type="id" name="toggles_settings" id="0x7f090215" />

looks like the you also forgot to add the ic_settings_toggles.png to drawable-hdpi

add your images and compile

Posted ImagePosted ImagePosted Image





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users