Profile cover photo
Profile photo
James Harman
156 followers
156 followers
About
James's interests
View all
James's posts

I'm having a bit of trouble with trying to create code coverage on my project. I think the issue is that having both

multiDexEnabled true
testCoverageEnabled true

causes Instrumentation problems. When I enable both I get the error

Started running tests
Test running failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'
Empty test suite.

or on the command line with gradle:

Tests on Nexus_5_API_23(AVD) - 6.0 failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

com.android.builder.testing.ConnectedDevice > No tests found.[Nexus_5_API_23(AVD) - 6.0] FAILED
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations).


Do these tasks possibly conflict with each other ?
transformClassesWithJacocoForDebug
transformClassesWithJarMergingForDebug
transformClassesWithMultidexlistForDebug


Is anybody else able to run with both of these options enabled and not have issues?

Thanks,
James

Post has attachment
When I go to full screen mode, there is a line across the screen just about where the bottom bar would be.
Photo

Post has attachment

Post has shared content
I'm excited for this conference!
We've announced our first batch of confirmed speakers! More still to come as we get confirmations from them.

Is it just me, or do other people think the new play music icon looks like a Dorito too?

Post has attachment
Proud of my team for getting this implemented. It's releasing this week!

https://homeadvisor.tech/homeadvisor-amazon-echo-alexa-skills/

Well assassins aren't fools, they STAY OUT of places like that.

Post has shared content
My thoughts on the Revolv Internet of Things fiasco. There are answers. They are open source and open standards.

Post has shared content
10% of respondents self-identified as Ninjas. Real ninjas don’t tell you they’re ninjas. They just sneak up on you and slit your throat, which we're pretty sure constitutes a "hostile workplace environment".

Wait while more posts are being loaded