Comments (5)
I forgot to mention that this problem is limited to running the test in Android Studio (on MacOS). It works fine when running with Gradle from the command line.
from androidstudioandrobolectric.
As a fast workaround read Note for Mac User
at http://robolectric.org/getting-started/
I will take a look why my workaround does not work anymore.
from androidstudioandrobolectric.
Now it should work again
from androidstudioandrobolectric.
I have this problem to. (on Mac)
Already have
Im using: org.robolectric:robolectric:3.0-rc3
Any ideas?
from androidstudioandrobolectric.
@nilsi What are your steps to get this error? You shouldn't get this if you use the master branch.
from androidstudioandrobolectric.
Related Issues (20)
- NoClassDefFoundError: android/content/Context HOT 1
- AnnotationFormatError: Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()
- Test is stuck at :app:testDebug HOT 1
- Can't run Roboletric on windows: java.lang.NoSuchMethodException: android.os.Looper.<init>(boolean) HOT 2
- @Config and @RobolectricTestRunner not recognised HOT 2
- Not An Issue HOT 1
- No issue - line #-1 (sorry, not yet implemented): Error inflating class <unknown> HOT 11
- Running test in core fails with "values is not a directory" HOT 6
- No issue ( java.lang.StringIndexOutOfBoundsException: String index out of range: -9) HOT 5
- Resources not found exception when applicationId is altered HOT 1
- Your work around is not working with apply plugin: 'com.android.library' HOT 18
- NoClassDefFoundError OnApplyWindowInsetsListener
- No Copyright/License Information HOT 1
- Gradle DSL method not found: 'execute()'. Any solution?
- Test resources not found from unit test
- Package R does not exist HOT 2
- Not compileing main source when compile unit test sources HOT 5
- BuildConfig is not by default generated for all build types
- NoClassDefFoundError: android/R
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidstudioandrobolectric.