error with apktool while building apps. - General Questions and Answers

hey guys, I wanted to post this question in Android Hacking Q & A ,but I couldn't
I am trying to translate Roms into my own language using apktool.
the problem is that I can't build the apps , when ever I type in the command line this ( in this case, we have framework-res.apk )
'' apktool b framework-res ''
it gives me error, I don't know why, it does not give me this error ONLY for MIUI ROMS,
but it gives this error for all other roms, including AOKP,CyanogenMod.
I have the latest version of JDK Version 7.
please help.
this is screenshot of the error.
{
"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"
}
hope you answer

Related

[Q] Help with decompiling / recompiling ics framework!!!

Hi guys!!
i have been trying for a day now on how to compile this apk (framework-res.apk from 4.0.3...galaxy nexus) ....i've tried all the apk compilers there are...i'm trying to change the recent apps width and height in /values/dimens.xml
thumbnail height = "356"
thumbnail width = "200"
If anyone manages to do this...THANK YOU!!!!!!!
btw: i've tried just decompiling and recompiling...still gives an error
here is the error if you need it:
{
"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"
}
i attached the apk
decompile with 1.4.2 and compile with 1.4.3 and thats where i get stuck
because i got bootloops

Getting Errors while Decompiling an android apk file

Hello Everyone,
This is my first post in XDA Developers Forum. I am also liitle confused about selecting the right category for such topics, so I am posting it to a General Forum.
I am new to android development. I am trying to decompile an android apk file for study purpose. I googled for the process and found some steps but when I tried it decompiling with apktool then It some errors showed up. I found that only this particular app is having problem with decompilation.
I have also attached the screenshot below. So please help me with this.
{
"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"
}
After successful decompilation, Can I Import the file to the Eclipse Workspace without any problems ?
If there are some useful tips for this then please provide me.
Thank you {In Advanced}.

(Help Needed)Getting Error While Recompiling Apk

I used MULTI APK TOOL To Decompile Apk It Sucessfully Decompiled Showing Error Which Recompiling Apk.
Here Is 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"
}
Regards
SMARTY BOY said:
I used MULTI APK TOOL To Decompile Apk It Sucessfully Decompiled Showing Error Which Recompiling Apk.
Here Is SCREENSHOT :
Regards
Click to expand...
Click to collapse
Looking into screenshots it appears to be JAVA errors . Check if JAVA jdk is correctly installed on your system . If not try reinstalling latest versio of JAVA JDK .

[TOOL][APK]Smali Color Converter Apk

Hello guys, I wanna share My Small tool (made by me).
The function of this apk is for converting #AARRGGBB color string value to Smali color value and visa versa.
Hope this apk will help a lot of people
SreenShots:
{
"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"
}
EDIT
some of my friends report me that the application can not by installed on their phones.
I will see the problem and update the post (apk) ASAP
EDIT2: PROBLEM SOLVED
Changelogs
Update to version 2.2
Download ColorSmaliConverter.2.2.apk
Reupload
Download ColorSmaliConverter.2.1.apk
I installed it but then i got a FC on GB 2.3.5
来自搭载Android 2.3 GingerBread的华为Y220-T10
Hello bro. Can i barrow the open source of this app?

How can I solve vendor build error!!!

Hi guys. Happy New Year~~
I'm now wanna build crDroid rom.
So I followed https://github.com/crdroidandroid/android/tree/11.0 < this readme file.
but when I type brunch "hero2lte", this error message comes out...
{
"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"
}
I know this error that comes from vendor not exits...
So I tried these things.
1. add "<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" />" on the roomservice and repo sync.
> this still make error
2. extract blobs with "https://wiki.lineageos.org/extracting_blobs_from_zips.html"
> this still make error
How can I build this rom..?? Please let me know Please...........
+ Just in case, I upload roomservice.xml

Categories

Resources