how can I find relative path for andriod.jar? : I'm doing some hotcoding thing, and I need to use android.jar in the process. However I have to manually add android.jar to javassist(a bytecode manipulation tool) classpool, but I dont want to use the absolute path of android.jar like now,

    pool.insertClassPath("/Users/xinmei/Library/Android/sdk/platforms/android-
    26/android.jar")

but I dont know how to get the relative path of it, can anyone give me some hint? thanks!