Jump to content

"there was a problem parsing the package" when installing apk after modding Assembly-CSharp.dll.


Go to solution Solved by jayvee,

19 posts in this topic

Recommended Posts

Posted
5 minutes ago, Mr. Android said:

i mean if the apk is browsed through Winrar, placing the csharp into reflector will not work as reflector cant detect the other dlls as it is on winrar

oh yes , decompiling properly makes a folder which reflector can detect :yes: 

Posted
1 minute ago, TheArmKing said:

oh yes , decompiling properly makes a folder which reflector can detect :yes: 

YEaup but if a game got splash, i dont decompile.. I only decompile apk to add toast and ofc if there's any cheat detectors in smali :D

Posted
10 hours ago, Mr. Android said:

Who said that?? OMG!! All you have to do is to change the "Open With - RAR" And that's all you'll find the root folders of the apk..

you do not need to do that :o

 

@0utlaw_ Bro, Put all dlls into reflector not only the csharp, after modifying replace it with the old csharp..rename it you did all that right, unfortunately oneclick signer is not signing properly anymore, find some other apk signer and sign it... you can use zip signer but not after signing it from one click signer...

So whats wrong in doing it? Jeezzz dont be an smartass. If he wants to really avoid this kind of issue why cant he use the proper way of decompiling, recompiling and signing it?

  • Haha 1
Posted

 

3 hours ago, jayvee said:

So whats wrong in doing it? Jeezzz dont be an smartass. If he wants to really avoid this kind of issue why cant he use the proper way of decompiling, recompiling and signing it?

Its not about how you do it, its about how you learn it. 

Posted
2 hours ago, Mr. Android said:

 

Its not about how you do it, its about how you learn it. 

Dude this person was asking for help so i gave mine. Whats wrong with that? Jeeezzz

  • Haha 1
Posted

Guys thanks to every single one of you for your help. But everyone was arguing lol, let me get this straight. I extracted the zip file before doing anything, also with the original method i did in which i added to .zip and replaced with .apk, zip signer did not work, i tried also other signing mods inside the app. So from what i read here i have to decompile and compile the csharp with apktool and then sign it with zip signer? I remember apk tool had some signing options too. Sorry if i sound noob i have no idea how to use apk tool, only reflector and reflexiv. Also one more problem. When i finish modifying csharp, i save it and when i open it, most functions give the error "ambigous match found". Whats the workaround for this? There are no .dlls with the exact name. Thanks again for all your answers

  • Solution
Posted
23 hours ago, 0utlaw_ said:

Guys thanks to every single one of you for your help. But everyone was arguing lol, let me get this straight. I extracted the zip file before doing anything, also with the original method i did in which i added to .zip and replaced with .apk, zip signer did not work, i tried also other signing mods inside the app. So from what i read here i have to decompile and compile the csharp with apktool and then sign it with zip signer? I remember apk tool had some signing options too. Sorry if i sound noob i have no idea how to use apk tool, only reflector and reflexiv. Also one more problem. When i finish modifying csharp, i save it and when i open it, most functions give the error "ambigous match found". Whats the workaround for this? There are no .dlls with the exact name. Thanks again for all your answers

Download and install ADB on your pc. Download apktool then copy its files into ADB directory. Put the apk you want to mod into ADB directory. Open command prompt on the directory by pressing Shift + right click then type this commands:

For decompiling - apktool d -f -r nameoftheapp.apk

For recompiling - apktool b nameofthefolder

For signing - just use zipsigner on your device

 

 

  • Winner 1
Posted (edited)
8 hours ago, jayvee said:

Download and install ADB on your pc. Download apktool then copy its files into ADB directory. Put the apk you want to mod into ADB directory. Open command prompt on the directory by pressing Shift + right click then type this commands:

For decompiling - apktool d -f -r nameoftheapp.apk

For recompiling - apktool b nameofthefolder

For signing - just use zipsigner on your device

 

 

Thank you for the reply. The command prompt tells me it doesn't recognise 'apktool' keyword, and told me to use '.\apktool' instead. I did that, and tells me it is unable to access the jarfile. I got java installed. I got all the requierments, and followed all the steps. I may think, isn't it easier to use Lucky Patcher and create a custom patch that just replaces the hex codes? It works and its faster i guess...whats the advantage of using this method instead?

The problem is that i wanna be able to see the original C# code changed through Reflexil to make sure the change i did in Reflexil was good, but before i can see the modified code i have to save the file, and .NET Reflector can't make the difference between "Assembly-CSharp.dll" and "Assembly-CSharp.Patched.dll", so when i open the modded assembly i can't open functions cause it mismatches them with the original assembly ones, but i can still see the IL code. I even tried other names for the patched one, and some other basic fixes. It may be a bug, but i can't determine why it does this, i can't find any info in any forum about this, and no one answers me about this problem.

Also Lucky Patcher basically creates a new .apk file with the patch applied to it (i guess it signs it automatically) that you have to install over the original game.

Which method do you think is better, in which ways does adb help the process of modding (like higher chances of success/more possibilities) other than decompiling and recompiling? Whats your opinion about the possible bug mentioned?

Updated by 0utlaw_

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Royal Kingdom v19315 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 134 replies
    • Royal Kingdom v19315 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 83 replies
    • Racing Kingdom v1.0.5 +2 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Racing Kingdom By SUPERGEARS OYUN YAZILIM TEKNOLOJI VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.supergears.racingkingdom
      iTunes Store Link: https://apps.apple.com/us/app/racing-kingdom/id6468027706?uo=4

       


      🚀 Hack Features

      - Auto Win
      - Freeze Rival


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Racing Kingdom v0.33.6 +2 Cheats [ Auto Win ] - ViP Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Winner
        • Like
      • 23 replies
    • Racing Kingdom v1.0.5 +2 Cheats [ Auto Win ]
      Modded/Hacked App: Racing Kingdom By SUPERGEARS OYUN YAZILIM TEKNOLOJI VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.supergears.racingkingdom
      iTunes Store Link: https://apps.apple.com/us/app/racing-kingdom/id6468027706?uo=4

       
       

      🚀 Hack Features

      - Auto Win
      - Freeze Rival


      🍏 For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Racing Kingdom v0.33.6 +2 Jailed Cheats [ Auto Win ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 67 replies
    • Townfall: Zombie Tower Defense v20.2.7 [+4 Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
        • Agree
      • 12 replies
    • Townfall: Zombie Tower Defense v20.2.7 [+4 Jailed Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
        • Winner
        • Like
      • 19 replies
    • Idle Army: Trading Weapons v1.13.0 [+5 Jailed Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4



      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

        • Winner
        • Like
      • 3 replies
    • Idle Army: Trading Weapons v1.13.0 [+5 Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4

       

      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

        • Winner
        • Like
      • 3 replies
    • Kingdom Towers v0.3.19 [+4 Jailed Cheats]
      Modded/Hacked App: Kingdom Towers By Martin Quinones
      Bundle ID: com.pizia.kingdomtowers
      iTunes Store Link: https://apps.apple.com/us/app/kingdom-towers/id6699736128?uo=4



      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - One Hit Kill
      - Unlocked All Towers/Relics
        • Thanks
        • Like
      • 14 replies
    • Kingdom Towers v0.3.19 [+4 Cheats]
      Modded/Hacked App: Kingdom Towers By Martin Quinones
      Bundle ID: com.pizia.kingdomtowers
      iTunes Store Link: https://apps.apple.com/us/app/kingdom-towers/id6699736128?uo=4

       

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - One Hit Kill
      - Unlocked All Towers/Relics
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 11 replies
    • Blades of Deceron v0.1.7 [+4 Jailed Cheats]
      Modded/Hacked App: Blades of Deceron By Dreamon Studios AB
      Bundle ID: com.DreamonStudios.BladesOfDeceron
      iTunes Store Link: https://apps.apple.com/us/app/blades-of-deceron/id6739307553?uo=4



      🤩 Hack Features

      - Unlimited Stat Point (Gain Xp)
      - God Mode / Never Die
      - Infinite Stamina
      - Infinite Gold (Enable and Win Fight)
        • Agree
        • Like
      • 10 replies
    • Blades of Deceron v0.1.7 [+4 Cheats]
      Modded/Hacked App: Blades of Deceron By Dreamon Studios AB
      Bundle ID: com.DreamonStudios.BladesOfDeceron
      iTunes Store Link: https://apps.apple.com/us/app/blades-of-deceron/id6739307553?uo=4


      🤩 Hack Features

      - Unlimited Stat Point (Gain Xp)
      - God Mode / Never Die
      - Infinite Stamina
      - Infinite Gold (Enable and Win Fight)
        • Agree
        • Haha
        • Winner
        • Like
      • 7 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines