Hello,
I am trying to integrate, for testing purposes, some of the plugins.
Unfortunately, can’t make them working.
Basics:
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.
Getting:
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 6 years, 12 months ago by
senkal.