[Q]after decompile-compile apk in Astro it had got problem with parsing - Xperia Arc Q&A, Help & Troubleshooting

I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like 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"
}
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me

I'VE GIVEN YOU THE SOLUTION ON NUMEROUS THREADS. You don't need to start a thread for every apk you have an issue with.!
Sent from my CM9'd Arc

ah i'm sorry

danisariandi said:
I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like this
View attachment 1246446
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me
Click to expand...
Click to collapse
apktool 1.4.3 has compile problems.
Update aapt.exe by taking it from android sdk and try to compile again.
Should work fine.

Related

[Q] ADB/JAVA help :(

I cannot work with apk multi tool
i have installed java and android sdk
and have added path in environmental variables for sdk
Whenever i run APK Manager following err comes
Heres screen
{
"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"
}
swap.blue said:
I cannot work with apk multi tool
i have installed java and android sdk
and have added path in environmental variables for sdk
Whenever i run APK Manager following err comes
Heres screen
View attachment 964636
Click to expand...
Click to collapse
Download some other version of java. For as long as i knoe, i tried adb and what happened was whenever i wrote "adb logcat" it showed "waiting for device" wheras device was connected. Cnat undastand. Thought abt apk tool, ihave neva used it. I do all mah work manually. I read somewhere dat you have to ignore latest version.
Sent from my GT-S5360 using XDA Premium

Why does my XML look like this?

...and how do I make it stop? I've tried Notepad++ with the XML plugin, Eclipse, EditPlus, Notepad, WordPad, and none of them seem to be encoding it properly.
{
"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"
}
did you decompile the apk? or did you just extract the apk?
No... he didnt. Decompile the apk and it will come out normal.
Sent From My Sprint Galaxy Nexus
IINexusII said:
did you decompile the apk? or did you just extract the apk?
Click to expand...
Click to collapse
Oh... derp. I extracted it. That explains it.
I just spent about an hour trying to figure out why I can't build a decompiled apk. I was able to decode it just fine, but I get a bunch of errors when I try to build it. I gave up and thought I'd try smali to edit classes.dex and I thought I'd be able to edit the XML by simply extracting it from the apk.
I'm trying to modify the stock Jellybean launcher (following these directions) because Apex is too choppy and I don't like Nova.
I was able to edit launcher.smali, recompile it, put it back into the apk and flash it without any force closing issues (had to substitute a few things). Now I need to do the rest in XML but I can't recompile with apktool or anything.
Never mind. I've got it:
http://forum.xda-developers.com/showthread.php?p=28862729#post28862729

[Q] Apktool , Install framework-res resource

How can I run ICS and Original Apk Tool ?
http://forum.xda-developers.com/showthread.php?t=1558171
And how can I install framework-res resources ?
Yes. Original to decompile and compile. Use ICS to compile if you are having problems with the Original one.
To install sources on Windows
open cmd [if you are running x64 with java x32, open C:\Windows\SysWOW64\cmd.exe]
cd [your apktool folder] [exemple: cd C:\Users\YourUsername\Documents]
apktool if framework-res.apk
done.
To install sources on Linux
open terminal
cd [apktool folder again]
apktool if framework-res.apk
done. Actually it's the same steps as on windows, but anyway...
Just remember you must have java jre/jdk installed. And the framework-res.apk must be together with the apktool.jar.
Screen shot is here ;
Now what can I ? I clicked apktool.bat but not opened :/
{
"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"
}
Arnadel said:
Screen shot is here ;
Now what can I ? I clicked apktool.bat but not opened :/
Click to expand...
Click to collapse
In this case, you need to run framework-if.bat Running apktool.bat won't be different. You can also path\apktool if framework-res.apk

[ColorOS Camera] Adding extra features.

hi,
Adding extra features to ColorOS v1.0 stock camera app.
- slow shutter
- poster
- barcode scanner
{
"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"
}
How to use:
1. Must have root phone - If you do not know how to do it, here is the easiest way (one click).
2. Copy and replace OppoCamera.apk to system/app/
3. Copy and replace oppo_camera_dev_config.xml and oppo_camera_dev_config_novoice.xml to system/etc
SYSTEM.ZIP
have fun
Where can I download OppoCamera.apk ?
distan7 said:
Where can I download OppoCamera.apk ?
Click to expand...
Click to collapse
SYSTEM.ZIP
have fun
I'm using CM11 now and I want the OPPO Camera really bad! I've followed your instructions + run the apk file to install the camera, but when trying to open the installed camera app it pops a "Unfortunately, camera has stopped" message.
Is there a way to make this camera run on CM11 (android 4.4.2)?
PS:
I'm rooted and can do whatever needed to make it work, if possible of course.
can anyone upload the file again? its removed. better if someone can port out the newer version 2.0+

System UI stopped after modify it with APK Manager

I have modified some png icons in my system UI, no problem with compile it.
But when I copy it to the phone, change permissions, etc. Reboot phone, and SystemUI doesn´t works.
Any developer can help me changing the icons?
Bro this is why Samsung uses .qmg icons instead of png
Sent from my Pixel XL using Tapatalk
fernandovidaltello said:
I have modified some png icons in my system UI, no problem with compile it.
But when I copy it to the phone, change permissions, etc. Reboot phone, and SystemUI doesn´t works.
Any developer can help me changing the icons?
Click to expand...
Click to collapse
U know wut bro samsung make their diff so much secure so only people with great knowledge can only do modifications. Tell your device model and get a backup from someone to get it fixed.
I found the problem.
In Apk Manager, the compression level is 9, only change this to 0 and compile 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"
}
Can you give me apk manager link?
fernandovidaltello said:
Click to expand...
Click to collapse
can you give me the link of your systemui?

Categories

Resources