Unity Android build crashes on start due Proguard - firebase

A development build works fine, but when I try a release build, it crashes immediately on start due to the Proguard.
I installed Crashlytics to try getting any error but it does not show any error (crashlytics works).
Might be important to add:
Just added Firebase and Facebook SDK.
How should the proguard.txt file look like?
Thank you in advance.

Related

Flutter release app crashes after first screen

I am working on an app that uses firebase sign. The application is working perfectly on debug mode but when I release it, the application crashes just after the user as successfully login. Since the application is in release mode, there is no way to monitor the logs so as to tell where the error is coming from.
I was using flutter 2.8 from the stable channel but after reading some of the things said on this post, I decided to upgrade to the latest version of the stable channel but still, nothing works. I will appreciate help.
I have clean and pub get
I have use the "--no-shrink" command
I finally fixed it. I added no shrink command to my build.gradle

how to solve to build ionic 3 with firebase issue

ran build without fail yesterday but suddenly firebase issue has occurred. what should i set for this issue?
i tried the following
cordova.system.library.4=com.google.firebase:firebase-core:16.0.9
cordova.system.library.5=com.google.firebase:firebase-messaging:18.0.0
cordova.system.library.6=com.google.firebase:firebase-config:17.0.0
cordova.system.library.7=com.google.firebase:firebase-perf:17.0.2
link:
https://firebase.google.com/support/release-notes/android#update_-_may_31_2019
but that shows that
What went wrong:
The library com.google.firebase:firebase-iid is being requested by various other libraries at [[18.0.0,18.0.0]], but resolves to 19.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
so i changed messaging version that
cordova.system.library.5=com.google.firebase:firebase-messaging:19.0.0
but also shows error
What went wrong:
Execution failed for task ':app:processDebugResources'.
Failed to execute aapt
ionic cordova build android
ionic cordova run android
I did what firebase shows me to do, but it hasn't been resolved.
thanks
Take a look at this thread: https://github.com/arnesson/cordova-plugin-firebase/issues/1081
In particular #dpa99c's comment
https://github.com/arnesson/cordova-plugin-firebase/issues/1081#issuecomment-503135862
I was having the same problem since the Firebase support update (June 17, 2019) but running through those steps in #dpa99c's comment worked for me.
In addition to this, if you are building for iOS as well then you may need to update to the latest version and install pod inside your iOS platform folder if you haven't done so already.

How To Solve Gradle Build Failed Error -Unity

I am using Firebase Auth. I am working in unity 2018. I have dowloaded Quickstart-unity-Master. In that I am working Auth Section. I have download the latest googlservices.json file also, but when I try to build the Firebase auth in android, it shows the error
Gradle build Error.
Error Image
I have searched in Forum it Says Java greater 8 is not supported. I am using jdk1.8.0_171.
I have donwloaded varrious unity packages 2017 Versions.
I Installed 10 Different versions. In that one versions First time it builds and apk produced. But second time I build it shows the error. Gradle Build failed.
How can I solve the gradle Error.
Thanks and Regads
This error might not be related to Firebase at all. I have multiple projects where Gradle fails for some reason. Just try what happens when you switch the build system from Gradle to Internal. This works for my projects.

React-native-firebase error after first build

I am developing a cross platform application for Android and iOS and have chosen to use react-native-firebase. I have cloned the project from react-native-firebase free starter kit. When I build my application the first time using "npm run android" it works fine but the second time I get the error:
Execution failed for task ':app:processDebugGoogleServices'.
Failed to delete: C:\\android\app\build\generated\res\google-services\debug
To run the application again in the Android Studio emulator I have to manually delete the build folder and run "npm run android" again so it can create a new one. Why is this happening and how can I solve it?
I have the same problem.
Though, as a workaround, I don't clean the build folder : I start again the build (react-native run-android) and it goes live.
I may have to start several times.
So that means that the problem is about synchronization in the build process.
I've tried to set in my gradle.properties :
org.gradle.parallel=false
org.gradle.workers.max=1
Till now it works fine!

error when meteor run iOS

i also meet this problem when meteor run iOS,the error like this,can you give me some advice?
the error is in the attached picture.
You could try first to delete the .meteor/local/cordova-build/ folder.
Meteor will re-build it entirely when you launch the meteor run ios command.
This troubleshooting step resolves such issues most of the time.

Resources