I’ve got strange output on Android when I try to use the Facebook plugin. I followed the guidelines and looked them over not only once. I downloaded the latest SDK; I don’t know if that maybe can cause issues. Here is just the beginning of the Debug output:
I/dalvikvm(20219): Failed resolving Lnet/vplay/plugins/facebook/FacebookItem$1; interface 603 'Lcom/facebook/Session$StatusCallback;'
W/dalvikvm(20219): Link of class 'Lnet/vplay/plugins/facebook/FacebookItem$1;' failed
E/dalvikvm(20219): Could not find class 'net.vplay.plugins.facebook.FacebookItem$1', referenced from method net.vplay.plugins.facebook.FacebookItem.<init>
W/dalvikvm(20219): VFY: unable to resolve new-instance 796 (Lnet/vplay/plugins/facebook/FacebookItem$1;) in Lnet/vplay/plugins/facebook/FacebookItem;
D/dalvikvm(20219): VFY: replacing opcode 0x22 at 0x0003
W/dalvikvm(20219): VFY: unable to find class referenced in signature (Lcom/facebook/model/GraphUser;)
Hey, I shifted the Facebook Item from a scene to being a child of the GameWindow and in the project.properties I changed android.library.reference.1 to android.library.reference.2 (I’m not too familiar with android, but as I’ve got Chartboost included as well, I thought that might be a good idea.) I also implemented the facebook sdk stuff from the example now. Afterwards the issue has changed to:
D/Qt (26793): qrc:///qml/VPlay/gamenetwork/gnView/ProfileView.qml:187 (onStateChanged): qml: VPGN: ProfileView: changed fbConnectioState to facebookNotConnected
W/System.err(26793): at com.chartboost.sdk.impl.be.d(SourceFile:392)
W/System.err(26793): at com.chartboost.sdk.Chartboost.setShouldPrefetchVideoContent(SourceFile:767)
W/System.err(26793): at net.vplay.plugins.chartboost.ChartboostItem.setShouldPrefetchVideoContent(ChartboostItem.java:126)
W/System.err(26793): at dalvik.system.NativeStart.run(Native Method)
D/dalvikvm(26793): GC_CONCURRENT freed 1559K, 20% free 6934K/8583K, paused 2ms+2ms
W/Qt (26793): vppluginitem.cpp:75 (virtual void VPPluginItem::componentComplete()): ERROR: Invalid license key set for plugin: "VPlay.plugins.facebook" "1.0"
I definitely did put in the license key I received, but let me order a new one and see if that solves the problem.
This reply was modified 8 years, 6 months ago by drosophila.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: