Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binding report: Unsigned Short Value Out of Range #568

Open
5 tasks done
Morsmalleo opened this issue Jul 20, 2024 · 3 comments
Open
5 tasks done

binding report: Unsigned Short Value Out of Range #568

Morsmalleo opened this issue Jul 20, 2024 · 3 comments
Assignees
Labels
Error: Apktool Apktool returned an error Status: Updates Required Updates are required to fix this issue

Comments

@Morsmalleo
Copy link
Owner

Payload Options

  • Activity-method bound payload
  • Boot-method bound payload

binding issue description

i am using a existing apk, i go to build it and it gets to the building apk part in the command center. but then it says failed.

Error logs

Error: Command failed: java -jar "C:\Users\Trey\AppData\Local\Programs\AhMyth\resources\app.asar.unpacked\app\Factory\apktool.jar" b "C:\Users\Trey\Desktop\test" -o "C:\Users\Trey\AhMyth\Output\Ahmyth.apk" --use-aapt2 ""
Exception in thread "main" org.jf.util.ExceptionWithContext: Exception occurred while writing code_item for method Landroid/arch/lifecycle/c$a;->values()[Landroid/arch/lifecycle/c$a;
	at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1058)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:354)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:309)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:58)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:437)
	at brut.androlib.Androlib.buildSources(Androlib.java:368)
	at brut.androlib.Androlib.build(Androlib.java:320)
	at brut.androlib.Androlib.build(Androlib.java:287)
	at brut.apktool.Main.cmdBuild(Main.java:263)
	at brut.apktool.Main.main(Main.java:82)
Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x2
	at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1331)
	at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1054)
	... 10 more
Caused by: org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65764
	at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
	at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:356)
	at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1291)
	... 11 more

Solution

No response

Additional context

No response

Acknowledgements

  • This issue is not a duplicate of an existing binding report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@Morsmalleo Morsmalleo added Status: Updates Required Updates are required to fix this issue Error: Apktool Apktool returned an error labels Jul 20, 2024
@Morsmalleo Morsmalleo self-assigned this Jul 20, 2024
@Morsmalleo
Copy link
Owner Author

This was reposted for another user.

Unfortunately I haven't managed to get to work on this yet, but I will so everyone be patient 😊

@IXSENPA1XI
Copy link

yea ima delete my issue submission cause im just getting the same thing after i manually inspected my log file

@Morsmalleo
Copy link
Owner Author

yea ima delete my issue submission cause im just getting the same thing after i manually inspected my log file

Appreciate you helping me keep this issues section clean, I hope to have this sorted out by the next release which I'm working on currently as we speak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error: Apktool Apktool returned an error Status: Updates Required Updates are required to fix this issue
Projects
None yet
Development

No branches or pull requests

2 participants