apktool2.1.jar won't open on windows 10 - Android Q&A, Help & Troubleshooting

I've been trying to re-compile the framework-res.apk with apktools and I've edited what i need in xml now i simply cannot open apktools.jar!
im running windows 10 I have latest java installed and SDK , ive tried everything idk how to get this dam file to open! any help would be appreciated thanks.

Related

Java app for Tattoo

Please anyone can help me to find Java application for tattoo?
Java is located under the All Programs menu!
I think funny for android! Yes! one Java icon is there but jar files are not supported with that. (I am still trying to figure out in what format we could run java). But one thing you could do is converting jar files into apk check here. When I tried some jar cannot be converted successfully. And you also require to install 'Java J2ME Runner'.
All in this that Java app is seems to not involve at all..so, what is the purpose of this Java app??
Sorry for above statement.. Android is not funny yet! It says like this, android does not support JAR file instead .dex files and one can convert .class or .jar file using dx tools, or you have to convert .jar file to .apk using that web site,... blah blah blah.... But now I found out there is nothing to worry or consider all these. Just simply copy the .jar files on the sdcard and open All Programs>Java then press Menu>SD Card then you will see the list of .jar files. Just select to install it.
No Java app on my Tattoo.
I'm using a Vodafone UK ROM though (I got mine from UK unlocked).
I want to buy an HTC Tatoo in Australia. It says no JAVA.
Is there a way to get JAVA installed ?
mdusan
Yes you can use Esmertec_Jbed.apk and install java client. I'm using opera mini 5.2 and it's work perfect on my HTC Tattoo. Also you can install other java apps
Share pliz jbed.apk, who works at the tattoo ... We do not have root, so set jbed impossible.
Esmertec jbed for java
Here you have jbed file and install them on the phone and after that you can install java apps.
Yes, it should work fine, thank you!
Thank you it works perfect
Thanks a million. Works great.
No it doesn't works for me. When I sync the apk file and install it it says java cannot be install. What should I do?

[Q] Decoding and re-encoding apks with APKTOOL

So I've decoded a launcherpro apk and gotten all the files inside.
I've edited them changing only some images(not .9.pngs) and some text strings for a translation.
I don't really know how to re-encode the file and sign it.
I tried using APKtools to repack but ASTRO won't let me install it saying it can't open it as an apk file.
Any help is appreciated
i cant get apktools to do anything other than decompile...
if you got it to compile your apk but dont know how to sign it, use this: http://androidforums.com/developer-101/8665-how-signing-roms.html
its what i use to sign zips and apks and it works very well and is easy. the "auto sign" or qwhatever opetion doesnt ever work for me, but option 4, manual, works fine
if you havent installed the framework-res.apk that may be why you cant compile
what you need to do is pull out the framework-res.apk and put it in you root directory then in terminal use this.
code: apktool if framework-res.apk

Problem modifying apk

Hi, i am trying to modify the classes.dex file in an apk but it is giving me problems.
if i decompile the apk and recompile it after modifying the app installs but crashes after one minute. also some functionality in the app is also lost.but when i binary edited the classes.dex file and replaced it in the apk ( i have used different methods for replacing the .dex such as direct replacing in archive and replacing in the decompiled archive) the app doesn't install and the phone or emulator reboots. i have done this with other apps and they are working fine after editing so i couldn't understand what's going wrong. please help
You should use a decompiler and achive to the java code. Than you can easily modify and recompile the app. You will need an Linux virtual machine to do this.
In linux, after you found you .apk file use this to decompile it to a .jar file. http://siis.cse.psu.edu/ded/installation.html. After that, you can use http://java.decompiler.free.fr/?q=jdgui to browse the code. With this method you will need a Linux machine and would give you the best result.
If you want to use windows, follow this tutorial http://androidorigin.blogspot.com/2011/02/dex-format-to-jar-format.html but I warn you, its likely to be faulty.
Hope this will help you.
thanks for replying
i used apktool to decompile and modify the smali code. i had even tried converting the smali code to java but no help.the problem is that the recompiled app runs only for one minute and then crashes without any error message even logcat log is not of help it just says that the process xxx has died but no err msg or exception is logged. if i replace the classes.dex with the patched one and then re-sign it it does not install and crashes the emulator but when i again decompile and then recompile the modified file it return to the same old problem of crashing. do you know how apktool packages the compiled files?
You should follow one of the tutorials posted in my last post. I did not used apktool and I don't know how it works.c the method with that decompiler will work. If you want your application signed just sign it as a normal one.
this particular apk loses about 20-30 kb in filesize on decompiling and then recompiling with apktool while this is not seen in any other apk. maybe this means that this file has some overlay data that goes missing on modifying and creats problems.7-zip is unable to show any extra data in the file.does anyone know how to add and extract overlay data on/from an apk?

[Q] Need help with help apktool

Hi! I have been trying to set up apktool but im not sure if i did it rigth. I installed the android sdk and java runtime. I installed apktool and apk multitool. Tried some guides on how to decompile an apk but always got some errors. Do someone know of a good guide on how to set up apktool?
Anything will be helpful! i deleted all of the files for the apktool and apk manager but left installes the android sdk and the java runtime. Thanks

Android Multitool problems. :(

I've installed the android sdk, java, and all the other fancy things I was supposed to, but cannot get Android Multitool to decompile any apk's.
This is the error log it throws out:
The system cannot find the path specified.
'apktool' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
Any help is greatly appreciated, I'm lost as to what I'm doing wrong here.
Thanks,
I do not have Android Multitool, but I do have the apktool. Did you install that aswel?
Jooztk said:
I do not have Android Multitool, but I do have the apktool. Did you install that aswel?
Click to expand...
Click to collapse
I did. It's included with Android Multitool and I have it downloaded by itself. I would just use apktool, but I've never used it and have no idea what the commands to decompile/re-compile an apk are.
Thanks for the response,
Ayahuascaa said:
I did. It's included with Android Multitool and I have it downloaded by itself. I would just use apktool, but I've never used it and have no idea what the commands to decompile/re-compile an apk are.
Thanks for the response,
Click to expand...
Click to collapse
If you open a cmd window in the apktool folder, type "apktool.bat decode <file.apk> <outputdirectory>". I have not tried recompiling anything with it though.
guys you dont install apktool. It is just a jar file with a few supporting files. You have to make sure you are in the directory that has apktool in it if you are using the stand alone. As for apkmultitool it could be a bad download. Check the other folder to make sure the jar files are there. I would use the latest apktool from the thread as it is the most up to date. Also keep in mind that there are a few different versions that maybe needed depending on the apks your working on.

Categories

Resources