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
-
$ Scons commad fire
-
$ scons platform=android target=release_debug android_arch=armv7
[100%] scons: done building targets.
-
cd platform/android/java
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.