Parse Error in apk - Android Q&A, Help & Troubleshooting

Hi,
I am learning apk modification. I decompiled .apk file using advanced apktool and i recompiled the apk without making any changes. i tried to install in android phone i am getting "PARSE ERROR". before decompile it was working. guys please let me know why i am getting this error. i am searching for solution since 2 weeks.help me guys.
Regards,
Sid

it may be because the apk will not be recompiled properly..what tool you are using to decompile and compile..apk toolkit will work for nice for me..without any problem..
Sent from my SM-N900 using XDA Free mobile app

taku_coder said:
it may be because the apk will not be recompiled properly..what tool you are using to decompile and compile..apk toolkit will work for nice for me..without any problem..
Sent from my SM-N900 using XDA Free mobile app
Click to expand...
Click to collapse
Thank you for ur reply, i am using Advanced+ApkTool+v4.1.0+By+BDFreak, for some of the apk it is working fine, but some of apk while installing after modification i am getting parse error.

msiddeeq said:
Thank you for ur reply, i am using Advanced+ApkTool+v4.1.0+By+BDFreak, for some of the apk it is working fine, but some of apk while installing after modification i am getting parse error.
Click to expand...
Click to collapse
thats the problem msiddeeq try to compile with apktoolkit..i mean with older version toolkit..it will surely help u..if any prob pm me
Sent from my SM-N900 using XDA Free mobile app

taku_coder said:
thats the problem msiddeeq try to compile with apktoolkit..i mean with older version toolkit..it will surely help u..if any prob pm me
Sent from my SM-N900 using XDA Free mobile app
Click to expand...
Click to collapse
Thank you for your valuable suggestion, could you please mail me ur apktool(which one you are using) if u dont mind. [email protected]

Related

Compiling framework-res problem (UPDATED)

Original problem has been fixed, therefor I'm editing this instead of creating a new thread
So just ignore the 3 first comment
Whenever I compile framework-res after decompiling it (Even if I haven't modified anything) it goes from 8 MB to 5 MB!
And when I try to install it on my phone, its just boot-looping.
I have tried both APK Manager and APK Tool without any luck.
It doesn't help to pull the file again either.
Sent from my GT-I9100 using XDA App
I have the same errors. I think that's a problem of apktool. Try some different tool
You need t change ur framework under home/apktool/framework/1.apk
Replace the 1.apk with untouched stock framework-res.apk renamed to 1.apk....u will be out of trouble then
I use baksmali e smali for decomile/compile
Thread updated due to the first problem was fixed, and I don't bother to create a new one
Sent from my GT-I9100 using XDA App
bruflot said:
Thread updated due to the first problem was fixed, and I don't bother to create a new one
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Nobody? :'(
Sent from my GT-I9100 using XDA App

Grimdroid apk converter

I don't know if someone has created something like this but.I had a kitchen that I was scrapping to start a new one and decided I'd release this.
SCREENSHOT-
DOWNLOAD- http://www.mediafire.com/?b785dksgkkk406a
**In case somebody doesn't understand what this tool does I will explain briefly.
You select a folder with apk files in it and then convert them. To zip files and then you can extract the zips and edit the apk files.
Been looking for something just like this thanks!
Sent from my Nexus S 4G using xda premium
Yeah !! It's good idea. But why I can't download --> It's set to private
it's private ? don't dl
I apologize I will fix that.
Sent from my HTC Desire HD using XDA App
THX i look this !
tontondingo said:
THX i look this !
Click to expand...
Click to collapse
Your welcome hope you enjoy it
Yeah !!! Great Job !!!
Is it possible to make the same but for extract and decompile all .apk ??
Do you mean like convert it to the zip then extract the zips ?
Sent from my HTC Desire HD A9191 using XDA App
No, I think to decompil only into a zip or into a folder only...
Just a question, I've been using 7zip to open the apk files and haven't had a problem with it from the beginning. How is this different?
Sent from my T-Mobile myTouch 3G Slide using XDA App
can i use this tool to edit or replacing icons on original apk with custom icons?
like on my post on HERE
aaldiar said:
Just a question, I've been using 7zip to open the apk files and haven't had a problem with it from the beginning. How is this different?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
It really isn't but it makes it easier then having to install 7zip because this doesn't install so it is easy to remove if needed. And it converts to zip which windows natively supports. So it really is not that different.
ian_ajah said:
can i use this tool to edit or replacing icons on original apk with custom icons?
like on my post on HERE
Click to expand...
Click to collapse
Yes you could.
Sent from my Desire HD using XDA App
Grim-Droid said:
Yes you could.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
would u give me an tutorial to do that?
please..
ian_ajah said:
would u give me an tutorial to do that?
please..
Click to expand...
Click to collapse
Have you tried looking it up on Google? If you have then I'll see if I can find something for you. If I can't then I will write you a small tutorial when I have spare time.
Here is a starting point for youhttp://stackoverflow.com/questions/6172445/change-android-app-icons-in-apk
Grim-Droid said:
Have you tried looking it up on Google? If you have then I'll see if I can find something for you. If I can't then I will write you a small tutorial when I have spare time.
Here is a starting point for youhttp://stackoverflow.com/questions/6172445/change-android-app-icons-in-apk
Click to expand...
Click to collapse
yeah..i've visited ur link..
but when i try to install my modified .apk,it's say "Application Not installed"
i've used many tool,but no one be success when installing it
ian_ajah said:
yeah..i've visited ur link..
but when i try to install my modified .apk,it's say "Application Not installed"
i've used many tool,but no one be success when installing it
Click to expand...
Click to collapse
It needs to be signed, install the app from the market Zipsigner2! Sign the zip & then install it, hope this helps
link is dead,could someone upload it again.
I really need to convert apk to flashable zip.
Thanks in advance.

Request for keyboard apk

I'm wanting to try the new jellybean keyboard from the Note 2 on my S3 and would appreciate if someone would upload the apk for me. After trying the demo out and seeing the number keys locked @ the top, I wanted to try it on my phone but didn't want to download the entire ROM, just to try it. If someone would upload it, I would appreciate it.
Sent from my SCH-I535 using xda app-developers app
jlangleyrn said:
I'm wanting to try the new jellybean keyboard from the Note 2 on my S3 and would appreciate if someone would upload the apk for me. After trying the demo out and seeing the number keys locked @ the top, I wanted to try it on my phone but didn't want to download the entire ROM, just to try it. If someone would upload it, I would appreciate it.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
the rom is in a tar format so i cant extract it. well i dont know how. if you know or can find out what files you need, i can pull them out of the phone
neckbonest said:
the rom is in a tar format so i cant extract it. well i dont know how. if you know or can find out what files you need, i can pull them out of the phone
Click to expand...
Click to collapse
Thanks, I have the tar downloaded but don't know how to extract it either. Root explorer wont do it. I believe its just the samsungIME.apk, but I'm unsure if there's another that goes with it or not. If you can pull that from your phone, I would appreciate it. Thanks for the help.
Sent from my SCH-I535 using xda app-developers app
jlangleyrn said:
Thanks, I have the tar downloaded but don't know how to extract it either. Root explorer wont do it. I believe its just the samsungIME.apk, but I'm unsure if there's another that goes with it or not. If you can pull that from your phone, I would appreciate it. Thanks for the help.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
here is the apk but not sure if any other files are needed ether. let me know if it works.
https://dl.dropbox.com/u/33845899/SamsungIME.apk
Thanks for the help. I downloaded it but it will not install, there may be a lib file that goes with it, to allow it to install or just be incompatible. I'll have to do some research. Thank you for the help.
Sent from my SCH-I535 using xda app-developers app
jlangleyrn said:
Thanks for the help. I downloaded it but it will not install, there may be a lib file that goes with it, to allow it to install or just be incompatible. I'll have to do some research. Thank you for the help.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
i just remembered that that apk was from beans rom and its deodexed. it wont work on a odexed rom.
neckbonest said:
i just remembered that that apk was from beans rom and its deodexed. it wont work on a odexed rom.
Click to expand...
Click to collapse
I figured that out, after opening the apk. I did download the deodexed version from one of the ROM developers and it installs, but force closes instantly. The files are different, in a few aspects but I'm working on some lib files now. Hopefully that will work...........
Sent from my SCH-I535 using xda app-developers app
any update yet?
I would love to try this keyboard on my tmobile note 2. i can type easier on the stock keyboard but can swipe better with swiftkey flow.

Updater binary fail

Hey guys can anyone elaborate as to why I get this error when I try to flash a ported ROM that I have worked on
Sent from my SAMSUNG-SGH-I717 using xda premium
ryuken11221 said:
Hey guys can anyone elaborate as to why I get this error when I try to flash a ported ROM that I have worked on
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Does anyone know why this is ocurring
Ok i guess it was recovery related but now that i have switched to CWM i get the Status 6 error can anyone help with that
Your script is checking for a different device in your build.prop add a safety precaution.
You need to edit it to church for this device.
studacris said:
Your script is checking for a different device in your build.prop add a safety precaution.
You need to edit it to church for this device.
Click to expand...
Click to collapse
Church. RotfLmao
Swyped yet again...
*check*
studacris said:
Your script is checking for a different device in your build.prop add a safety precaution.
You need to edit it to church for this device.
Click to expand...
Click to collapse
I verified that the the build.prop and the updater script are edited properly just not sure why this is still occurring
Sent from my SAMSUNG-SGH-I717 using xda premium

How to make cwm flashable zip for framework-res.apk?

Can someone help me ?
I have edited framework-res.apk and now I want to flash it.
Please some one make a flashable zip for our device.
Thank u in advance
Edit: Found the way to do it. Those who are still searching for it may follow this link http://forum.xda-developers.com/and...ramework-guide-to-make-flashable-zip-t3196490
akky26 said:
Can someone help me ?
I have edited framework-res.apk and now I want to flash it.
Please some one make a flashable zip for our device.
Thank u in advance
Click to expand...
Click to collapse
Why dont u push it using any file expoler like root explorer
Sent from my GT-I8552 using XDA Free mobile app
pauldominik said:
Why dont u push it using any file expoler like root explorer
Sent from my GT-I8552 using XDA Free mobile app
Click to expand...
Click to collapse
At first I tried the same, but doing it makes my phone stuck in bootloop
Successfully made it
Anyone who needs may PM

Categories

Resources