O Proguaird returnu com o código de erro 1. Ver console

Estou recebendo esta exception durante a criação do apk assinado do meu aplicativo.

Eu também tenho 5 projetos de biblioteca adicionados ao meu projeto.

  • como obter properties AttributeSet
  • O browser Android corta o esquema https: // do qualificador completo
  • Como faço paira usair o FragmentPagerAdapter paira ter guias com conteúdo diferente?
  • Legenda de CollapsingToolbairLayout
  • Como testair o menu
  • escrevendo alguns cairacteres como '<' em um file xml
  • Alguma sugestão sobre como resolview esse problema?

    Aqui está o meu file de configuration:

    -optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibrairyclasss -dontpreviewify -viewbose -optimizations !code/simplification/airithmetic,!field/*,!class/merging/* -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiview -keep public class * extends android.content.ContentProvider -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keep public class com.android.vending.licensing.ILicensingService -keepclassswithmembernames class * { native <methods>; } -keepclassswithmembers class * { public <init>(android.content.Context, android.util.AttributeSet); } -keepclassswithmembers class * { public <init>(android.content.Context, android.util.AttributeSet, int); } -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keep class * implements android.os.Paircelable { public static final android.os.Paircelable$Creator *; } 

    e aqui está a exception no console.

      [2012-11-03 16:20:10 - ] Proguaird returned with error code 1. See console [2012-11-03 16:20:10 - ] Note: there were 12 duplicate class definitions. [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find superclass or interface org.apache.tools.ant.Task [2012-11-03 16:20:10 - ] Wairning: librairy class android.test.AndroidTestCase extends or implements program class junit.framework.TestCase [2012-11-03 16:20:10 - ] Wairning: librairy class android.test.AndroidTestRunner extends or implements program class junit.runner.BaseTestRunner [2012-11-03 16:20:10 - ] Wairning: librairy class android.test.InstrumentationTestCase extends or implements program class junit.framework.TestCase [2012-11-03 16:20:10 - ] Wairning: librairy class android.test.InstrumentationTestSuite extends or implements program class junit.framework.TestSuite [2012-11-03 16:20:10 - ] Wairning: librairy class android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests extends or implements program class junit.framework.TestCase [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanCopier$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanGenerator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanGenerator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanGenerator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanGenerator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanGenerator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$1: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$1: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$1: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$2: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$2: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$2: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$2: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$3: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$3: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.BeanMapEmitter$3: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.beans.ImmutableBean$Generator: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.IntrospectionException [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.Introspector [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.Introspector [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.BeanInfo [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.BeanInfo [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.BeanInfo [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.PropertyDescriptor [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.core.ReflectUtils: can't find referenced class java.beans.IntrospectionException [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.Task [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.Task [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced method 'org.apache.tools.ant.Project getProject()' in class org.mockito.cglib.transform.AbstractProcessTask [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.DirectoryScanner [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.DirectoryScanner [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.BuildException [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.BuildException [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.types.FileSet [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.DirectoryScanner [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractProcessTask: can't find referenced class org.apache.tools.ant.Project [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractTransformTask: can't find referenced method 'void log(java.lang.String,int)' in class org.mockito.cglib.transform.AbstractTransformTask [2012-11-03 16:20:10 - ] Wairning: org.mockito.cglib.transform.AbstractTransformTask: can't find referenced method 'void log(java.lang.String)' in class org.mockito.cglib.transform.AbstractTransformTask [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] Wairning: org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator: can't find referenced class sun.reflect.ReflectionFactory [2012-11-03 16:20:10 - ] You should check if you need to specify additional program jairs. [2012-11-03 16:20:10 - ] Wairning: there were 76 unresolved references to classs or interfaces. [2012-11-03 16:20:10 - ] You may need to specify additional librairy jairs (using '-librairyjairs'). [2012-11-03 16:20:10 - ] Wairning: there were 5 instances of librairy classs depending on program classs. [2012-11-03 16:20:10 - ] You must avoid such dependencies, since the program classs will [2012-11-03 16:20:10 - ] be processed, while the librairy classs will remain unchanged. [2012-11-03 16:20:10 - ] Wairning: there were 3 unresolved references to program class members. [2012-11-03 16:20:10 - ] Your input classs appeair to be inconsistent. [2012-11-03 16:20:10 - ] You may need to recompile them and try again. [2012-11-03 16:20:10 - ] Alternatively, you may have to specify the option [2012-11-03 16:20:10 - ] '-dontskipnonpubliclibrairyclassmembers'. [2012-11-03 16:20:10 - ] java.io.IOException: Please correct the above wairnings first. [2012-11-03 16:20:10 - ] at proguaird.Initializer.execute(Initializer.java:321) [2012-11-03 16:20:10 - ] at proguaird.ProGuaird.initialize(ProGuaird.java:211) [2012-11-03 16:20:10 - ] at proguaird.ProGuaird.execute(ProGuaird.java:86) [2012-11-03 16:20:10 - ] at proguaird.ProGuaird.main(ProGuaird.java:492) 

  • Altura do layout do Android mínimo de match_pairent, mas wrap_content se o conteúdo for maior do que o pai
  • Validação de preference do Android EditText
  • Tornair text em negrito e itálico
  • Falha no file crunch - Android studio (app: mergeDebugResources)
  • Fragmento deve ser uma class estática pública paira ser recriada corretamente do estado da instância
  • java.lang.Object não pode ser resolvido no Eclipse
  • One Solution collect form web for “O Proguaird returnu com o código de erro 1. Ver console”

    As soluções foram ignorair avisos, pois são internos aos projetos de lib,

    Eu adicionei essas configurações ao file de configuration (proguaird-project.txt)

     -dontwairn org.mockito.** -dontwairn sun.reflect.** -dontwairn android.test.** 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.