Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

A resource was acquired at attached stack trace but never released.

$
0
0

Does anyone encounter this type of error on running their app on Android emulator? Does anyone know how can this be resolved? Thank you.

[ERROR][StrictMode(  804)] A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
[ERROR][StrictMode(  804)] java.lang.Throwable: Explicit termination method 'close' not called
[ERROR][StrictMode(  804)]  at dalvik.system.CloseGuard.open(CloseGuard.java:184)
[ERROR][StrictMode(  804)]  at java.io.FileInputStream.<init>(FileInputStream.java:80)
[ERROR][StrictMode(  804)]  at com.google.android.gms.gcm.GcmProvisioning.a(SourceFile:259)
[ERROR][StrictMode(  804)]  at com.google.android.gms.gcm.GcmProvisioning.a(SourceFile:195)
[ERROR][StrictMode(  804)]  at com.google.android.gms.gcm.GcmRegisterService.a(SourceFile:63)
[ERROR][StrictMode(  804)]  at com.google.android.gms.gcm.GcmRegisterService.onCreate(SourceFile:42)
[ERROR][StrictMode(  804)]  at android.app.ActivityThread.handleCreateService(ActivityThread.java:2577)
[ERROR][StrictMode(  804)]  at android.app.ActivityThread.access$1600(ActivityThread.java:141)
[ERROR][StrictMode(  804)]  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1338)
[ERROR][StrictMode(  804)]  at android.os.Handler.dispatchMessage(Handler.java:99)
[ERROR][StrictMode(  804)]  at android.os.Looper.loop(Looper.java:137)
[ERROR][StrictMode(  804)]  at android.app.ActivityThread.main(ActivityThread.java:5103)
[ERROR][StrictMode(  804)]  at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR][StrictMode(  804)]  at java.lang.reflect.Method.invoke(Method.java:525)
[ERROR][StrictMode(  804)]  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
[ERROR][StrictMode(  804)]  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
[ERROR][StrictMode(  804)]  at dalvik.system.NativeStart.main(Native Method)
Application type: mobile Titanium SDK version: 3.1.1 (06/15/13 16:09 f7592c1) Platform & version: Android 4.3 and 2.3.3 Device: Android emulator Host Operating System: OSX 10.8.4 Mountain Lion Titanium Studio: build: 3.1.1.201306112235

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>