Ti.GA
Ti.GA copied to clipboard
Android: Recompile with ti.playservice module version
recompiled the module with ti.playservice module version (11.0.4) so it will work in combination with firebase.modules.
Make sure to use it with:
<module platform="android">ti.ga</module>
<module platform="android">firebase.core</module>
<module platform="android" version="11.0.40">ti.playservices</module>
binary: https://github.com/benbahrenburg/Ti.GA/blob/c66a7fc772e55b43f26d9c584d79b4039a9d2f4e/android/dist/ti.ga-android-4.0.2.zip
Hello @m1ga
[ERROR] : FA: Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
Error on console. It is important or not?
Thank you in advance.
try to add it as described here: https://github.com/hansemannn/titanium-firebase-cloud-messaging#updates-to-the-manifest if you are not using Firebase Analytics it shouldn't matter at all
Hello @m1ga, As I can see the latest version of ti.ga module is not compatible with latest version on SDK 8.0.0.GA. Do you have any plan to fix it for latest version?
If I find the time, yes. But it is just recompiling it with the correct aar files inside the folder, sou you could do it yourself, too. I'm not using the module, so I can't recompile it all the time.
Hi @m1ga using your ti.ga version my app now compiles but everytime I get this error.
05-24 14:02:48.727 6543 6543 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate service com.google.android.gms.analytics.AnalyticsService: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.analytics.AnalyticsService" on path: DexPathList[[zip file "/data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/lib/arm, /data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3557)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.ActivityThread.access$1300(ActivityThread.java:200)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.analytics.AnalyticsService" on path: DexPathList[[zip file "/data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/lib/arm, /data/app/com.myapp-S_WROVlMP_0Y902ZITftqg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.AppComponentFactory.instantiateService(AppComponentFactory.java:103)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3552)
05-24 14:02:48.727 6543 6543 E AndroidRuntime: ... 8 more
Do you have any idea how to solve this?
@AndreaVitale which playservice are you using?
Also keep in mind: GA for mobile will shut down in October (the free version) so you should switch to Firebase Analytics soon if you use that.