0

Hi I am working with unity.

I am trying to build my application in android

I am getting this error when building. Normally I can play the game in unity. I am building for android. I have a Keystore. I created a key.

    java.lang.RuntimeException: Duplicate class 
        com.facebook.android.BuildConfig found in modules
        jetified-facebook- android-
        wrapper-7.17.2-runtime.jar (:facebook-android-wrapper-7.17.2:)
        and jetified- facebook-android-wrapper-8.0.0-runtime.jar (:facebook- 
        android-wrapper-8.0.0:)
    
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

I looked at these links

https://github.com/facebook/facebook-sdk-for-unity/issues/386 Duplicates class found in modules https://forum.unity.com/threads/androidx-corecomponentfactory-problem-on-2019-3.777584/#post-5193863

But it does not solve my problem. I am getting still the same errors.

enter image description here

1 Answer 1

1

I found the solution:

It seems adding voodoo packes in unity and facebook is conflicting. If you have voodoo packages you do not need to add facebook sdks again.

Not the answer you're looking for? Browse other questions tagged or ask your own question.