Xamarin.android not loading from Production in Play Store












1















I have an app written in Xamarin.android that is having issues when uploading to the production channel in Play Store.



From time to time, when the application is uploaded to production it just breaks.



The last version we uploaded a new version, we uploaded it to the Beta channel in the Play Store Console, it worked without any problems, and when we sent it to the production channel, the app stopped working. It didn't even load, it crashed in the splash.



What we did to solve the problem, was to clean the package, delete the Bin and Obj folders in the project, recompile again and publish directly to the production channel rather than putting it in the beta channel.



This is a really big problem since it brings stability problems to our app and we cannot determine the problem



-Edit-



java.lang.NoClassDefFoundError: 
at com.google.android.gms.common.internal.zzbz.<init> (Unknown Source)
at com.google.firebase.FirebaseOptions.fromResource (Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp (Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate (Unknown Source)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1748)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1723)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo (Unknown Source)
at android.app.ActivityThread.installProvider (ActivityThread.java:5301)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:4896)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4836)
at android.app.ActivityThread.access$1600 (ActivityThread.java:163)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1423)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5585)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:620)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
at java.lang.ClassLoader.loadClass (ClassLoader.java:469)









share|improve this question

























  • what is the crash log?

    – York Shen - MSFT
    Nov 27 '18 at 6:51
















1















I have an app written in Xamarin.android that is having issues when uploading to the production channel in Play Store.



From time to time, when the application is uploaded to production it just breaks.



The last version we uploaded a new version, we uploaded it to the Beta channel in the Play Store Console, it worked without any problems, and when we sent it to the production channel, the app stopped working. It didn't even load, it crashed in the splash.



What we did to solve the problem, was to clean the package, delete the Bin and Obj folders in the project, recompile again and publish directly to the production channel rather than putting it in the beta channel.



This is a really big problem since it brings stability problems to our app and we cannot determine the problem



-Edit-



java.lang.NoClassDefFoundError: 
at com.google.android.gms.common.internal.zzbz.<init> (Unknown Source)
at com.google.firebase.FirebaseOptions.fromResource (Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp (Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate (Unknown Source)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1748)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1723)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo (Unknown Source)
at android.app.ActivityThread.installProvider (ActivityThread.java:5301)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:4896)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4836)
at android.app.ActivityThread.access$1600 (ActivityThread.java:163)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1423)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5585)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:620)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
at java.lang.ClassLoader.loadClass (ClassLoader.java:469)









share|improve this question

























  • what is the crash log?

    – York Shen - MSFT
    Nov 27 '18 at 6:51














1












1








1








I have an app written in Xamarin.android that is having issues when uploading to the production channel in Play Store.



From time to time, when the application is uploaded to production it just breaks.



The last version we uploaded a new version, we uploaded it to the Beta channel in the Play Store Console, it worked without any problems, and when we sent it to the production channel, the app stopped working. It didn't even load, it crashed in the splash.



What we did to solve the problem, was to clean the package, delete the Bin and Obj folders in the project, recompile again and publish directly to the production channel rather than putting it in the beta channel.



This is a really big problem since it brings stability problems to our app and we cannot determine the problem



-Edit-



java.lang.NoClassDefFoundError: 
at com.google.android.gms.common.internal.zzbz.<init> (Unknown Source)
at com.google.firebase.FirebaseOptions.fromResource (Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp (Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate (Unknown Source)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1748)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1723)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo (Unknown Source)
at android.app.ActivityThread.installProvider (ActivityThread.java:5301)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:4896)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4836)
at android.app.ActivityThread.access$1600 (ActivityThread.java:163)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1423)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5585)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:620)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
at java.lang.ClassLoader.loadClass (ClassLoader.java:469)









share|improve this question
















I have an app written in Xamarin.android that is having issues when uploading to the production channel in Play Store.



From time to time, when the application is uploaded to production it just breaks.



The last version we uploaded a new version, we uploaded it to the Beta channel in the Play Store Console, it worked without any problems, and when we sent it to the production channel, the app stopped working. It didn't even load, it crashed in the splash.



What we did to solve the problem, was to clean the package, delete the Bin and Obj folders in the project, recompile again and publish directly to the production channel rather than putting it in the beta channel.



This is a really big problem since it brings stability problems to our app and we cannot determine the problem



-Edit-



java.lang.NoClassDefFoundError: 
at com.google.android.gms.common.internal.zzbz.<init> (Unknown Source)
at com.google.firebase.FirebaseOptions.fromResource (Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp (Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate (Unknown Source)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1748)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1723)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo (Unknown Source)
at android.app.ActivityThread.installProvider (ActivityThread.java:5301)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:4896)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4836)
at android.app.ActivityThread.access$1600 (ActivityThread.java:163)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1423)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5585)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:620)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
at java.lang.ClassLoader.loadClass (ClassLoader.java:469)






android xamarin.android google-play






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 '18 at 15:11







Gino

















asked Nov 26 '18 at 15:52









GinoGino

135




135













  • what is the crash log?

    – York Shen - MSFT
    Nov 27 '18 at 6:51



















  • what is the crash log?

    – York Shen - MSFT
    Nov 27 '18 at 6:51

















what is the crash log?

– York Shen - MSFT
Nov 27 '18 at 6:51





what is the crash log?

– York Shen - MSFT
Nov 27 '18 at 6:51












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53484748%2fxamarin-android-not-loading-from-production-in-play-store%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53484748%2fxamarin-android-not-loading-from-production-in-play-store%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)