Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Plugins Support › Problems with chartboost plugin

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #7853

    Mathias

    Hey Felgo,

    I am trying to use Chartboost pluging for my game (Felgo 2, Qt 5.3) but I run into several problems while following your online documentation. I decided to try your example program, but it turned out to have the same issues.

    First problem I run into was this:

    Cannot assign to non-existent property “onInterstitialFailedToLoad”

    I solved this issue by replacing onInterstitialFailedToLoad by onFailedToLoadInterstitial (according to doc pages). Since it does not match your example project I think I might be running a different version. I am however using the latest updates from the maintenance tool.

    The second problem I run into is this:

    Cannot assign to non-existent property “licenseKey”

    It seems that licenceKey property does not exist in the version I am running.

    What is the problem here?

    – Mathias

     

    • This topic was modified 10 years, 3 months ago by  maitek.
    • This topic was modified 9 years, 4 months ago by  Alex.
    #7856

    Alex
    Felgo Team

    Hi Mathias,

    you probably did not install the new plugin from the repository for your build target like described here?

    Qt Creator then uses the dummy implementation which is shipped with Felgo 2.0, and this implementation unfortunately has some errors as you describe. This will be fixed with the next update.

    Best,

    Alex

    #7857

    Mathias

    I followed these instructions. Added https://sdk.felgo.com/plugins/linux to the Qt Maintenance tool repositories, and installed Chartboost from the Package manager as described in the instructions. Is there a way to validate which version I’m running?

    • This reply was modified 10 years, 3 months ago by  maitek.
    #7859

    Alex
    Felgo Team

    That sounds good, what is your currently active build target?

    #7860

    Mathias

    I’m currently testing on desktop, but I’m trying to get it to run on Android.

    When I try to build on android device I get the following error:

    AndroidRuntime(28601): java.lang.RuntimeException: Unable to instantiate application net.vplay.helper.VPlayApplication: java.lang.ClassNotFoundException: net.vplay.helper.VPlayApplication

    • This reply was modified 10 years, 3 months ago by  maitek.
    #7902

    Mathias

    Any ideas what might be wrong?

    #7903

    Alex
    Felgo Team

    Sorry for the late reply, we totally overlooked that one!

    For Android and Felgo 2.0 plugin, could you please check if the following files are included in your build folder under “android-build/libs”:

    • VPlayBasePlugin
    • FacebookPlugin

    If not, could you check if they are available in your Qt installation under “5.3/arndoird_xyz/jar/”?

    Thanks,

    Alex

    #8150

    Mathias

    Hi again.
    I managed to get Chartboost to work on iOS but I am still having troubles on android. To answer your question, VPlayBasePlugin and FacebookPlugin do not exist in my android-builds/libs folder. On my system VPlayBasePlugin exists in Qt/5.3/android_xyz/jar/ but FacebookPlugin does not.

     

    This is my android manifest:

     <application android:hardwareAccelerated="true" android:name="net.vplay.helper.VPlayApplication" android:label="Maya">
            <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="net.vplay.helper.VPlayActivity" android:label="Maya" android:screenOrientation="portrait" android:launchMode="singleTop" android:theme="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen">
         

    In the documentation it says:

    <tt>Change <application></tt>’s <tt>package</tt> parameter from <tt>”org.qtproject.qt5.android.bindings.QtApplication”</tt> to <tt>”net.vplay.helper.VPlayApplication”</tt>

    However according to this source application does not have a package parameter. Do you mean <application> android:name?

    I followed every step of the documentat but i cant figure out what is wrong. Please help.

    – Mathias

     

     

    • This reply was modified 10 years ago by  maitek.
    • This reply was modified 10 years ago by  maitek.
    • This reply was modified 10 years ago by  maitek. Reason: net.vplay.helper.VPlayApplication: java.lang.ClassNotFoundException
    #8157

    Alex
    Felgo Team

    Hi,

    regarding the “<application>’s package” that’s indeed a mistake in our documentation, it’s already fixed, thanks!

    Regarding the problem with Facebook plugin, you’re writing “On my system VPlayBasePlugin exists in Qt/5.3/android_xyz/jar/ but FacebookPlugin does not”, could you please open the SDKMaintenance Tool and check if the plugin is selected in the package manager?

    Thanks,

    Alex

    #8163

    Mathias

    Your right, the facebook plugin was not installed. I didn’t know it is a requirement for using the Chartboost plugin? Is it?

    #8164

    Alex
    Felgo Team

    Oh, I was thinking you’re already trying to integrate Facebook to your game and didn’t get the point that you’re still having problems with Chartboost. No, the Facebook Plugin should not be a requirement for Chartboost, we will check the dependencies on our side and let you know as soon as we found the problem!

    Thanks,

    Alex

    #8344

    Mathias

    Hi Alex,

    I have finally found out what the problem was causing this problem when trying to run chartboost plugin on android:

    AndroidRuntime(28601): java.lang.RuntimeException: Unable to instantiate application net.vplay.helper.VPlayApplication: java.lang.ClassNotFoundException: net.vplay.helper.VPlayApplication

    I had the following missing from my .pro file:

    android {
        LIBS+=-lChartboostPlugin
    }

    Disappointing is that I spend a lot of time finding this, reading up and down in the plugin documentation here and here, making sure I followed every step correctly ,and then finding out that it was completely missing from the documentation.

    Best regards,
    Mathias

     

     

    • This reply was modified 9 years, 11 months ago by  maitek.
Viewing 12 posts - 1 through 12 (of 12 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded