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

    • Goblin Miner: Idle Merger v3.7.1 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 0 replies
    • Goblin Miner: Idle Merger v3.7.1 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 0 replies
    • Gear Truck! v1.0.23 [+3 Jailed Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
      • 5 replies
    • Gear Truck! v1.0.23 [+3 Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
       
        • Thanks
        • Winner
      • 5 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 46 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 47 replies
    • Cannon Heroes X v1.2.27 [+2 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
      • 10 replies
    • Cannon Heroes X v1.2.27 [+2 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
      • 7 replies
    • Slay Quest v1.3.13 [+3 Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
      • 8 replies
    • Slay Quest v1.3.13 [+3 Jailed Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4

       

      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
      • 6 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
      • 23 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
      • 17 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