Hi, can anyone advise me on this -
I've had an app in the playstore for a very long time, I don't have the code for my app as i lost it years ago, but have never had any problems editing and updating the app using apktool or sometimes apk editor, then resigning and uploading each update to playstore with the developer console.
My worry is google's ambition to eventually force everyone to upload only aab's (app bundles) rather than apks.
Is it possible to import my apk into the latest android studio and convert it to .aab bundle without the code?
If this is not possible, is there any other method to convert my .apk to .aab?
Any help is greatly appreciate, regards.
its possible 100% to make aab from apk i have compiled 3 4 apps
1.Decompile apk and copy res[folder] and Androidmanifest.xml into folder
2.Compile each resource into .flat file with aapt2 compile [path] -o outputfolder/
3.Use aapt2 link command to generate apk thats contains resouces.pb and manifest in protobuf format
Create base.zip put search for how to put files in it on Google
Use bundletool Build-bundle command to Create aab
or
use apktoaabconverter.com
philsilvers said:
Hi, can anyone advise me on this -
I've had an app in the playstore for a very long time, I don't have the code for my app as i lost it years ago, but have never had any problems editing and updating the app using apktool or sometimes apk editor, then resigning and uploading each update to playstore with the developer console.
My worry is google's ambition to eventually force everyone to upload only aab's (app bundles) rather than apks.
Is it possible to import my apk into the latest android studio and convert it to .aab bundle without the code?
If this is not possible, is there any other method to convert my .apk to .aab?
Any help is greatly appreciate, regards.
Click to expand...
Click to collapse
send me email [email protected]
I have a complete apk to abb solution
See my article for details
滑动验证页面
Related
To install an edited apk-
-If you open up the apk with
Ninjamorph free as a new project, and make your changes.
-Use a file explorer and goto android themes>workspace>"edited apk" and delete meta-inf.
-Then back to ninjamorph, select finish project to zip it back up but DON'T INSTALL !!
-Use
Signapktic free with platform key to sign it. Uninstall the original apk and install your new edited apk.
Hope this helps
You cannot use that method on market apps. It only works with system apps.
tristan202 said:
You cannot use that method on market apps. It only works with system apps.
Click to expand...
Click to collapse
Use which method? What do you suggest to do?
dully79 said:
Use which method? What do you suggest to do?
Click to expand...
Click to collapse
You can't just edit the apk or use metamorph on market apps. If edited, they need to be resigned. Not sure if signing with a testkey is sufficient.
Just tried editing then resigning market apps works with non-protected apps
tristan202 said:
You can't just edit the apk or use metamorph on market apps. If edited, they need to be resigned. Not sure if signing with a testkey is sufficient.
Click to expand...
Click to collapse
I'm not trying to use metamorph, that's for themes not icons.
I've tried deleting the meta inf and resigning the apk's with my own key but it still doesn't work.
I've managed to edit them like I described above by installing them as system apps, but I don't want in the system.
Surely there must be a way? Where's the apps2sd directory?
you can edit market apps, then resign them. you must uninstall the app on your phone before installing the modified one, because it is signed with a different key. once the old one is uninstalled every method of installation should work fine for the modified one.
you can edit system apps, just don't unzip or resign them. but you figured that out already.
kendong2 said:
you can edit market apps, then resign them. you must uninstall the app on your phone before installing the modified one, because it is signed with a different key. once the old one is uninstalled every method of installation should work fine for the modified one.
you can edit system apps, just don't unzip or resign them. but you figured that out already.
Click to expand...
Click to collapse
Can I use one of the many autosign keys, or do I need to generate my own?
If so do I need to generate different keys for different apks or can I use the same key?
Problem solved!!
I deleted the meta-info and signed the apk manually using stericsons auto sign tool, I did try auto signing but the apk wouldnt install.
Thanks people for your help!
Hi all...not sure what I'm doing wrong...if someone could point out my mistake(s) I would greatly appreciate it!
01) Right click on original.apk and open with 7zip
02) Navigate to res/drawable-hdpi
03) Right click the .png files and select 'edit' (the edit option points them to Paint.net)
04) Edit the .png files and save (not sure if this matters, but when I close Paint.net I get a msg saying that the *.png has been changed, would you like to update the archive...if I click yes, it puts an 'a' in the attributes column...if I click cancel it does not save the changes I made)
05) Close the archive and open autosign.bat
06) Choose 'manually sign'
07) type in c;\AndroidSDK\tools\original.apk and I get the following:
**************
Signing File!
**************
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
Caused by: java.lang.ClassNotFoundException: testsign
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: testsign. Program will exit.
File signed successfully if no Errors above.
I copied the apk to my sdcard and tried to install anyways and I get the application not installed message...
The apk I am editing is someone elses edit of a theme...I just changed the colors of 6 of the png files...if I try to install the one that I have before I edit, it works fine...but once I make my changes it doesn't like something I am doing...
Any help would be appreciated!
Thank you,
SixTen
gszeman said:
Hi all...not sure what I'm doing wrong...if someone could point out my mistake(s) I would greatly appreciate it!.....
Click to expand...
Click to collapse
First let me say I have no experiance with what your trying to do,... Just trying to learn the theory 1st.
Have you made a note of these points,...
kendong2 said:
you must uninstall the app on your phone before installing the modified one, because it is signed with a different key
Click to expand...
Click to collapse
kendong2 said:
you can edit system apps, just don't unzip or resign them. but you figured that out already.
Click to expand...
Click to collapse
I'm assuming a theme would be a system app, not a market app.
So try uninstalling the theme, then reinstalling again.
If that fails,...
dully79 said:
Problem solved!!
I deleted the meta-info and signed the apk manually using stericsons auto sign tool, I did try auto signing but the apk wouldnt install.
Click to expand...
Click to collapse
Any luck with that???
Actually,... If your not resigning your theme then It would still be the same key wouldn't it. So the Kendong quote I used isn't applicable to you is it. Sorry.
kendong2 said:
you can edit market apps, then resign them. you must uninstall the app on your phone before installing the modified one, because it is signed with a different key.
Click to expand...
Click to collapse
So really you need to figure out how to do this properly dont you,... and have the changes you made keep saved.
kendong2 said:
you can edit system apps, just don't unzip or resign them. but you figured that out already.
Click to expand...
Click to collapse
So,.... I'v just wasted my time as I've been no use to you at all. Good luck though.
gszeman,
Have you got JDK installed and the correct classpath set?
dully79 said:
gszeman,
Have you got JDK installed and the correct classpath set?
Click to expand...
Click to collapse
Doh,... I forgot to put the path stuff, good call Dully.
phaelox said:
Setting up SignAPK
First, make sure you have Java installed. If not go to www.java.com to install it.
Second, I recommend to unzip the SignAPK_xda.zip file to C:\SignAPK.
Lastly, add the signapk folder to your PATH environment variable:
[*]Go to Control Panel, System
[*]Click on "Advanced" (or "Advanced System Settings")
[*]Click the button "Environment Variables..."
[*]Locate the PATH variable under "User Variables" (or "System variables" if you want to use SignAPK under other user accounts) and double-click it to edit
[*]In the "Variable Value" field, at the end of the line, type a semi-colon and the path to the signapk files ;C:\SignAPK
[*]You could also add the path to your java.exe file here if you have troubles with running signapk.
Click to expand...
Click to collapse
moved to first post
Thanks.
(Bookmarked for future ref)
you might wanna mark the thread title with [SOLVED] or something...
hi all want to ask if i can do the same with doom for android apk. ?
also wanted to HEX change the urls where it loooks for libdoom_jni.so . and it cant find it because google toke down the site, so i uploaded my own libdoom_jni.so so wantet to change url in apk and resign. but it says !cant install on this phone!
i did try other sites with same subject, open apk archive (no extract) change png icons, and resign again.
deluxive said:
hi all want to ask if i can do the same with doom for android apk. ?
also wanted to HEX change the urls where it loooks for libdoom_jni.so . and it cant find it because google toke down the site, so i uploaded my own libdoom_jni.so so wantet to change url in apk and resign. but it says !cant install on this phone!
i did try other sites with same subject, open apk archive (no extract) change png icons, and resign again.
Click to expand...
Click to collapse
it'll be perfect if possible. I would love to play that game. Have you succeeded in finding the url and replacing it with yours?
Okay...so I have followed the instructions and the apk will not load. I changed some png files in my settings.apk and when I load it...it vanishes completely.
Any ideas what am missing?
One of the things I've been trying to do is get a browser to always load the google mobile version of a website (basically load http://google.com/gwt/x?wsc=URL_GOES_HERE).
I know enough java that from the stock browsers source files that all I have to do is edit line 649 in BrowserActivity.java to say
url = new StringBuffer(url).insert(0, "http://www.google.com/gwt/x?wsc=%3a%2f%2f").toString();
however when i try to load the browser source files into eclipse I get about 500 errors due to dependencies on other java files built into android. If anyone could either
a) tell me how to compile the updated browser
or
b) tell me a browser that automatically loads the google mobile version of websites
i'd greatly appreciate it.
apktool(http://code.google.com/p/android-apktool/): unpack/rebuild the binary apk file directly.
arda99 said:
apktool(http://code.google.com/p/android-apktool/): unpack/rebuild the binary apk file directly.
Click to expand...
Click to collapse
How can I convert it to source while using that. When I do the source files are all in smali not java, which have different code (and much less, making believe its not even fully decoded)
yes, its not java but you should be able to find the corresponding string and just modify/repack. I didn't check the specified browser file hopefully it works.
arda99 said:
yes, its not java but you should be able to find the corresponding string and just modify/repack. I didn't check the specified browser file hopefully it works.
Click to expand...
Click to collapse
I couldn't find the correct line I wanted but thanks for trying. A temporary solution i've found is to set google.com to its on gwt version and then just search for url's rather than enter them. Links retain the gwt format so its a sort of work around for when I want a faster browser (pages load much faster using this method and the formatting is a bit better if you wish to zoom in on text)
Hello All,
I would like to change the onscreen button dpi to get it small
I use apktool 1.5 and latest aapt which come from the android sdk
I can decompile the framwork-res.apk without any error "I use apktool if SemcGenericUxpRes.apk" already
but I got the error on compile "even I haven't modify any files" it's show aapt: warning: string 'BaMmi' has no default translitiration in"
I search from google and some of user got the same problem, however they haven't show any solution
Due to I see there have a user can modify the dpi, so that, would anyone let's me know how to fix this problem???
Many Thanks~~
PS: My firmware is 7.0.A.3.307 "Xperia TX"
That's not an error, that's a warning.
It basically means that a particular string doesn't exist in certain languages. Unless you're planning to set your phone to one of those languages, it's not an issue.
As long as that's the only complaint that's thrown up, you can safely ignore it and just carry on as usual.
Sent from my SK17i using xda premium
Ticklefish said:
That's not an error, that's a warning.
It basically means that a particular string doesn't exist in certain languages. Unless you're planning to set your phone to one of those languages, it's not an issue.
As long as that's the only complaint that's thrown up, you can safely ignore it and just carry on as usual.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Thank you for your reply~~
But my phone got bootloop after replaced the framework-res.apk
And I found that, the compile framework-res on the root explorer is not show the icon of the original
it's show the Android icon
After that, I use FTF to reflash the firmware to recovery my phone = ="
Thanks~~
Did you sign the new apk and fix the compression rate before pushing it to your phone?
Sent from my SK17i using xda premium
Ticklefish said:
Did you sign the new apk and fix the compression rate before pushing it to your phone?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Hello Ticklefish~~~
@[email protected]" you are so xxxx right~~ I'm stupid on forget to signature the apk
I have modified the apk since X10, it's long long ago..... so I forgot the step already = ="
I will try to search signapk, and see can I sign the apk = ="
Anyway,
Thank you so much~~~
PS: After I sign the apk, and put back to the phone = =" boot loop again
And I found that, the apk still haven't show the icon
I download the modified framework-res is around 16MB and my signed apk is around 15.4
org is 22MB, so I agree with your point is the, even the compile have a error, it should be work fine
but I don't know why I can't make a usable apk = ="
my signapk command is like this
java -jar signapk.jar certificate.pem key.pk8 framework-resnew.apk framework-resnewsigned.apk
And I found that the apk add around 4xxKB size, so that I think the apk is singed
Any idea???
Thank you so much~~
windmoon said:
Hello Ticklefish~~~
@[email protected]" you are so xxxx right~~ I'm stupid on forget to signature the apk
I have modified the apk since X10, it's long long ago..... so I forgot the step already = ="
I will try to search signapk, and see can I sign the apk = ="
Anyway,
Thank you so much~~~
PS: After I sign the apk, and put back to the phone = =" boot loop again
And I found that, the apk still haven't show the icon
I download the modified framework-res is around 16MB and my signed apk is around 15.4
org is 22MB, so I agree with your point is the, even the compile have a error, it should be work fine
but I don't know why I can't make a usable apk = ="
my signapk command is like this
java -jar signapk.jar certificate.pem key.pk8 framework-resnew.apk framework-resnewsigned.apk
And I found that the apk add around 4xxKB size, so that I think the apk is singed
Any idea???
Thank you so much~~
Click to expand...
Click to collapse
You do need to sign the apk...but you have to sign it in the same way as the original apk file. If the app is signed in a different way to the others in the system folder it won't work.
The best way to handle this is to use 7zip, which you can download for free. And then:
Make a copy of the original apk file
Use 7zip to open the copy and the recompiled apk
Drag the "res" folder from the recompiled apk into the copy
Close the copy
Extract "resources.arsc" from the recompiled apk
Close the recompiled apk
Use 7zip to add resources.arsc to the copy at STORE compression
Push the copy to your phone
This will ensure the copy has the right signing and that resources.arsc is at the right compression rate.
Not every apk has resources.arsc at store compression so that part isn't required all the time, but it doesn't cause any harm and it's good practise to get into.
Ticklefish said:
You do need to sign the apk...but you have to sign it in the same way as the original apk file. If the app is signed in a different way to the others in the system folder it won't work.
The best way to handle this is to use 7zip, which you can download for free. And then:
Make a copy of the original apk file
Use 7zip to open the copy and the recompiled apk
Drag the "res" folder from the recompiled apk into the copy
Close the copy
Extract "resources.arsc" from the recompiled apk
Close the recompiled apk
Use 7zip to add resources.arsc to the copy at STORE compression
Push the copy to your phone
This will ensure the copy has the right signing and that resources.arsc is at the right compression rate.
Not every apk has resources.arsc at store compression so that part isn't required all the time, but it doesn't cause any harm and it's good practise to get into.
Click to expand...
Click to collapse
@[email protected]" Many Thanks~~~
Study a lot from you~~~
Thank you~
I will try this later~~~
Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
fOmey said:
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
Click to expand...
Click to collapse
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
dagrim1 said:
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
Click to expand...
Click to collapse
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
ksekhar said:
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
Click to expand...
Click to collapse
Yup, it does. (But again, doesn't bother me as much as I don't look at it long because I usually hold my phone to my ear anyway ).
But yeah, I think I know where to fix it... It's the Contacts apk I mentioned above but there is an issue with decompiling/rebuilding it so can't fix it yet. Looking into it.
Did notice when decompiling and recompiling including resources it fails, when keeping resources intact it does work.
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Meh, been looking into it some more and also found this:
http://forum.xda-developers.com/android/software-hacking/how-to-recompile-tw-contacts-phone-t3066350
and
http://www.ez-pg.com/guide-how-to-decompilerecompile-lollipop-seccontacts.html
I tried modifying the manifest as instructed, but the apk still didn't work. Perhaps because signature verfication is not properly disabled on my rom. BUt if it isn't it is also not for the majority of the users in which case siumply supplying the apk wouldn't work anyway.
I also tried resigning the apk, no luck. Copying the original manifast is also not going to work afaik with a changed manifest file...
More info about signature verficiation:
http://forum.xda-developers.com/showthread.php?t=2725233
http://forum.xda-developers.com/showthread.php?t=2342262
Perhaps I will try this soon as well, but for now I think I'll leave it be...
sebdigital said:
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Click to expand...
Click to collapse
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
dagrim1 said:
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
Click to expand...
Click to collapse
I'm on 5.1.1 today and noticed that contacts/dialer is (almost) multi DPI already without having to do anything. And your camera mod works on 5.1.1 too!
Sent from my SM-G920F using XDA Free mobile app
can u change this Camera 480 dpi camera s6 to 420 dpi?
https://mega.nz/#!M4Ui0KoR!TKsPKkMl-XQHyiJ_DNf53eQCGZTrYWhuHaAnhAYXeSM
thanks you very much
can be used for other than s6 for SamsungCamera4. ??
my android device A8 6
dagrim1 said:
Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Click to expand...
Click to collapse
how to fix on parse error, after recompile SamsungCamera4.apk with apktool
with or without edit error on parse...
My device Galaxy-A8
I Decompile apk app and recompile it without any edit but the app is didn't install the error message : the package appears to be corrupt after Recompile
I tried
apktool + dex-tools + signapk
apk easy tool
apk editor studio
what is a problem?
i want edit mediabox launcher
how can i do it?
please help me.
this error
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package couldn't be installed in /data/app/com.droidlogic.mboxlauncher-1: Package com.droidlogic.mboxlauncher has no signatures that match those in shared user android.uid.system; ignoring!]
Any luck in similar situations? Anybody?
Abo Battal said:
I Decompile apk app and recompile it without any edit but the app is didn't install the error message : the package appears to be corrupt after Recompile
I tried
apktool + dex-tools + signapk
apk easy tool
apk editor studio
what is a problem?
Click to expand...
Click to collapse
The error message "the package appears to be corrupt" usually indicates that there is an issue with the APK file itself, such as missing or corrupted files, incorrect file permissions, or a problem with the signing process.
It's possible that the decompilation process may have introduced some errors or corrupted files in the APK, even if you did not make any edits to the code. When you recompiled the APK, these errors may have been carried over, resulting in the "corrupt" package.
To troubleshoot this issue, you could try the following steps:
Make sure you are using the latest version of the APK tools (apktool, dex-tools, signapk, etc.), as older versions may have bugs or limitations that could cause issues.
Check the log files generated during the decompilation and recompilation process to see if there were any errors or warnings that may have contributed to the issue.
Try recompiling the APK using a different tool or method, to see if that resolves the issue.
If none of the above steps work, you may need to examine the APK file more closely to determine the root cause of the problem. This could involve examining the file structure, checking file permissions and signatures, or even using a more advanced debugging tool such as Android Studio.