1
關於Android文檔編寫我可以在這裏詢問關於LVL問題。果凍豆上的LVL崩潰
我的Android LVL在android < = 4.0.4上工作很好。 今天我更新了果凍豆,它不再工作。這裏是logcat:
07-27 19:53:28.036: I/Spegni schermo intelligente PRO(2976): Lo schermo si è acceso
07-27 19:53:34.661: E/ActivityThread(3087): Activity it.android.smartscreenoffpro.LicenseCheck has leaked ServiceConnection [email protected] that was originally bound here
07-27 19:53:34.661: E/ActivityThread(3087): android.app.ServiceConnectionLeaked: Activity it.android.smartscreenoffpro.LicenseCheck has leaked ServiceConnection [email protected] that was originally bound here
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:965)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ContextImpl.bindService(ContextImpl.java:1191)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ContextImpl.bindService(ContextImpl.java:1183)
07-27 19:53:34.661: E/ActivityThread(3087): at android.content.ContextWrapper.bindService(ContextWrapper.java:394)
07-27 19:53:34.661: E/ActivityThread(3087): at com.google.android.vending.licensing.LicenseChecker.checkAccess(LicenseChecker.java:150)
07-27 19:53:34.661: E/ActivityThread(3087): at it.android.smartscreenoffpro.LicenseCheck.doCheck(LicenseCheck.java:89)
07-27 19:53:34.661: E/ActivityThread(3087): at it.android.smartscreenoffpro.LicenseCheck.onCreate(LicenseCheck.java:106)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.Activity.performCreate(Activity.java:5008)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ActivityThread.access$600(ActivityThread.java:130)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
07-27 19:53:34.661: E/ActivityThread(3087): at android.os.Handler.dispatchMessage(Handler.java:99)
07-27 19:53:34.661: E/ActivityThread(3087): at android.os.Looper.loop(Looper.java:137)
07-27 19:53:34.661: E/ActivityThread(3087): at android.app.ActivityThread.main(ActivityThread.java:4745)
07-27 19:53:34.661: E/ActivityThread(3087): at java.lang.reflect.Method.invokeNative(Native Method)
07-27 19:53:34.661: E/ActivityThread(3087): at java.lang.reflect.Method.invoke(Method.java:511)
07-27 19:53:34.661: E/ActivityThread(3087): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
07-27 19:53:34.661: E/ActivityThread(3087): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-27 19:53:34.661: E/ActivityThread(3087): at dalvik.system.NativeStart.main(Native Method)
我必須更新一些東西嗎?
據我可以看到你需要檢查以下行: 07-27 19:53:34.661:E/ActivityThread(3087):at it.android.smartscreenoffpro.LicenseCheck.doCheck(LicenseCheck.java:89 ) TL:DR:第89行 – Broak 2012-07-27 18:18:39
第89行:private void doCheck(){ \t \t mChecker.checkAccess(mLicenseCheckerCallback); \t} – Hoconosc 2012-07-27 18:21:45
我不認爲發佈整個軟件包是一個好主意,因爲它是巨大的。 – Hoconosc 2012-07-27 18:23:03