Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

New FaceBook sdk crashing when using multidex

Discussion in 'Scripting' started by unity_91BnGyqxSYUPdQ, Dec 3, 2018.

  1. unity_91BnGyqxSYUPdQ

    unity_91BnGyqxSYUPdQ

    Joined:
    Aug 7, 2018
    Posts:
    25
    Hello Guys,

    I am having a issue with the New Facebook sdk when trying to login in using multidex.

    Following is the error that I am getting the Android Studio logs.


    Facebook SDK Version : 7.14.0

    Thankyou,
    Raviraj.
     
  2. LvM2D

    LvM2D

    Joined:
    Aug 23, 2015
    Posts:
    5
    I have same problem with you. Have you resolved it. Thank!
     
  3. unity_91BnGyqxSYUPdQ

    unity_91BnGyqxSYUPdQ

    Joined:
    Aug 7, 2018
    Posts:
    25
    Hello LvM2D,

    No we have not been able to solve the same. my unity version is 2017.4.1f1.
     
    LvM2D likes this.
  4. unity_91BnGyqxSYUPdQ

    unity_91BnGyqxSYUPdQ

    Joined:
    Aug 7, 2018
    Posts:
    25
    Hello Bro,

    We have now solved the issue. To do the same after exporting the android project to "Android Studio" check in your "build.gradle" file if there are any duplicate "dependencies" listed in the given list, In our case we had the following "dependencies" listed as duplicates after removing the same it worked.

    Hope this helps you out.

    Thank you,
    Raviraj.
     
    LvM2D likes this.
  5. LvM2D

    LvM2D

    Joined:
    Aug 23, 2015
    Posts:
    5