I filled the appID in the FacebookAppId.uxl file (i did no more changes), but when i’m compiling for android using -DGRADLE (just the way it says in the example), i get this error, am i missing something or it’s a bug?:
I’m using fuse 0.27.1 and win 8.1.
Compiling syntax tree (2.2s)
Generating code and data (10.2s)
Building Android app
2/2: FacebookLoginExample.apk
C:\wit-labs\Proyectos\NativeFacebookLogin\build\Android\Debug\FacebookLoginExample\app\src\main\jni\Uno.Compiler.ExportTargetInterop.Foreign.Android.g.cpp: In static member function 'static void g::Uno::Compiler::ExportTargetost::RegisterFunctions()':
C:\wit-labs\Proyectos\NativeFacebookLogin\build\Android\Debug\FacebookLoginExample\app\src\main\jni\Uno.Compiler.ExportTargetInterop.Foreign.Android.g.cpp:1103:123: error: address of overloaded function with no contextual typ
{(char* const)"callUno_Action_Object", (char* const)"(Lcom/foreign/Uno/Action_Object;Ljava/lang/Object;J)V", (void *)&callUno_Action_Object},
^
C:\wit-labs\Proyectos\NativeFacebookLogin\build\Android\Debug\FacebookLoginExample\app\src\main\jni\Uno.Compiler.ExportTargetInterop.Foreign.Android.g.cpp:1126:122: error: address of overloaded function with no contextual typ
{(char* const)"callUno_Action_Object", (char* const)"(Lcom/foreign/Uno/Action_Object;Ljava/lang/Object;)V", (void *)&callUno_Action_Object},
^
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileMainActivityArmeabi-v7aDebugSharedLibraryMainActivityMainCpp'.
> A build operation failed.
C++ compiler failed while compiling Uno.Compiler.ExportTargetInterop.Foreign.Android.g.cpp.
See the complete log at: file:///C:/wit-labs/Proyectos/NativeFacebookLogin/build/Android/Debug/FacebookLoginExample/app/build/tmp/compileMainActivityArmeabi-v7aDebugSharedLibraryMainActivityMainCpp/output.txt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Incremental java compilation is an incubating feature.
:app:copyArmeabi-v7aDebugSharedLibraryStlSo
:app:compileMainActivityArmeabi-v7aDebugSharedLibraryMainActivityMainCpp FAILED
BUILD FAILED
You have found a bug! Luckily it’s one I’ve already fixed otherwise, in our effort to appear bug free, we would have to delete your account, you, and all evidence of this problem
The issue was that, internally, I had a mistake in how I was mapping the Uno types to Java types. The fix for this is in the next release so please hang tight and we will get it out asap.