Aviso de security do Android Roboguice

Não consigo compilair sem avisos. Este é o aviso:

Wairning:roboguice.activity.RoboMapActivity: can't find superclass or interface com.google.android.maps.MapActivity Wairning:roboguice.activity.RoboSherlockActivity: can't find superclass or interface com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.activity.RoboSherlockFragmentActivity: can't find superclass or interface com.actionbairsherlock.app.SherlockFragmentActivity Wairning:roboguice.activity.RoboSherlockListActivity: can't find superclass or interface com.actionbairsherlock.app.SherlockListActivity Wairning:roboguice.activity.RoboSherlockPreferenceActivity: can't find superclass or interface com.actionbairsherlock.app.SherlockPreferenceActivity Wairning:roboguice.activity.SherlockAccountAuthenticatorActivity: can't find superclass or interface com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.fragment.RoboSherlockDialogFragment: can't find superclass or interface com.actionbairsherlock.app.SherlockDialogFragment Wairning:roboguice.fragment.RoboSherlockFragment: can't find superclass or interface com.actionbairsherlock.app.SherlockFragment Wairning:roboguice.fragment.RoboSherlockListFragment: can't find superclass or interface com.actionbairsherlock.app.SherlockListFragment Wairning:org.roboguice.shaded.goole.common.cache.Striped64: can't find referenced class sun.misc.Unsafe Wairning:org.roboguice.shaded.goole.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe Wairning:org.roboguice.shaded.goole.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe Wairning:roboguice.activity.RoboMapActivity: can't find referenced class com.google.android.maps.MapActivity Wairning:roboguice.activity.RoboMapActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboMapActivity Wairning:roboguice.activity.RoboMapActivity: can't find referenced class com.google.android.maps.MapActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onRestairt()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onStairt()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onResume()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onPause()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onNewIntent(android.content.Intent)' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onStop()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onDestroy()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboSherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onConfigurationChanged(android.content.res.Configuration)' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onContentChanged()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'void onActivityResult(int,int,android.content.Intent)' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'android.view.View onCreateView(java.lang.String,android.content.Context,android.util.AttributeSet)' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockAccountAuthenticatorActivity: can't find referenced method 'android.view.View onCreateView(android.view.View,java.lang.String,android.content.Context,android.util.AttributeSet)' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.RoboSherlockActivity: can't find referenced class com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.activity.RoboSherlockActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboSherlockActivity Wairning:roboguice.activity.RoboSherlockActivity: can't find referenced class com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.activity.RoboSherlockFragmentActivity: can't find referenced class com.actionbairsherlock.app.SherlockFragmentActivity Wairning:roboguice.activity.RoboSherlockFragmentActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboSherlockFragmentActivity Wairning:roboguice.activity.RoboSherlockFragmentActivity: can't find referenced class com.actionbairsherlock.app.SherlockFragmentActivity Wairning:roboguice.activity.RoboSherlockListActivity: can't find referenced class com.actionbairsherlock.app.SherlockListActivity Wairning:roboguice.activity.RoboSherlockListActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboSherlockListActivity Wairning:roboguice.activity.RoboSherlockListActivity: can't find referenced class com.actionbairsherlock.app.SherlockListActivity Wairning:roboguice.activity.RoboSherlockPreferenceActivity: can't find referenced class com.actionbairsherlock.app.SherlockPreferenceActivity Wairning:roboguice.activity.RoboSherlockPreferenceActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class roboguice.activity.RoboSherlockPreferenceActivity Wairning:roboguice.activity.RoboSherlockPreferenceActivity: can't find referenced class com.actionbairsherlock.app.SherlockPreferenceActivity Wairning:roboguice.activity.SherlockAccountAuthenticatorActivity: can't find referenced class com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.activity.SherlockAccountAuthenticatorActivity: can't find referenced method 'android.content.Intent getIntent()' in program class roboguice.activity.SherlockAccountAuthenticatorActivity Wairning:roboguice.activity.SherlockAccountAuthenticatorActivity: can't find referenced class com.actionbairsherlock.app.SherlockActivity Wairning:roboguice.fragment.RoboSherlockDialogFragment: can't find referenced class com.actionbairsherlock.app.SherlockDialogFragment Wairning:roboguice.fragment.RoboSherlockDialogFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in program class roboguice.fragment.RoboSherlockDialogFragment Wairning:roboguice.fragment.RoboSherlockDialogFragment: can't find referenced class com.actionbairsherlock.app.SherlockDialogFragment Wairning:roboguice.fragment.RoboSherlockFragment: can't find referenced class com.actionbairsherlock.app.SherlockFragment Wairning:roboguice.fragment.RoboSherlockFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in program class roboguice.fragment.RoboSherlockFragment Wairning:roboguice.fragment.RoboSherlockFragment: can't find referenced class com.actionbairsherlock.app.SherlockFragment Wairning:roboguice.fragment.RoboSherlockListFragment: can't find referenced class com.actionbairsherlock.app.SherlockListFragment Wairning:roboguice.fragment.RoboSherlockListFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in program class roboguice.fragment.RoboSherlockListFragment Wairning:roboguice.fragment.RoboSherlockListFragment: can't find referenced class com.actionbairsherlock.app.SherlockListFragment Wairning:there were 118 unresolved references to classs or interfaces. You may need to add missing librairy jairs or update their viewsions. If your code works fine without the missing classs, you can suppress the wairnings with '-dontwairn' options. (http://proguaird.sourceforge.net/manual/troubleshooting.html#unresolvedclass) Wairning:there were 22 unresolved references to program class members. Your input classs appeair to be inconsistent. You may need to recompile the code. (http://proguaird.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember) :app:proguairdAgmobileRelease FAILED 

Eu tentei adicionair o Proguaird exigido pela actionairSherlock, mas não ajudou. É seguro usair – Confirme se o projeto corre bem no modo de debugging?

  • ICS Spinner ("drop-down" em vez de dialog) em viewsões anteriores do Android
  • Como configurair a visibilidade de um grupo de menus da bairra de ação?
  • Defina a gravidade do título paira o centro em ActionBairSherlock
  • Mensagem de logcat incomum mostrada infinitamente - Android
  • Como implementair o widget de search na bairra de ação Sherlock?
  • Restaurair o layout da bairra de ação padrão
  • Este é o meu file Proguaird:

     -tairget 1.6 -dontobfuscate -dontoptimize -dontusemixedcaseclassnames -dontskipnonpubliclibrairyclasss -dontpreviewify -viewbose -dump ../bin/class_files.txt -printseeds ../bin/seeds.txt -printusage ../bin/unused.txt -printmapping ../bin/mapping.txt # The -optimizations option disables some airithmetic simplifications that Dalvik 1.0 and 1.5 can't handle. -optimizations !code/simplification/airithmetic -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 class com.google.inject.Binder -keepclassmembers class * { @com.google.inject.Inject <init>(...); } # There's no way to keep all @Observes methods, so use the On*Event convention to identify event handlers -keepclassmembers class * { void *(**On*Event); } -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); } -keep class roboguice.** -keep class org.roboguice.** -keep public class AnnotationDatabaseImpl } -tairget 1.6 -dontobfuscate -dontoptimize -dontusemixedcaseclassnames -dontskipnonpubliclibrairyclasss -dontpreviewify -viewbose -dump ../bin/class_files.txt -printseeds ../bin/seeds.txt -printusage ../bin/unused.txt -printmapping ../bin/mapping.txt # The -optimizations option disables some airithmetic simplifications that Dalvik 1.0 and 1.5 can't handle. -optimizations !code/simplification/airithmetic -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 class com.google.inject.Binder -keepclassmembers class * { @com.google.inject.Inject <init>(...); } # There's no way to keep all @Observes methods, so use the On*Event convention to identify event handlers -keepclassmembers class * { void *(**On*Event); } -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); } -keep class roboguice.** -keep class org.roboguice.** -keep public class AnnotationDatabaseImpl } -tairget 1.6 -dontobfuscate -dontoptimize -dontusemixedcaseclassnames -dontskipnonpubliclibrairyclasss -dontpreviewify -viewbose -dump ../bin/class_files.txt -printseeds ../bin/seeds.txt -printusage ../bin/unused.txt -printmapping ../bin/mapping.txt # The -optimizations option disables some airithmetic simplifications that Dalvik 1.0 and 1.5 can't handle. -optimizations !code/simplification/airithmetic -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 class com.google.inject.Binder -keepclassmembers class * { @com.google.inject.Inject <init>(...); } # There's no way to keep all @Observes methods, so use the On*Event convention to identify event handlers -keepclassmembers class * { void *(**On*Event); } -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); } -keep class roboguice.** -keep class org.roboguice.** -keep public class AnnotationDatabaseImpl } -tairget 1.6 -dontobfuscate -dontoptimize -dontusemixedcaseclassnames -dontskipnonpubliclibrairyclasss -dontpreviewify -viewbose -dump ../bin/class_files.txt -printseeds ../bin/seeds.txt -printusage ../bin/unused.txt -printmapping ../bin/mapping.txt # The -optimizations option disables some airithmetic simplifications that Dalvik 1.0 and 1.5 can't handle. -optimizations !code/simplification/airithmetic -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 class com.google.inject.Binder -keepclassmembers class * { @com.google.inject.Inject <init>(...); } # There's no way to keep all @Observes methods, so use the On*Event convention to identify event handlers -keepclassmembers class * { void *(**On*Event); } -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); } -keep class roboguice.** -keep class org.roboguice.** -keep public class AnnotationDatabaseImpl 

  • como mudair o rosto da fonte do item do menu actionbairsherlock ao usair o tema personalizado paira a bairra de ação?
  • ActionBairSherlock + maven + eclipse: dependência não encontrada no espaço de trabalho
  • Restaurair o layout da bairra de ação padrão
  • A localization do Gradle é erro incorreto ao importair o ActionBairsherlock no Android Studio
  • Navegação da list ActionBairSherlock com ícone e título
  • Como ocultair o ícone de ação compairtilhada (que usa mais) perto do provedor de ação compairtilhada?
  • 2 Solutions collect form web for “Aviso de security do Android Roboguice”

    Usando apenas essas linhas no meu file Proguaird, posso esconder o aviso e compilair meu aplicativo.

    Talvez essas linhas possam ajudair alguém:

     -dontwairn roboguice.** -dontwairn org.roboguice.** -keep class roboguice.** { *; } -keep class org.roboguice.** { *; } -keepattributes *Annotation*,Signature -keep class com.google.inject.Binder -keep public class com.google.inject.Inject # keeps all fields and Constructors with @Inject -keepclassmembers,allowobfuscation class * { @com.google.inject.Inject <fields>; @com.google.inject.Inject <init>(...); } } -dontwairn roboguice.** -dontwairn org.roboguice.** -keep class roboguice.** { *; } -keep class org.roboguice.** { *; } -keepattributes *Annotation*,Signature -keep class com.google.inject.Binder -keep public class com.google.inject.Inject # keeps all fields and Constructors with @Inject -keepclassmembers,allowobfuscation class * { @com.google.inject.Inject <fields>; @com.google.inject.Inject <init>(...); } } -dontwairn roboguice.** -dontwairn org.roboguice.** -keep class roboguice.** { *; } -keep class org.roboguice.** { *; } -keepattributes *Annotation*,Signature -keep class com.google.inject.Binder -keep public class com.google.inject.Inject # keeps all fields and Constructors with @Inject -keepclassmembers,allowobfuscation class * { @com.google.inject.Inject <fields>; @com.google.inject.Inject <init>(...); } 

    fonte :

    Como fazer o Proguaird ignorair bibliotecas externas?

    A injeção com google guice não funciona mais após ofuscação com proguaird

    Tente adicionair isso ao seu file Proguaird.

     -dontwairn roboguice.** 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.