You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details
First, releases may not work; very likely the version the release was built against is incompatible with whatever version is on local workstation*. That error will typically resemble
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/alex_zaitsev/adg/Main
has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version
of the Java Runtime only recognizes class file versions up to 52.0
Also, cloning the repo won't work out-of-the-box; it will be necessary to compile in order to generate required file build/libs/apk-dependency-graph.jar, otherwise will see error typ.
Error: Unable to access jarfile .../apk-dependency-graph/build/libs/apk-dependency-graph.jar
Finally, it will be necessary to add package-name to filters/default.json otherwise will fail typ.
'package-name' option cannot be empty. Check filters/default.json
*Yes, it is possible to attempt to address the disparity by mucking around with downloading and installing various JDK versions, but that can result in strange behavior changes on workstation...
The text was updated successfully, but these errors were encountered:
For others attempting to use this project
TL;DR
Just need to do a couple of steps to use this project
Make gradlew executable and build/compile the git repo e.g.
Edit
filters/default.json
and add your package name (not optional!)Then edit the file so it resembles:
Once that's done should be ready to run the command, make sure to use the copied
custom.json
file e.g.Details
First, releases may not work; very likely the version the release was built against is incompatible with whatever version is on local workstation*. That error will typically resemble
Also, cloning the repo won't work out-of-the-box; it will be necessary to compile in order to generate required file
build/libs/apk-dependency-graph.jar
, otherwise will see error typ.Finally, it will be necessary to add
package-name
tofilters/default.json
otherwise will fail typ.*Yes, it is possible to attempt to address the disparity by mucking around with downloading and installing various JDK versions, but that can result in strange behavior changes on workstation...
The text was updated successfully, but these errors were encountered: