Forums

OverviewV-Play Plugins Support › Problems with chartboost plugin

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

    Mathias

    Hey V-Play,

    I am trying to use Chartboost pluging for my game (V-Play 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 4 years ago.
    • This topic was modified 3 years, 1 month ago.
    #7856

    Alex
    V-Play 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 V-Play 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.v-play.net/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 4 years ago by  maitek.
    #7859

    Alex
    V-Play 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 4 years ago by  maitek.
    #7902

    Mathias

    Any ideas what might be wrong?

    #7903

    Alex
    V-Play Team

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

    For Android and V-Play 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 3 years, 10 months ago by  maitek.
    • This reply was modified 3 years, 10 months ago by  maitek.
    • This reply was modified 3 years, 10 months ago by  maitek. Reason: net.vplay.helper.VPlayApplication: java.lang.ClassNotFoundException
    #8157

    Alex
    V-Play 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
    V-Play 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 3 years, 8 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support