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


OverviewFelgo Plugins Support › Felgo plugins – hit or miss for me, more miss …

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #13595


    I am trying to integrate, for testing purposes, some of the plugins.
    Unfortunately, can’t make them working.


    0. All of my tests are mode on Android dev build, using Samsung S3/S6.
    1. Felgo Indie license

    2. Grade configuration:

    dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'net.vplay.plugins:plugin-hockeyapp:2.+'
    compile 'net.vplay.plugins:plugin-flurry:2.+'

    3. License key generated with “all plugins” option.

    4. Newest, up to date V-play libs

    5. Main.qml entry import Felgo 3.0

    6. Issues wit Google Analytics, Flurry, Hockey App(didn’t test the rest, unfortunately expect issues anyway)- all accounts created for my user

    7. With analytic plugins I use some log events calls, which I am sure, are executed


    Plugins and issues:
    1. Google analytics

    Followed: http://felgo.com/doc/plugin-googleanalytics/

    From what I understand it should also work, as an exception, on desktop.
    Can’t have it working, no data ever reported to my GA dashboard.
    Some errors I get when testing on Samsung, not sure if related to this plugin(this one is really weird because it mixes flurry and ga):

    E/FlurryAgent(31032): GOOGLE PLAY SERVICES EXCEPTION: com.google.android.gms.common.GooglePlayServicesUtil
    E/FlurryAgent(31032): There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.
    I/dalvikvm(31032): Could not find method android.os.StatFs.getAvailableBlocksLong, referenced from method com.flurry.sdk.jb.a
    W/dalvikvm(31032): VFY: unable to resolve virtual method 446: Landroid/os/StatFs;.getAvailableBlocksLong ()J

    Bottom Line: despite not specific GA error is shown, can’t see any data (I started testing this 2 days ago)


    2. Flurry

    Followed: http://felgo.com/doc/plugin-flurry/

    The test application(sample) https://github.com/vplayplugins/FlurrySample doesn’t work, looks really out of date.

    QML debugging is enabled. Only use this in a safe environment.
    QQmlApplicationEngine failed to load component
    qrc:///main.qml:3 module "VPlayPlugins" is not installed

    Despite the fact I added the import statement and it works in my own applications.

    My own test, with modern app, after I set up everything, getting:

    E/dalvikvm(31032): Could not find class 'com.flurry.sdk.i', referenced from method com.flurry.sdk.md.a
    W/dalvikvm(31032): VFY: unable to resolve const-class 270 (Lcom/flurry/sdk/i;) in Lcom/flurry/sdk/md;
    D/dalvikvm(31032): VFY: replacing opcode 0x1c at 0x001e

    3. Hockey App
    Followed: http://felgo.com/doc/plugin-hockeyapp/
    I managed to have this one working when using release build. Was able to upload this to HockeyApp and redistribute.
    Despite this, getting some errors, not sure if it important(when testing dev build):

    I/webclipboard(31032): clipservice: android.sec.clipboard.ClipboardExManager@41f64fb0
    W/System.err(31032): java.net.UnknownHostException: Unable to resolve host "sdk.hockeyapp.net": No address associated with hostname
    W/System.err(31032): at java.net.InetAddress.lookupHostByName(InetAddress.java:394)
    W/System.err(31032): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    W/System.err(31032): at java.net.InetAddress.getAllByName(InetAddress.java:214)
    W/System.err(31032): at libcore.net.http.HttpConnection.(HttpConnection.java:70)
    W/System.err(31032): at libcore.net.http.HttpConnection.(HttpConnection.java:50)
    W/System.err(31032): at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
    W/System.err(31032): at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
    W/System.err(31032): at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
    W/System.err(31032): at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:315)
    W/System.err(31032): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:461)
    W/System.err(31032): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:442)
    W/System.err(31032): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:289)
    W/System.err(31032): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:239)
    W/System.err(31032): at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
    W/System.err(31032): at libcore.net.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:165)
    W/System.err(31032): at net.hockeyapp.android.tasks.CheckUpdateTask.doInBackground(CheckUpdateTask.java:130)
    W/System.err(31032): at net.hockeyapp.android.tasks.CheckUpdateTask.doInBackground(CheckUpdateTask.java:58)
    W/System.err(31032): at android.os.AsyncTask$2.call(AsyncTask.java:287)
    W/System.err(31032): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    W/System.err(31032): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    W/System.err(31032): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    W/System.err(31032): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    W/System.err(31032): at java.lang.Thread.run(Thread.java:856)

    4. One more error I am getting,  can have influence on others, potentially:

    W/System.err(31032): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
    W/System.err(31032): at java.lang.Class.classForName(Native Method)
    W/System.err(31032): at java.lang.Class.forName(Class.java:217)
    W/System.err(31032): at java.lang.Class.forName(Class.java:172)
    W/System.err(31032): at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:388)
    W/System.err(31032): at org.qtproject.qt5.android.ExtractStyle.(ExtractStyle.java:92)
    W/System.err(31032): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:511)
    W/System.err(31032): at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err(31032): at java.lang.reflect.Method.invoke(Method.java:511)
    W/System.err(31032): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
    W/System.err(31032): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
    W/System.err(31032): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:901)
    W/System.err(31032): at net.vplay.helper.VPlayActivity.onCreate(VPlayActivity.java:19)
    W/System.err(31032): at android.app.Activity.performCreate(Activity.java:5206)
    W/System.err(31032): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)
    W/System.err(31032): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)
    W/System.err(31032): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
    W/System.err(31032): at android.app.ActivityThread.access$600(ActivityThread.java:140)
    W/System.err(31032): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
    W/System.err(31032): at android.os.Handler.dispatchMessage(Handler.java:99)
    W/System.err(31032): at android.os.Looper.loop(Looper.java:137)
    W/System.err(31032): at android.app.ActivityThread.main(ActivityThread.java:4898)
    W/System.err(31032): at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err(31032): at java.lang.reflect.Method.invoke(Method.java:511)
    W/System.err(31032): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
    W/System.err(31032): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
    W/System.err(31032): at dalvik.system.NativeStart.main(Native Method)
    W/System.err(31032): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawable
    W/System.err(31032): ... 26 more

    Any ideas how to make this working?

    • This topic was modified 5 years, 2 months ago by  senkal.

    Felgo Team

    Hello Marcin,

    That’s a lot of log output, let’s have a look one by one:

    1. 1. GA: The error output is totally unrelated to Google Analytics and only comes from the Flurry library, exactly. Flurry can make use of the advertising identifier read from the Play Services, which we don’t link by default. If you want to make use of that feature you can add a corresponding line to the dependencies block in your build.gradle file to include Google Play Services ads library.
      Google Analytics does not require any native libraries but sends requests directly to Google’s backend. It’s therefore also supported on Desktop! Usually it takes some time until the first events and page views are visible online, so please have another look today.
    2. 2. Flurry: Please have a look at our new plugin sample especially the flurry page, found here: https://github.com/Felgo/PluginDemo/blob/master/qml/pages/FlurryPage.qml . The warning messages can be ignored for now I guess, this is Flurry-internal stuff and not related to our plugin.
    3. 3. HockeyApp: We will have a look into this, unfortunately that’s again coming from HockeyApp’s native library. I’ll let you know if there are any updates needed.
    4. 4.: These ones are a bit mis-leading but completely unrelated and can be ignored. The system tries to read out some native platform styling parameters and fails on some options. The error is handled correctly but unfortunately some verbose log output was missed during clean-up.





    Hello Alex,
    Thank you very much for all answers.

    You were right, GA and Flurry, picked up at some point.
    Still sometimes have issues with Flurry(or not fully understand it) but that is more my fault.

    One more clarification, please.
    It doesn’t matter if we run our application in debug/dev or release stage?
    Still plugins should work just fine(apart from specific ones like HockeyApp, where it requires release to redistribute etc).

    • This reply was modified 5 years, 1 month ago by  senkal.

    Felgo Team

    Hi Marcin!

    Yes, the plugins work the same for both debug or release version of your application.


Viewing 4 posts - 1 through 4 (of 4 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