It's just not working yet, see https://code.google.com/p/android/issues/detail?id=152187.
El domingo, 22 de febrero de 2015, 12:23:39 (UTC-2), Scott Battaglia escribió: > > I'm attempting to migrate from one of the third-party plugins to support > JUnit tests to the native support in 1.1. > > I'm encountering this error when my tests run: > java.lang.NoClassDefFoundError: com/company/app/library/R$string > (one of the classes under test refers to this resource) > > If I reference a resource in the test directly, the test will fail to > compile at all. > > It appears that the generated R class isn't on the test classpath. I > didn't see any instructions on having to do anything specific to get that > to work. Am I missing something? > > Thanks > Scott > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
