How to find the jar of java.rmi package

前端 未结 1 1383
攒了一身酷
攒了一身酷 2020-12-02 21:45

I am developing an Android application which needs some rmi stuff since Android doesn\'t support rmi by default i found this project can be used to bundle the rmi package wi

相关标签:
1条回答
  • 2020-12-02 22:27

    It is unlikely that you will be able to use RMI on Android. Even if you took the code for RMI from Apache Harmony or some other source, Android does not like projects attempting to load java.* classes other than those that ship with the OS, and so will throw a compile error.

    It is conceivable that you could use jarjar or simple refactoring to move all the RMI code into some other package (e.g., keshan.java.rmi), but I have no idea how well that will work.

    BTW, here are some more instructions on this process.

    0 讨论(0)
提交回复
热议问题