Android is not java - it does not provide all the standard java apis (just look at the android link, java.rmi does not exist). However, you can import almost everything that is pure java (if you have enough memory). You can try to remove unnecessary classes that cause problems with loading classes from jars-bu, this is a lot of work.
Konstantin pribluda
source share