-
Notifications
You must be signed in to change notification settings - Fork 257
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
Why app crash after building to Android? #393
Comments
I also added But i still got the same error as above. |
I also did (from this Stackoverflow question) : run "/Assets/Play Service Resolver/Android Resolver/Delete Resolved Libraries" run "/Assets/Play Service Resolver/Android Resolver/Resolve" Still got the error |
Okay, so what i did was delete the PlayServicesResolver in Assets. Then I imported play-services-resolver-1.2.135.0.unitypackage which can be downloaded here : https://github.com/googlesamples/unity-jar-resolver then Assets > Play Services Proivider > Android Resolver > Resolve |
I tried all the steps u mentioned but still m getting the same error with app crash on start .
|
hi. what version are you using? Try delete the fbsdk in Assets and import the latest version 7.19.1 or the same version you are using and start from the beginning. For me the Play Service Resolver was what helped. |
I had this same issue with 7.21.1 and can confirm that replacing the PlayServiceResolver with the one here: https://github.com/googlesamples/unity-jar-resolver as suggested by aidanikuz02 solved it for me. It seems that the resolver provided with the sdk fails to function properly and doesn't really seem to do anything but still reports a success. |
Still having this same problem with version 8.1.1. Workaround suggested by aidanikuz02 still seems to solve the issue but I'm wondering if there's an actual fix in progress? |
Schabbs solution worked like a charm for me. Thanks to Schabbs. |
Hello. I am using Unity 2019.3.0f3, Windows10, version 7.18.0.
I created a project that successfully built and run. Then i exported it as a package and imported it into another project that uses EasyAR camera function. I created a new app in the console so i got a new ID and entered the package name as per the new project. Updated the app id in unity facebook settings like attached images 3 and 4. but when building to my Samsung s10 it crashes with errors : Didnt get provider and didnt find class com.facebook.FacebookContentProvider like attached images 1 and 2. The AndroidManifest is as image 5. the generated hash key for android i did like this from the previous project, so its still the same. Please help.
The text was updated successfully, but these errors were encountered: