You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.
Thanks for bringing this to my attention. I played with setting the classpath manually to ensure resources where added to it (to fix #4) but never got it quite working correctly. Unfortunately, that got left in when I made updates to support attaching javadoc and sources. I will fix this immediately. In the mean time, you just need to delete the classpath argument, but make sure you keep the others. They are needed to ensure robolectric finds your assets/res files.
For some reason, at every gradle sync, the VM options in my Robolectric juint configuration change to this, if I remove this, it starts working again.
-Dandroid.manifest="/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/manifests/debug/AndroidManifest.xml" -Dandroid.resources="/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/test-resources/Debug/res" -Dandroid.package="com.kiwiwearables.app" -Dandroid.assets="/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/assets/debug" -classpath /Users/afzal/Dev/Kiwi/kiwi-android/common/build/intermediates/classes/debug:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/classes/debug:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/test-classes/debug:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/classes/debug:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.squareup.picasso/picasso/2.3.4/3b646ddbdac8a33fc45b64564011da81d23e4635/picasso-2.3.4.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/15.0/ed727a8d9f247e2050281cb083f1c77b09dcb5cd/guava-15.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.crashlytics.android/crashlytics/1.1.13/e821eafa1bf489a26bdb71f95078c26785b37a1/crashlytics-1.1.13.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.nhaarman.listviewanimations/library/2.6.0/59351ccb0a1631d30358f6a92749a072f2df7602/library-2.6.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.koushikdutta.ion/ion/1.3.8/1fc0413880bde2e3ffab3c5e5a243f39dd409b1c/ion-1.3.8.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.cloudant/cloudant-sync-datastore-core/0.7.1/67e33dcd066bb5a1448a90d5f68e6b90bd461b27/cloudant-sync-datastore-core-0.7.1.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.google.android.gms/play-services/5.0.89/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.google.android.gms/play-services/5.0.89/res:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.android.support/support-v4/20.0.0/libs/internal_impl-20.0.0.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.android.support/support-v4/20.0.0/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.android.support/support-v4/20.0.0/res:/Users/afzal/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.squareup/otto/1.3.5/7941cd2c2c8ec006800d75c35f8a9dacf892ab93/otto-1.3.5.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.akexorcist/bluetoothspp/1.2/res:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.akexorcist/bluetoothspp/1.2/classes.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.4.1.1/f1b322a9ff873aee0b710af5f33bc10a2eb019ba/jackson-core-2.4.1.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.0/5871fb60dc68d67da54a663c3fd636a10a532948/jsr305-3.0.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.4.0/d6a66c7a5f01cf500377bd669507a08cfeba882a/jackson-annotations-2.4.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit/retrofit/1.6.1/efb0a36546aa8857ab8df358b106c1817e03cbee/retrofit-1.6.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/javax.inject/javax.inject/1/6975da39a7040257bd51d21a231b76c915872d38/javax.inject-1.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.mixpanel.android/mixpanel-android/4.3.1/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/exploded-aar/com.mixpanel.android/mixpanel-android/4.3.1/res:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.koushikdutta.async/androidasync/1.3.8/1f8e4f77d5f24179688c32b24dd5f79e889e7110/androidasync-1.3.8.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.cloudant/cloudant-sync-datastore-android/0.7.1/d9a72f531bf9bf490b297d0c3b16d43dcb13a1d8/cloudant-sync-datastore-android-0.7.1.jar:/Users/afzal/Dev/android/android-sdk-macosx/extras/android/m2repository/com/android/support/support-annotations/20.0.0/support-annotations-20.0.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.4.1.3/337a63173c2950939158544315ce6d49c19d84a8/jackson-databind-2.4.1.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/e9b63380f3a242dbdbf103a2355ad7e43bad17cb/library-2.4.0.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.3/5fc52c41ef0239d1093a1eb7c3697036183677ce/gson-2.3.jar:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.android.support/support-v13/20.0.0/res:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.android.support/support-v13/20.0.0/libs/internal_impl-20.0.0.jar:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.android.support/support-v13/20.0.0/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/5.0.77/res:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/5.0.77/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.google.android.support/wearable/1.0.0/classes.jar:/Users/afzal/Dev/Kiwi/kiwi-android/wear/build/intermediates/exploded-aar/com.google.android.support/wearable/1.0.0/res:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.apache.ant/ant-launcher/1.8.0/8b53ba16fa62fb1034da8f1de200ddc407c8381/ant-launcher-1.8.0.jar:/Users/afzal/Dev/Kiwi/kiwi-android/common/build/outputs/aar/common.aar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-tree/5.0.1/1b1e6e9d869acd704056d0a4223071a511c619e6/asm-tree-5.0.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-commons/5.0.1/7b7147a390a93a14d2edfdcf3f7b0e87a0939c3e/asm-commons-5.0.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.json/json/20080701/d652f102185530c93b66158b1859f35d45687258/json-20080701.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.robolectric/robolectric/2.3/45dfeecf071f1f234961f80c64edccf1edb4d374/robolectric-2.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-util/5.0.1/7c8caddfbd0b2d7b844f8fcc75175b9cb9cf4724/asm-util-5.0.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/xerces/xmlParserAPIs/2.6.2/65acede1e5305bd2b92213d7b5761328c6f4fd9/xmlParserAPIs-2.6.2.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-analysis/5.0.1/e286fbee48efacb4e7c175f7948d9d8b2ab52352/asm-analysis-5.0.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.google.android/android/4.0.1.2/b680f76fe4056656da02374ad93a4c7a4c2c3512/android-4.0.1.2.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.ximpleware/vtd-xml/2.11/ee5bcf62c1acf76434ee9f1c67a840bafef72a6d/vtd-xml-2.11.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.2.2/b76bee23cd3f3ee9b98bc7c2c14670e821ddbbfd/httpcore-4.2.2.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/5.0.1/2fd56467a018aafe6ec6a73ccba520be4a7e1565/asm-5.0.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.easytesting/fest-util/1.2.5/c4a8d7305b23b8d043be12c979813b096df11f44/fest-util-1.2.5.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.squareup/fest-android/1.0.8/72b0763d5fd11a9ca769bb88367d92e43c0198e0/fest-android-1.0.8.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/junit/junit/4.11/4e031bb61df09069aeb2bffb4019e7a5034a4ee0/junit-4.11.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.6/b7f0fc8f61ecadeb3695f0b9464755eee44374d4/commons-codec-1.6.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/com.almworks.sqlite4java/sqlite4java/0.282/745a7e2f35fdbe6336922e0d492c979dbbfa74fb/sqlite4java-0.282.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-ant-tasks/2.1.3/b09be554228d66d208e5fef5266844aacf443abc/maven-ant-tasks-2.1.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.easytesting/fest-reflect/1.4.1/2b92d5275e92a49e16c7ce6bd7e46b9080db0530/fest-reflect-1.4.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.1/5043bfebc3db072ed80fbd362e7caf00e885d8ae/commons-logging-1.1.1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.2.3/37ced84d839a02fb856255eca85f0a4be95aa634/httpclient-4.2.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/xpp3/xpp3/1.1.4c/9b988ea84b9e4e9f1874e390ce099b8ac12cfff5/xpp3-1.1.4c.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/1.3/dc13ae4faca6df981fc7aeb5a522d9db446d5d50/objenesis-1.3.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.easytesting/fest-assert-core/2.0M10/cb7c91cf614901928ae405f19d9bcdedf82781db/fest-assert-core-2.0M10.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.khronos/opengl-api/gl1.1-android-2.1_r1/8827d279add29cf9115820671e7879de7bf80390/opengl-api-gl1.1-android-2.1_r1.jar:/Users/afzal/.gradle/caches/modules-2/files-2.1/org.apache.ant/ant/1.8.0/7b456ca6b93900f96e58cc8371f03d90a9c1c8d1/ant-1.8.0.jar:/Users/afzal/Dev/android/android-sdk-macosx/platforms/android-20/android.jar:/Users/afzal/Dev/android/android-sdk-macosx/platforms/android-20/data/res:/Users/afzal/Dev/android/android-sdk-macosx/tools/support/annotations.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/intermediates/classes/debug:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/build/test-classes/debug:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/src/testDebug/resources:/Users/afzal/Dev/Kiwi/kiwi-android/mobile/src/test/resources:/Applications/Android Studio.app/Contents/lib/idea_rt.jar:/Applications/Android Studio.app/Contents/plugins/junit/lib/junit-rt.jar
The text was updated successfully, but these errors were encountered: