Closed GoogleCodeExporter closed 9 years ago
StrictMode should be turned off for the release builds.
Can you confirm if you are installing My Tracks from the Play Store?
thanks
Original comment by jshih@google.com
on 7 Nov 2012 at 5:30
dont know..
i will bounce the install to ensure that i have it from PLAY-store.
Original comment by rowntree...@gmail.com
on 7 Nov 2012 at 8:00
[deleted comment]
reinstall MT 2.0.2 from google play . did not wipe cache or anything.. just
uninstall MTPackage followed by reinstall at PLAY...
same error on rooted GNexus running 4.1.2...
E/StrictMode( 2366): class com.google.android.apps.mytracks.TrackListActivity;
instances=2; limit=1
E/StrictMode( 2366): android.os.StrictMode$InstanceCountViolation: class
com.google.android.apps.mytracks.TrackListActivity; instances=2; limit=1
E/StrictMode( 2366): at
android.os.StrictMode.setClassInstanceLimit(StrictMode.java:1)
E/StrictMode( 2366): A resource was acquired at attached stack trace but never
released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode( 2366): java.lang.Throwable: Explicit termination method 'close'
not called
E/StrictMode( 2366): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 2366): at
android.database.CursorWindow.<init>(CursorWindow.java:137)
E/StrictMode( 2366): at
android.database.CursorWindow.<init>(CursorWindow.java:41)
E/StrictMode( 2366): at
android.database.CursorWindow$1.createFromParcel(CursorWindow.java:681)
E/StrictMode( 2366): at
android.database.CursorWindow$1.createFromParcel(CursorWindow.java:679)
E/StrictMode( 2366): at
android.database.BulkCursorDescriptor.readFromParcel(BulkCursorDescriptor.java:7
5)
E/StrictMode( 2366): at
android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.ja
va:34)
E/StrictMode( 2366): at
android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.ja
va:30)
E/StrictMode( 2366): at
android.content.ContentProviderProxy.query(ContentProviderNative.java:369)
E/StrictMode( 2366): at
android.content.ContentResolver.query(ContentResolver.java:370)
E/StrictMode( 2366): at
android.content.ContentResolver.query(ContentResolver.java:313)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.getSetti
ng(AndroidConfig.java:216)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.getDistr
ibutionChannelInternal(AndroidConfig.java:195)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.Config.init(Config.java:273)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.<init>(A
ndroidConfig.java:100)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.<init>(A
ndroidConfig.java:87)
E/StrictMode( 2366): at
com.google.android.maps.MapActivity.onCreate(MapActivity.java:419)
E/StrictMode( 2366): at
android.support.v4.app.FragmentActivity.onCreate(Unknown Source)
E/StrictMode( 2366): at
com.google.android.apps.mytracks.TrackListActivity.onCreate(MT:331)
E/StrictMode( 2366): at android.app.Activity.performCreate(Activity.java:5008)
E/StrictMode( 2366): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
E/StrictMode( 2366): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
E/StrictMode( 2366): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/StrictMode( 2366): at
android.app.ActivityThread.access$600(ActivityThread.java:130)
E/StrictMode( 2366): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/StrictMode( 2366): at android.os.Handler.dispatchMessage(Handler.java:99)
E/StrictMode( 2366): at android.os.Looper.loop(Looper.java:137)
E/StrictMode( 2366): at
android.app.ActivityThread.main(ActivityThread.java:4745)
E/StrictMode( 2366): at java.lang.reflect.Method.invokeNative(Native Method)
E/StrictMode( 2366): at java.lang.reflect.Method.invoke(Method.java:511)
E/StrictMode( 2366): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/StrictMode( 2366): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/StrictMode( 2366): at dalvik.system.NativeStart.main(Native Method)
E/StrictMode( 2366): A resource was acquired at attached stack trace but never
released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode( 2366): java.lang.Throwable: Explicit termination method 'close'
not called
E/StrictMode( 2366): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 2366): at
android.content.ContentResolver$CursorWrapperInner.<init>(ContentResolver.java:1
835)
E/StrictMode( 2366): at
android.content.ContentResolver.query(ContentResolver.java:392)
E/StrictMode( 2366): at
android.content.ContentResolver.query(ContentResolver.java:313)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.getSetti
ng(AndroidConfig.java:216)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.getDistr
ibutionChannelInternal(AndroidConfig.java:195)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.Config.init(Config.java:273)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.<init>(A
ndroidConfig.java:100)
E/StrictMode( 2366): at
android_maps_conflict_avoidance.com.google.common.android.AndroidConfig.<init>(A
ndroidConfig.java:87)
E/StrictMode( 2366): at
com.google.android.maps.MapActivity.onCreate(MapActivity.java:419)
E/StrictMode( 2366): at
android.support.v4.app.FragmentActivity.onCreate(Unknown Source)
E/StrictMode( 2366): at
com.google.android.apps.mytracks.TrackListActivity.onCreate(MT:331)
E/StrictMode( 2366): at android.app.Activity.performCreate(Activity.java:5008)
E/StrictMode( 2366): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
E/StrictMode( 2366): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
E/StrictMode( 2366): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/StrictMode( 2366): at
android.app.ActivityThread.access$600(ActivityThread.java:130)
E/StrictMode( 2366): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/StrictMode( 2366): at android.os.Handler.dispatchMessage(Handler.java:99)
E/StrictMode( 2366): at android.os.Looper.loop(Looper.java:137)
E/StrictMode( 2366): at
android.app.ActivityThread.main(ActivityThread.java:4745)
E/StrictMode( 2366): at java.lang.reflect.Method.invokeNative(Native Method)
E/StrictMode( 2366): at java.lang.reflect.Method.invoke(Method.java:511)
E/StrictMode( 2366): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/StrictMode( 2366): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/StrictMode( 2366): at dalvik.system.NativeStart.main(Native Method)
W/CursorWrapperInner( 2366): Cursor finalized without prior close()
D/PhonemeUpdater( 1212): sync contact phonemes: 0 seconds
Original comment by rowntree...@gmail.com
on 7 Nov 2012 at 8:10
Will be fixed in the next release.
FYI. StrictMode is a tool used in development. It should not have been enabled
for release build.
Original comment by jshih@google.com
on 10 Nov 2012 at 6:31
Original issue reported on code.google.com by
rowntree...@gmail.com
on 7 Nov 2012 at 4:08