Run your tests on an Android emulator or a device.
The android.jar you're using on your desktop doesn't have anything implemented. All methods there throw the RuntimeException: Stub!
.
Alternatively, remove all Android dependencies from the code so that you can run your tests without importing android.jar.