New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi dex installation failed. SDK 1 is unsupported. Min SDK version is 4. #2683
Comments
Can you try latest Robolectric? Do you also have the dependency to shadows-multidex? |
We are stuck on using 2.4 unless we completely refactor all our test classes. Is there no way other fix? |
Up to you, but new Robolectric is more shiny and bright. For example, Shadow multidex is only available from 3.x. But you can still fix it with next workaround:
|
This is not a Robolectric issue. Robolectric 2.4 is old, please update. Robolectric min sdk is API 16. |
Closing this as it hasn't been updated in a while. If its still an issue with Robolectric 4.0 please reopen with a reproducible test case and we'll prioritize. |
Description
Multi dex installation failed. SDK 1 is unsupported. Min SDK version is 4.
Steps to Reproduce
execute a unit test through gradle using ./gradlew test
Robolectric & Android Version
robolectric 2.4, Android minSdk 4.4
The text was updated successfully, but these errors were encountered: