Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase's libApp.so was not found for this device's architecture #454

Closed
wg-mblazin opened this issue Aug 27, 2019 · 2 comments
Closed

Comments

@wg-mblazin
Copy link

Please fill in the following fields:

Unity editor version: 2018.3.8f1
Firebase Unity SDK version: 4.2.1
Firebase plugins in use (Auth, Database, etc.): Analytics
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook, AppsFlyer, Fabric Crashlytics
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac, Windows
Platform you are targeting (iOS, Android, and/or desktop): Android, iOS

Please describe the issue here:

  • Create a new Unity project and add the Firebase Analytics Unity SDK version 4.2.1
  • Set the Scripting Backend to IL2CPP and set the target architecture for Android to arm64
  • Start the app on a mobile device and see the following error in adb logcat:

08-27 11:06:51.448 24126 24157 E Unity : InitializationException: Firebase's libApp.so was not found for this device's architecture
08-27 11:06:51.448 24126 24157 E Unity : in your APK.

It looks like the libapp.so file is not available for arm64 for Unity version 4.2.1, is there a backport available for this version of the Unity?

Please answer the following, if applicable:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
No

@wg-mblazin wg-mblazin added the new New issue. label Aug 27, 2019
@alexames
Copy link

It might be that we didn't support arm64 in version 4.2.1, is there a reason you're using that version of the library? The best thing to do would be to update to the newest release (which I believe is 6.4.0 currently). That should resolve your issue.

@alexames alexames added type: question and removed new New issue. labels Aug 28, 2019
@stewartmiles
Copy link
Contributor

@alexames we added arm64 builds when Unity added support in 5.2.0. https://firebase.google.com/support/release-notes/unity#version_520_-_july_23_2018 we patched the Play Services Resolver in later release to deal with Unity's ABI / platform selection APIs changing.

@wg-mblazin the short story is that I agree with @alexames you should really try to upgrade, we've changed a lot over almost 2 years while trying to make minimal breaking API changes.

@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants