[Q] Error compile whatsapp - Android Q&A, Help & Troubleshooting

Hi, I'm making themes for whatsapp, and using the apkmanager everything works fine when only change the png (options 1, 3 and 4). The problem comes when decompile with option 9 (to modify a xml file for the font color) and not even change any xml, compiled with option 11 and it gives me error. I leave the log. I need help. Thx!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

Change settings menu

Hi, I'm interested in changing settings menu screen and I think I've to edit framework-res.apk but I don't now what do I have to change.
Anybody knows anything about this.
I would like somethings like this menu
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks
done. i've edited settings.apk and changed the images in drawable-mdpi folder.

Jelly Bean -how to change my navbar size?

To begin, this is my first time editing an XML file, so forgive my lack of knowledge.
----------------
I did this in CM10 framework-res.apk
I decompile it , then I have changed the settings in my res/values/dimens.xml to the following:
navigation_bar_height">24.0dip
navigation_bar_height_landscape">24.0dip
navigation_bar_width">24.0dip
I'm not sure if these settings are correct, I want 24 for both portrait and landscape.
When I flash the modified framework-res.apk, everything works fine, except the back button is larger than the rest of my softkeys.
Am I missing a setting that I need to change?
Screenshot :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] Issue recompiling framework-res

Using apktool..
decompiled the apk.. size 12.9 mb
changed 2 colors in style.xml...
recompiled the apk... 11.5 mb..
change permission and copy.. baam bootloop...
Also I get the following warnings during compiling and decompiling..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] Why i Can't recompile?

The title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and the same happen even if i dont edit nothing on the apk and try to recompile.
I have "if framework-res and systemui" resources from my phone
You need ICS framework-res.apk installed to compile Holo Launcher

How to edit XML files?

Hi!
I got a problem. I want to edit a theme, specifically the text color, but when I want to edit the XML it opens like this.
If I open AndroidManifest.xml or other it opens normally, but I cant find a program/tool/anything to edit the text colors xml. Anyone got a solution? Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources