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

Build and Disassemble - CIRCULAR REFERENCE: java.nio.file.NoSuchFileException #75

Open
karthickr95 opened this issue Nov 16, 2024 · 0 comments

Comments

@karthickr95
Copy link

Tool is working on run command but not on Build and Disassemble

Error in /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-stdlib-jdk8.jar:
java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-stdlib-jdk8.jar
Error in /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-stdlib.jar:
java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-stdlib.jar
Error in /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-annotations-jvm.jar:
java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlin-annotations-jvm.jar
Error in /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlinx-coroutines-core-jvm.jar:
java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/kotlinx-coroutines-core-jvm.jar
Error in /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar:
java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
Info in rules.txt at line 1, column 1:
Ignoring option: -optimizations
Info in rules.txt at line 2, column 1:
Ignoring option: -optimizationpasses
Compilation failed with an internal error.
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
	at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:131)
	at com.android.tools.r8.R8.main(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:5)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
	at Version.fakeStackEntry(Version_8.6.2-dev.java:0)
	at com.android.tools.r8.T.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:5)
	at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:82)
	at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:32)
	at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:31)
	at com.android.tools.r8.BaseCommand$Builder.build(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:2)
	at com.android.tools.r8.R8.b(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:22)
	at com.android.tools.r8.R8.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1549)
	at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:118)
	... 1 more
Caused by: java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
	at com.android.tools.r8.utils.i$a.c(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:23)
	at com.android.tools.r8.BaseCommand$Builder.e(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:3)
	at com.android.tools.r8.BaseCommand$Builder.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:16)
	at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:3)
	at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
	at com.android.tools.r8.q0.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:285)
	at com.android.tools.r8.q0.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:84)
	at com.android.tools.r8.R8Command.parse(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
	... 4 more
Suppressed: java.lang.RuntimeException: com.android.tools.r8.internal.g: java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
		at com.android.tools.r8.internal.w50.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:29)
		at com.android.tools.r8.shaking.T2.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:25)
		at com.android.tools.r8.R8Command$Builder.p(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:18)
		at com.android.tools.r8.R8Command$Builder.makeCommand(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
		at com.android.tools.r8.BaseCommand$Builder.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:2)
		at com.android.tools.r8.internal.so.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:28)
		at com.android.tools.r8.BaseCommand$Builder.build(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:2)
		... 4 more
	Caused by: com.android.tools.r8.internal.g: java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar
		at com.android.tools.r8.internal.w50.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:21)
		at com.android.tools.r8.internal.w50.error(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
		at com.android.tools.r8.utils.i$a.c(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:24)
		at com.android.tools.r8.BaseCommand$Builder.e(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:3)
		at com.android.tools.r8.BaseCommand$Builder.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:16)
		at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:3)
		at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
		at com.android.tools.r8.q0.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:285)
		at com.android.tools.r8.q0.a(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:84)
		at com.android.tools.r8.R8Command.parse(R8_8.6.2-dev_7fc7c6f786a921c1190fae64678f9d13ea8a32a8034f1ca657e7734636ef3f68:1)
		... 4 more
	Caused by: [CIRCULAR REFERENCE: java.nio.file.NoSuchFileException: /opt/homebrew/Cellar/kotlin/2.0.21/lib/annotations.jar]
@karthickr95 karthickr95 changed the title CIRCULAR REFERENCE: java.nio.file.NoSuchFileException Build and Disassemble - CIRCULAR REFERENCE: java.nio.file.NoSuchFileException Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant