개발/안드로이드2014. 9. 23. 20:44



Warning: com.google.android.gms.analytics.GoogleAnalytics$b: can't find superclass or interface android.app.Application$ActivityLifecycleCallbacks 

Warning: com.google.android.gms.common.images.ImageManager$e: can't find superclass or interface android.content.ComponentCallbacks2 

Warning: com.google.android.gms.analytics.GoogleAnalytics: can't find referenced class android.app.Application$ActivityLifecycleCallbacks 

Warning: com.google.android.gms.analytics.GoogleAnalytics: can't find referenced method 'void registerActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks)' in class android.app.Application 

Warning: com.google.android.gms.analytics.GoogleAnalytics$b: can't find referenced class android.app.Application$ActivityLifecycleCallbacks 

Warning: com.google.android.gms.common.images.ImageManager: can't find referenced method 'void registerComponentCallbacks(android.content.ComponentCallbacks)' in class android.content.Context 

Warning: com.google.android.gms.common.images.ImageManager$e: can't find referenced class android.content.ComponentCallbacks2 

Warning: com.google.android.gms.dynamic.b: can't find referenced method 'android.app.Fragment getParentFragment()' in class android.app.Fragment 

Warning: com.google.android.gms.dynamic.b: can't find referenced method 'boolean getUserVisibleHint()' in class android.app.Fragment 

Warning: com.google.android.gms.dynamic.b: can't find referenced method 'void setMenuVisibility(boolean)' in class android.app.Fragment 

Warning: com.google.android.gms.dynamic.b: can't find referenced method 'void setUserVisibleHint(boolean)' in class android.app.Fragment 

Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View 

Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver 

Warning: com.google.android.gms.internal.ec: can't find referenced method 'boolean isActiveNetworkMetered()' in class android.net.ConnectivityManager 

Warning: com.google.android.gms.internal.u: can't find referenced method 'void registerComponentCallbacks(android.content.ComponentCallbacks)' in class android.content.Context 

Warning: com.google.android.gms.internal.u: can't find referenced method 'void unregisterComponentCallbacks(android.content.ComponentCallbacks)' in class android.content.Context 

      You should check if you need to specify additional program jars. 

Warning: there were 5 unresolved references to classes or interfaces. 

         You may need to specify additional library jars (using '-libraryjars'). 

Warning: there were 11 unresolved references to program class members. 

         Your input classes appear to be inconsistent. 

         You may need to recompile them and try again. 

         Alternatively, you may have to specify the option  

         '-dontskipnonpubliclibraryclassmembers'. 


위와 같은 오류가 발생하면,

프로젝트 내 proguard 설정 파일에 다음과 같이 추가하여 해결


-dontwarn com.google.android.gms.**


또는 안드로이드 타겟 버전을 19 이상으로 선택하여 해결





Posted by dnsdud