我在创建我的应用程序的签名apk时收到此异常。
[2017-04-13 02:47:21 - MyApp] Proguard returned with error code 1. See console
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find superclass or interface android.support.v4.app.DialogFragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find superclass or interface android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find superclass or interface android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find superclass or interface android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find superclass or interface android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced class android.support.v4.app.DialogFragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced class android.support.v4.app.DialogFragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced class android.support.v4.app.DialogFragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced method 'void setShowsDialog(boolean)' in class com.google.android.gms.common.SupportErrorDialogFragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.SupportErrorDialogFragment: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.GoogleApiClient$Builder: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.common.api.d: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.google.android.gms.common.api.d
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.dynamic.h: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.gz: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.gz: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.gz: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.gz: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.he: can't find referenced class android.support.v4.app.ShareCompat
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.internal.he: can't find referenced class android.support.v4.app.ShareCompat$IntentBuilder
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$b: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportMapFragment$b: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$a: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$b: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.maps.SupportStreetViewPanoramaFragment$b: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentActivity
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentManager
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.FragmentTransaction
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment$c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment$c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] Warning: com.google.android.gms.wallet.fragment.SupportWalletFragment$c: can't find referenced class android.support.v4.app.Fragment
[2017-04-13 02:47:21 - MyApp] You should check if you need to specify additional program jars.
[2017-04-13 02:47:21 - MyApp] Warning: there were 150 unresolved references to classes or interfaces.
[2017-04-13 02:47:21 - MyApp] You may need to specify additional library jars (using '-libraryjars').
[2017-04-13 02:47:21 - MyApp] Warning: there were 2 unresolved references to program class members.
[2017-04-13 02:47:21 - MyApp] Your input classes appear to be inconsistent.
[2017-04-13 02:47:21 - MyApp] You may need to recompile them and try again.
[2017-04-13 02:47:21 - MyApp] Alternatively, you may have to specify the option
[2017-04-13 02:47:21 - MyApp] '-dontskipnonpubliclibraryclassmembers'.
[2017-04-13 02:47:21 - MyApp] java.io.IOException: Please correct the above warnings first.
[2017-04-13 02:47:21 - MyApp] at proguard.Initializer.execute(Initializer.java:321)
[2017-04-13 02:47:21 - MyApp] at proguard.ProGuard.initialize(ProGuard.java:211)
[2017-04-13 02:47:21 - MyApp] at proguard.ProGuard.execute(ProGuard.java:86)
[2017-04-13 02:47:21 - MyApp] at proguard.ProGuard.main(ProGuard.java:492)
警告说如果可选,您可能必须指定选项-dontskipnonpubliclibraryclassmembers
这是我的proguard.cfg
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!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.BroadcastReceiver
-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
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers 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.Parcelable {
public static final android.os.Parcelable$Creator *;
}
答案 0 :(得分:2)
这是我在我的proguard for android support中做的事情
#########--------Android Support--------#########
-keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; }
-dontwarn android.support.**
如控制台日志中ProGuard Troubleshooting page的链接所示,您应该将project.properties中的目标更改为包含缺少的类的目标。在这种情况下:&#34; android-18&#34;或者可能&#34;谷歌公司:谷歌API:18&#34;。
您仍然可以在AndroidManifest.xml中指定不同的minSdkVersion。
您不应该指定任何-libraryjars选项,因为Android构建过程已经为您指定了这些选项 - 您现在只会看到有关重复类的警告。实际上,Android构建过程也为您指定了大多数其他选项。
来源:here
答案 1 :(得分:1)
尝试将此行添加到您的proguard文件中:
-dontwarn android.support.v4.**