2017-11-28 11 views
0

私の電話トラフアンドロイドスタジオでアプリケーションをビルドすると正しく動作しますが、Googleプレイストアのアップロード後に何か問題が発生し、起動しません。 一度アプリケーションを開くとエラーが発生しますが、残念ながらアプリは動作を停止しました!私は本当に混乱している!なにか提案を?アプリケーションがプレイストアに送信された後に機能しない

エラーログ:

java.lang.RuntimeException: Unable to instantiate receiver com.google.android.gms.measurement.AppMeasurementInstallRefe‌​rrerReceiver: 
java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.measurement.AppMeasurementInstallRef‌​errerReceiver" on path: DexPathList[[zip file "/data/app/com.rando.tunisie.navigationbarforallactivitites-‌​1/base.apk"],nativeL‌​ibraryDirectories=[/‌​vendor/lib, /system/lib] 
+1

Google Playデベロッパーコンソールからのクラッシュログは何ですか? –

+0

'java.lang.RuntimeException:受信者のインスタンスを生成できませんcom.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver:java.lang.ClassNotFoundException:「com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver」クラスがパスに見つかりませんでした:DexPathList [[zipファイル "/data/app/com.rando.tunisie.navigationbarforallactivitites-1/base.apk"],nativeLibraryDirectories=[/vendor/lib、/ system/lib]] ' –

+0

詳細を記入してください。特にManifest、Gradle Filesの場合、可能であればLicense Lib、MainActivityを使用するかどうかは関係ありませんか? –

答えて

0

これは、使用をProGuardのために関連しています。

難読化android.gmsを除外するためにProguard.cfgファイルを変更してみてください。*

-dontwarn com.google.android.gms.** 
-keep class com.google.android.gms.** { *; } 
-keep class com.google.firebase.** { *; } 

これは動作するはずです。

+0

これは私の友人です! –

+0

あなたのために更新されました。それが動作する場合は、メモを残してください。他の人が知るように。 –

関連する問題