Stubbing android.content.SharedPreferences.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Unstubbing SharedPreferences

The Android libraries aren't available from the JUnit 4 test runner in Eclipse. This library exists to restore a stub version of SharedPreferences.

Please forgive me.

GitHub-hosted Maven repository

The command mvn deploy uploads the built jars to the mvn-repo branch of You need to have administrator access to that git repository, and something like the following in your $M2_REPO/settings.xml to enable uploading:


To refer to this Maven repository, you should use something like the following in your project pom.xml: