Closed alfink closed 6 years ago
The build fails, because dexterous is not only a library used in android apps, it's also a desktop standalone tool (See file: desktop.gradle).
You use android's Log classes in dexterous/src/main/java/comm/android/dx/merge/MethodFilter.java
.
Please switch to the Logger :https://github.com/Project-ARTist/dexterous/blob/master/src/main/java/saarland/cispa/utils/LogA.java
symbol: variable Log
location: class MethodFilter
/home/travis/build/Project-ARTist/dexterous/src/main/java/comm/android/dx/merge/MethodFilter.java:215: error: cannot find symbol
Log.d(TAG, "Field whitelisted:" + fieldid);
^
symbol: variable Log
location: class MethodFilter
/home/travis/build/Project-ARTist/dexterous/src/main/java/comm/android/dx/merge/MethodFilter.java:230: error: cannot find symbol
Log.d("ColdelibWhitelisting", "Method annotated:" + getMethodString(methodid));
^
symbol: variable Log
location: class MethodFilter
/home/travis/build/Project-ARTist/dexterous/src/main/java/comm/android/dx/merge/MethodFilter.java:252: error: cannot find symbol
Log.i("CodelibWhitelisting", "Class whitelisted: " + String.valueOf(class_idx) + " (" + getTypeString(class_idx) +
^
symbol: variable Log
location: class MethodFilter
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
31 warnings
FAILED
Thank you very much :)