You need the separate xxx-legacy kar for v1.x add-ons
Good luck finding 2.4 version, but as little changes for 1.x bindings you’ll probably get away with 2.5
This is going to get harder for you in future, if you intend to stay on OH2 at least consider updating to the last supported version 2.5.12. And definitely secure a copy of all 2.5.12 offline install files now.
2.4 to 2.5 was not an entirely insignificant change, paving the way for OH3. It did have a few small effects on some rules etc. refer to release notes if they still exist. Someone would have found/fixed every issue in old forum posts.