Im trying to run an espresso test with my release and proguarded build!! Im facing all these following warnings:
Warning:org.hamcrest.integration.EasyMock2Adapter: can't find superclass or interface org.easymock.IArgumentMatcher Warning:org.hamcrest.integration.JMock1Adapter: can't find superclass or interface org.jmock.core.Constraint Warning:library class android.test.AndroidTestCase extends or implements program class junit.framework.TestCase Warning:library class android.test.AndroidTestRunner extends or implements program class junit.runner.BaseTestRunner Warning:library class android.test.InstrumentationTestCase extends or implements program class junit.framework.TestCase Warning:library class android.test.InstrumentationTestSuite extends or implements program class junit.framework.TestSuite Warning:library class android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests extends or implements program class junit.framework.TestCase Warning:android.support.test.runner.MonitoringInstrumentation: can't find referenced method 'android.app.Instrumentation$ActivityResult execStartActivity(android.content.Context,android.os.IBinder,android.os.IBinder,android.app.Activity,android.content.Intent,int)' in program class android.support.test.internal.runner.hidden.ExposedInstrumentationApi Warning:android.support.test.runner.MonitoringInstrumentation: can't find referenced method 'android.app.Instrumentation$ActivityResult execStartActivity(android.content.Context,android.os.IBinder,android.os.IBinder,android.app.Activity,android.content.Intent,int,android.os.Bundle)' in program class android.support.test.internal.runner.hidden.ExposedInstrumentationApi Warning:android.support.test.runner.MonitoringInstrumentation: can't find referenced method 'android.app.Instrumentation$ActivityResult execStartActivity(android.content.Context,android.os.IBinder,android.os.IBinder,android.app.Fragment,android.content.Intent,int,android.os.Bundle)' in program class android.support.test.internal.runner.hidden.ExposedInstrumentationApi Warning:com.google.android.apps.common.testing.deps.guava.cache.Striped64: can't find referenced class sun.misc.Unsafe Warning:com.google.android.apps.common.testing.deps.guava.cache.Striped64$1: can't find referenced class sun.misc.Unsafe Warning:com.google.android.apps.common.testing.deps.guava.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe Warning:com.google.android.apps.common.testing.deps.guava.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe Warning:com.google.android.apps.common.testing.deps.guava.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe Warning:com.squareup.javawriter.JavaWriter: can't find referenced class javax.lang.model.element.Modifier Warning:org.assertj.core.internal.JavaBeanDescriptor: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.internal.PropertySupport: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.internal.cglib.core.DebuggingClassWriter$1: can't find referenced class org.assertj.core.internal.cglib.asm.util.TraceClassVisitor Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.IntrospectionException Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.Introspector Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.BeanInfo Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.BeanInfo Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.internal.cglib.core.ReflectUtils: can't find referenced class java.beans.IntrospectionException Warning:org.assertj.core.util.introspection.Introspection: can't find referenced class java.beans.Introspector Warning:org.assertj.core.util.introspection.Introspection: can't find referenced class java.beans.BeanInfo Warning:org.assertj.core.util.introspection.Introspection: can't find referenced class java.beans.PropertyDescriptor Warning:org.assertj.core.util.introspection.Introspection: can't find referenced class java.beans.BeanInfo Warning:org.assertj.core.util.xml.XmlStringPrettyFormatter: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry Warning:org.hamcrest.JMock1Matchers: can't find referenced class org.jmock.core.Constraint Warning:org.hamcrest.beans.HasProperty: can't find referenced class java.beans.IntrospectionException Warning:org.hamcrest.beans.HasPropertyWithValue: can't find referenced class java.beans.IntrospectionException Warning:org.hamcrest.beans.HasPropertyWithValue: can't find referenced class java.beans.PropertyDescriptor Warning:org.hamcrest.beans.HasPropertyWithValue: can't find referenced class java.beans.IntrospectionException Warning:org.hamcrest.beans.HasPropertyWithValue: can't find referenced class java.beans.PropertyDescriptor Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.Introspector Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.BeanInfo Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.PropertyDescriptor Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.IntrospectionException Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.Introspector Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.BeanInfo Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.PropertyDescriptor Warning:org.hamcrest.beans.PropertyUtil: can't find referenced class java.beans.BeanInfo Warning:org.hamcrest.integration.EasyMock2Adapter: can't find referenced class org.easymock.EasyMock Warning:org.hamcrest.integration.EasyMock2Adapter: can't find referenced class org.easymock.IArgumentMatcher Warning:org.hamcrest.integration.EasyMock2Adapter: can't find referenced class org.easymock.EasyMock Warning:org.hamcrest.integration.EasyMock2Adapter: can't find referenced class org.easymock.IArgumentMatcher Warning:org.hamcrest.integration.JMock1Adapter: can't find referenced class org.jmock.core.Constraint
Warning:there were 126 unresolved references to classes or interfaces. You may need to add missing library jars or update their versions. If your code works fine without the missing classes, you can suppress the warnings with '-dontwarn' options. (http://ift.tt/1a4OICW)
Warning:there were 5 instances of library classes depending on program classes. You must avoid such dependencies, since the program classes will be processed, while the library classes will remain unchanged. (http://ift.tt/1m0XnLG)
Warning:there were 3 unresolved references to program class members. Your input classes appear to be inconsistent. You may need to recompile the code.
Anybody has an idea of what this can be? I've been searching but I cant find anything.
Sorry, for all the log mess ..
Thank you
Aucun commentaire:
Enregistrer un commentaire