Eric Martinez
Eric Martinez

Reputation: 31787

Edit app.iml in Android Studio 1.2.1.1

After 3 days struggling to make JUnit and Robolectric to work with Android Studio I finall did it, but there is one important step I have to make everytime I open the IDE.

I have to go to app.iml and change "false" to "true" in "ALLOW_USER_CONFIGURATION". After this the testing works, but it's really annoying to make this change everytime I open the IDE.

Is there anyway to keep this change saved? I've looked for this option in the UI but I couldn't find nothing similar.

Any advice?

Thanks.

Upvotes: 0

Views: 339

Answers (1)

Alex Florescu
Alex Florescu

Reputation: 5151

This used to be an issue, but should no longer be a problem with the new Android Studio support for unit tests.

Checkout the instruction and setup in this sample project: https://github.com/robolectric/deckard-gradle

Upvotes: 1

Related Questions