Open ManojBhakarPCM opened 2 years ago
This one may be harder to pin down. Which tool are you using in BCV exactly? Enjarify or Dex2Jar?
neither of them. worng value appeares in Panel 2. Panel 2 is set to Smali > bytecode with Editable checkbox checked.
You said that you opened an APK file. BCV cannot process APKs directly, but has to convert them to some other readable format beforehand.
In case I got that right, what are your settings here?
Also try switching from dex2jar to enjarify (or vice versa) in order to see if that fixes your problem
You did not show the relevant settings in your screenshots :) See my screenshot for reference where to find them
Thanks, have you tried using Enjarify yet?
same problem with Enjarify. No Difference. dex2jar doesnt convert to smali. it converts to jar. which has classes. whichever program converting classes to smali, has this problem. or might be it converts to smali correctly but the code it that put smali in view has the problem. IMHO. why dont use smali and baksmali in this program ?
We are using smali and baksmali, but through dex2jar afaik. That's why I was asking you to do all of this :) @Konloch any more details you could add to this?
decompiled with apkeasytools -
decompiled by byteCodeViewer
notice that 0x7f040000 is converted to 32516
i love this tool, because it shows live editing of smali. i open smali with editing in one pannel and java in second pannel. then when i edit smali, it shows java version of smali code by pressing refresh button. you may not realise how revolutionary it is in world of modding. i mean i do know now that where i am doing mistake in smali editing.
but this bug is a problem. recently i tried to mod a apk that had multiple resource ids in smali. after moding , there is no way saving back that to apk. so what i did is , copied paste smali from this tool to the smali file generated by apktool so that i can recompile with one click. but code did not compile due to this error. can anyone also add the option to replace compiled .class file in .dex file and then replace dex file with apk's dex file ?