traceroute-for-android icon indicating copy to clipboard operation
traceroute-for-android copied to clipboard

Issue with installing as a system app

Open basil369 opened this issue 2 years ago • 0 comments

Moved the APK to /system/priv-app/ folder to install it as a system app. But getting an error like this when running traceroute - java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/priv-app/TraceRoute/app-release.apk"],nativeLibraryDirectories=[/system/priv-app/TraceRoute/lib/arm, /system/priv-app/TraceRoute/app-release.apk!/lib/armeabi-v7a, /system/lib, /product/lib, /system/lib, /product/lib]]] couldn't find "libtraceroute.so"

As per stack trace, the issue happens when the apk tries to load the traceroute binary file by calling System.loadLibrary("traceroute")

Tried this solution but still facing the same issue. Can you please help with resolving it?

basil369 avatar Jun 08 '22 08:06 basil369