AndroidStudioAndRobolectric icon indicating copy to clipboard operation
AndroidStudioAndRobolectric copied to clipboard

NoClassDefFoundError: android/content/Context

Open nenick opened this issue 10 years ago • 2 comments

Tracked at: https://code.google.com/p/android/issues/detail?id=160024 This error can be removed by running an unit test from the main module first.

nenick avatar Mar 24 '15 06:03 nenick

This issue can be reproduced with library modules. Open project with Android Studio

  • clean project
  • run tests from library module

and removed by

  • run tests from app module
  • run tests from library module

nenick avatar May 04 '15 05:05 nenick