Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-25797] Android: Prevent unnecessary Play Services exception logs #9876

Closed
wants to merge 2 commits into from

Conversation

garymathews
Copy link
Contributor

  • Remove unnecessary Google Play Services logs
[INFO] :   [Nexus 6P] zygote64: Rejecting re-init on previously-failed class java.lang.Class<ti.modules.titanium.geolocation.android.FusedLocationProvider$PlayServices$5>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/location/LocationCallback;
--
[INFO] :   [Nexus 6P] zygote64:   at boolean ti.modules.titanium.geolocation.android.FusedLocationProvider$PlayServices.access$000() (FusedLocationProvider.java:119)
[INFO] :   [Nexus 6P] zygote64:   at boolean ti.modules.titanium.geolocation.android.FusedLocationProvider.hasPlayServices(android.content.Context) (FusedLocationProvider.java:72)
[INFO] :   [Nexus 6P] zygote64:   at void ti.modules.titanium.geolocation.android.FusedLocationProvider.<init>(android.content.Context, ti.modules.titanium.geolocation.GeolocationModule) (FusedLocationProvider.java:61)
[INFO] :   [Nexus 6P] zygote64:   at void ti.modules.titanium.geolocation.GeolocationModule.<init>() (GeolocationModule.java:219)
[INFO] :   [Nexus 6P] zygote64:   at java.lang.Object java.lang.Class.newInstance() (Class.java:-2)
[INFO] :   [Nexus 6P] zygote64:   at org.appcelerator.kroll.KrollProxy org.appcelerator.kroll.KrollProxy.createProxy(java.lang.Class, org.appcelerator.kroll.KrollObject, java.lang.Object[], java.lang.String) (KrollProxy.java:137)
[INFO] :   [Nexus 6P] zygote64:   at boolean org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(long, java.lang.Object, long, java.lang.String, java.lang.Object, boolean, boolean, int, java.lang.String) (V8Object.java:-2)
[INFO] :   [Nexus 6P] zygote64:   at boolean org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(org.appcelerator.kroll.KrollObject, java.lang.String, java.lang.Object, boolean, boolean, int, java.lang.String) (V8Object.java:63)
[INFO] :   [Nexus 6P] zygote64:   at boolean org.appcelerator.kroll.KrollProxy.doFireEvent(java.lang.String, java.lang.Object) (KrollProxy.java:962)
[INFO] :   [Nexus 6P] zygote64:   at boolean org.appcelerator.kroll.KrollProxy.handleMessage(android.os.Message) (KrollProxy.java:1186)
[INFO] :   [Nexus 6P] zygote64:   at boolean org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(android.os.Message) (TiViewProxy.java:394)
[INFO] :   [Nexus 6P] zygote64:   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:101)
[INFO] :   [Nexus 6P] zygote64:   at void android.os.Looper.loop() (Looper.java:164)
[INFO] :   [Nexus 6P] zygote64:   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[INFO] :   [Nexus 6P] zygote64:   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[INFO] :   [Nexus 6P] zygote64:   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[INFO] :   [Nexus 6P] zygote64:   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[INFO] :   [Nexus 6P] zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.location.LocationCallback" on path: DexPathList[[zip file "/data/app/com.app.timob23135-OTILcichlOs4GSpYc41psA==/base.apk"],nativeLibraryDirectories=[/data/app/com.app.timob23135-OTILcichlOs4GSpYc41psA==/lib/arm64, /data/app/com.app.timob23135-OTILcichlOs4GSpYc41psA==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
[INFO] :   [Nexus 6P] zygote64:   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)


JIRA Ticket

@build
Copy link
Contributor

build commented Feb 22, 2018

Messages
📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@build build added the android label Feb 23, 2018
@lokeshchdhry
Copy link
Contributor

@garymathews , I am still seeing the logs with the artifact.

@garymathews
Copy link
Contributor Author

Closing, fixed by #9950

@sgtcoolguy sgtcoolguy modified the milestones: 7.2.0, 7.3.0 May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants