gpt4 book ai didi

android - Proguard 返回错误代码 1,错误找不到引用的类 android.support.v4.app

转载 作者:行者123 更新时间:2023-11-29 15:39:31 25 4
gpt4 key购买 nike

我在创建我的应用程序的签名 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 *;
}

最佳答案

这就是我在 proguard 中为 android 支持所做的

#########--------Android Support--------#########
-keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; }
-dontwarn android.support.**

ProGuard Troubleshooting page 的链接所示在您的控制台日志中,您应该将 project.properties 中的目标更改为包含缺失类的目标。在这种情况下:“android-18”或“Google Inc.:Google APIs:18”。

您仍然可以在 AndroidManifest.xml 中指定不同的 minSdkVersion。

您不应指定任何 -libraryjars 选项,因为 Android 构建过程已经为您指定了这些选项——您现在只会看到有关重复类的警告。事实上,Android 构建过程还为您指定了大多数其他选项。

来源:here

关于android - Proguard 返回错误代码 1,错误找不到引用的类 android.support.v4.app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43378469/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com