Yes, janino does not work on Android. See this comment.
However on the server or desktop you can use janino to create your own Weighting class and bundle the created code inside the jar file and use this for the weighting instead of custom (which uses janino). This avoids that janino is needed on Android. But this forces you to update the jar file whenever you update the weighting. See this discussion about iOS (but applies to Android too).