Closed HChenX closed 1 month ago
Hi @HChenX. For android it is usually best to use compileOnly dependencies rather than annotationProcessor. Not sure why that is with manifold/android. See android docs.
. . .
compileOnly libs.systems.manifold.ext
Hi @HChenX. For android it is usually best to use compileOnly dependencies rather than annotationProcessor. Not sure why that is with manifold/android. See android docs.
. . . compileOnly libs.systems.manifold.ext
I have configured it according to what you said. But he still reported an error.
If I don't add the tasks task, it will report an error saying "symbol not found". If I add it, it will generate the error shown in the above figure.
error:
java/lang/String.java:5: 错误: 程序包java.lang.constant不存在
public final class String extends java.lang.Object implements java.io.Serializable, java.lang.Comparable
What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --info option to get more log output. Run with --scan to get full insights.
BUILD FAILED in 4s
Is your project accessible? It will make diagnosing the problem.
Is your project accessible? It will make diagnosing the problem.您的项目是否可访问?它将使诊断问题成为可能。
Of course. This is the Github warehouse address: https://github.com/HChenX/HookTool
Thanks! But your project requires android 8.3.2, but I test with latest IntelliJ (2024.1) which only supports up to 8.2.0. When I change your project to 8.2.0 it fails with a jlink error. Any chance you can supply a version that compiles against 8.2.0?
Thanks! But your project requires android 8.3.2, but I test with latest IntelliJ (2024.1) which only supports up to 8.2.0. When I change your project to 8.2.0 it fails with a jlink error. Any chance you can supply a version that compiles against 8.2.0?
Based on my testing, you can change the project jdk to 17 It may be an issue with JDK21. If it still doesn't work, you can try clearing to build the cache.
Describe the bug When I extend the String function and call the method. Error 'symbol not found' during project construction.
Screenshots
Desktop (please complete the following information):
Additional context