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

Snaptube v7.01.1.7016801 | Binding Failed #277

Open
1 of 2 tasks
xS1der opened this issue May 26, 2023 · 6 comments
Open
1 of 2 tasks

Snaptube v7.01.1.7016801 | Binding Failed #277

xS1der opened this issue May 26, 2023 · 6 comments
Assignees
Labels
Apktool Error Apktool returned an error Updates Required Updates are required to fix this issue

Comments

@xS1der
Copy link

xS1der commented May 26, 2023

This is an issue with

  • Binding On Launch
  • Binding On Boot

APK Name & Origin

APK Name: Snaptube
APK Origin: SnapTube Modded

To Reproduce

Steps to reproduce the behavior:

  1. Click the APK Builder Tab
  2. Tick all Custom Permissions Boxes
  3. Choose the App to bind to
  4. Click the bind button
  5. See the failure

Logs

Always add the log files located at AhMyth/Logs based on your problem.

Error: Command failed: java -jar "C:\Users\PC\AppData\Local\Programs\AhMyth\resources\app.asar.unpacked\app\Factory\apktool.jar" b "C:\Users\PC\Downloads\Snaptube_7.01.1.7016801_7016801_d7d4dc" -o "C:\Users\PC\AhMyth\Output\Ahmyth.apk" --use-aapt2 ""
Exception in thread "main" org.jf.util.ExceptionWithContext: Exception occurred while writing code_item for method Lahmyth/mine/king/ahmyth/ConnectionManager$c;->a([Ljava/lang/Object;)V
	at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1047)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:346)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:301)
	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:430)
	at brut.androlib.Androlib.buildNonDefaultSources(Androlib.java:376)
	at brut.androlib.Androlib.build(Androlib.java:314)
	at brut.androlib.Androlib.build(Androlib.java:280)
	at brut.apktool.Main.cmdBuild(Main.java:255)
	at brut.apktool.Main.main(Main.java:82)
Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x7
	at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1320)
	at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1043)
	... 10 more
Caused by: org.jf.util.ExceptionWithContext: Unsigned short value out of range: 67805
	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:1280)
	... 11 more

OS Info

  • OS: Windows
  • OS Version: Windows 11
@Morsmalleo Morsmalleo changed the title APK Binding ERROR Snaptube v7.01.1.7016801 | Binding Failed May 27, 2023
@Morsmalleo Morsmalleo added the Apktool Error Apktool returned an error label May 27, 2023
@Morsmalleo
Copy link
Owner

I'll look into this as soon as possible!

@Morsmalleo
Copy link
Owner

Also thank you for properly filling out the correct issue template 😁 it really helps get the problem solved

@Morsmalleo
Copy link
Owner

Ok so it looks like this is an unsigned short value out of range error that's causing the building to fail with this APK, this is due to the 64k Dalvik Method being surpassed (aka it's more than 64k) I am working on updates to solve this so I'll test this APK with the Dev end containing new features for Binding and see how it goes

@Morsmalleo
Copy link
Owner

You'll be happy to know that the new updates I am working will fix the binding problem with this APK, these new updates will be released with the new version in a few months.

@Morsmalleo Morsmalleo added the Updates Required Updates are required to fix this issue label May 29, 2023
@Morsmalleo Morsmalleo added the Issue Fixed This issue and it's bugs and/or errors have been fixed label Jul 16, 2023
@Morsmalleo
Copy link
Owner

reopened due to major bug in binding in latest release

@Morsmalleo Morsmalleo reopened this Jul 29, 2023
@Morsmalleo Morsmalleo removed the Issue Fixed This issue and it's bugs and/or errors have been fixed label Jul 29, 2023
@Morsmalleo
Copy link
Owner

Unfortunately newer updates for the revision of 1.0-beta.5 don't solve the binding problems for this APK, I'm so sorry for any inconvenience.

I will work on solving thing binding problems with this APK as much as possible

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

No branches or pull requests

2 participants