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

使用Dex2C标记需要编译的类或者方法 要怎么标. #15

Closed
h45251880 opened this issue Jan 8, 2020 · 9 comments
Closed

使用Dex2C标记需要编译的类或者方法 要怎么标. #15

h45251880 opened this issue Jan 8, 2020 · 9 comments

Comments

@h45251880
Copy link

如题

@amimo
Copy link
Owner

amimo commented Jan 8, 2020

  • 使用注解参考测试工程TestDCC

  • 使用黑白名单参考项目根目录filter.txt.

androguard对注解支持太弱,建议使用filter.txt过滤.

@h45251880
Copy link
Author

  • 使用注解参考测试工程TestDCC
  • 使用黑白名单参考项目根目录filter.txt.

androguard对注解支持太弱,建议使用filter.txt过滤.
不不好意思 什么是注解 小白一个

@amimo
Copy link
Owner

amimo commented Jan 10, 2020

使用filter.txt吧,去研究正则表达式

@h45251880
Copy link
Author

不好意思 java档怎么转class我查教程都不行 javac指令试过也不行. 小白一个.

@amimo
Copy link
Owner

amimo commented Jan 11, 2020

这是安卓平台下的防护,你先把工程内的demo跑通吧.

@h45251880
Copy link
Author

java demo 构建错误.
C:\Users\Administrator\Desktop\0\dcc\tests\demo-java>gradlew.bat
Starting a Gradle Daemon, 4 stopped Daemons could not be reused, use --status fo
r details

FAILURE: Build failed with an exception.

  • What went wrong:
    Unable to start the daemon process.
    This problem might be caused by incorrect configuration of the daemon.
    For example, an unrecognized jvm option is used.
    Please refer to the user guide chapter on the daemon at https://docs.gradle.org/
    4.10.1/userguide/gradle_daemon.html
    Please read the following process output to find out more:

Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

C:\Users\Administrator\Desktop\0\dcc\tests\demo-java>

@amimo
Copy link
Owner

amimo commented Jan 11, 2020

导到Android Studio里面编译试试

@h45251880
Copy link
Author

h45251880 commented Jan 11, 2020

安卓gradle插件错误
编译后 只有这错误..
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

@amimo
Copy link
Owner

amimo commented Jan 11, 2020

你自己百度下吧

@amimo amimo closed this as completed Jan 11, 2020
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

2 participants