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 error when using DroidPlugin as a module #429

Open
gongzelong0718 opened this issue Feb 27, 2018 · 0 comments
Open

Build error when using DroidPlugin as a module #429

gongzelong0718 opened this issue Feb 27, 2018 · 0 comments

Comments

@gongzelong0718
Copy link

Information:Gradle tasks [assembleDebug]
/home/zelongg/Code/LearnAndroid/DroidPlugin/src/com/morgoo/droidplugin/hook/proxy/IActivityManagerHook.java
Error:(105, 74) error: cannot find symbol class Singleton
Error:Execution failed for task ':DroidPlugin:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 47.352 secs
Information:2 errors
Information:0 warnings
Information:See complete output in `console```

FieldUtils.writeStaticField(cls, "gDefault", new android.util.Singleton() {

https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/util/Singleton.java
new android.util.Singleton has a @hide, how can we find the symbol class Singletion?

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