as soon as I try to enable
 testCoverageEnabled = true

I get the following exception
:connectedAndroidTestNoMapsNoAnalyticsForFDroidDebug
Tests on 4.3_atom(AVD) - 4.3 failed: Instrumentation run failed due to 
'java.lang.VerifyError'
02:49:23 E/Device: Error during Sync: Remote object doesn't exist!
null
java.io.IOException: com.android.ddmlib.SyncException: Remote object 
doesn't exist!
at 
com.android.builder.testing.ConnectedDevice.pullFile(ConnectedDevice.java:114)
at 
com.android.builder.internal.testing.SimpleTestCallable.call(SimpleTestCallable.java:158)
at 
com.android.builder.internal.testing.SimpleTestCallable.call(SimpleTestCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.android.ddmlib.SyncException: Remote object doesn't exist!
at com.android.ddmlib.SyncService.pullFile(SyncService.java:314)
at com.android.ddmlib.Device.pullFile(Device.java:849)
at 
com.android.builder.testing.ConnectedDevice.pullFile(ConnectedDevice.java:107)
... 8 more
:connectedAndroidTestNoMapsNoAnalyticsForFDroidDebug FAILED


On Monday, 17 March 2014 23:19:02 UTC+1, Carl-Gustaf Harroch wrote:
>
> I managed to get JaCoCo running within Gradle (preDex, postCompile) while 
> running a manual "adb am instrument..." as Exec command. This suits my 
> needs but was wondering what the current status is? I could provide a 
> patched version of DeviceProviderInstrumentTestTask that would add 
> instrumentation functionality as part of the testOptions similar to 
>  testOptions { coverage: true }. This could be extended to take any 
> argument as defined here 
> <http://developer.android.com/reference/android/test/InstrumentationTestRunner.html>.
>  
> Is this a work in progress ATM?
>

-- 
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.

Reply via email to