Shin-NiL / shinnilfb

Simple "App invite on Facebook" module for Godot Game Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUILD FAILED: Compiling for android

ATOshailesh opened this issue · comments

I'm using godot 3.1 and i download latest 3.1 stable godot source code,
Then i follow the steps:

  • Copy GodotFacebook folder to godot/modules folder.

-In terminal

  1. $ Scons commad fire

  2. $ scons platform=android target=release_debug android_arch=armv7

     [100%] scons: done building targets.
    
  3. cd platform/android/java

  4. ./gradlew build [Get failed]
    Screen Shot 2019-05-14 at 10 54 45 AM

Can you help me with this? What i'm doing wrong?

Please update the module and try again.

I get another solution but i think it's not best solution,
I change this one,

~/platform/android/java/build.gradle
dependencies {
implementation "com.android.support:support-core-utils:27.0.2" // change 28.0.0 to 27.0.2
implementation 'com.facebook.android:facebook-android-sdk:4.33.+'
}

get success fully build.
Give me another best solution, because i change version every when recompiling code.

Well, I can't find a proper fix to this. The Facebook SDK depends on support 27.0.2 and Godot forces 28.0.0. I've updated the README file giving instructions for removing this dependency manually.