安装 ADT r22 后,每次关闭应用程序时都会在 LogCat 中收到此异常:
E/LuckyLauncherView(227): in setViewEveryArea()
E/LuckyLauncherView(227): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.doptrixevo/com.doptrixevo.menu.WelcomeScreen}
E/LuckyLauncherView(227): at android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:222)
E/LuckyLauncherView(227): at android.app.ApplicationPackageManager.getActivityIcon(ApplicationPackageManager.java:612)
E/LuckyLauncherView(227): at com.android.launcher2.lucky.LuckyLauncherView.setViewEveryArea(LuckyLauncherView.java:932)
E/LuckyLauncherView(227): at com.android.launcher2.lucky.LuckyLauncherView.updateView(LuckyLauncherView.java:513)
E/LuckyLauncherView(227): at com.android.launcher2.lucky.LuckyLauncherView$7.handleMessage(LuckyLauncherView.java:1429)
E/LuckyLauncherView(227): at android.os.Handler.dispatchMessage(Handler.java:99)
E/LuckyLauncherView(227): at android.os.Looper.loop(Looper.java:132)
E/LuckyLauncherView(227): at android.app.ActivityThread.main(ActivityThread.java:4123)
E/LuckyLauncherView(227): at java.lang.reflect.Method.invokeNative(Native Method)
E/LuckyLauncherView(227): at java.lang.reflect.Method.invoke(Method.java:491)
E/LuckyLauncherView(227): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/LuckyLauncherView(227): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/LuckyLauncherView(227): at dalvik.system.NativeStart.main(Native Method)
这个错误的奇怪之处在于它指的是com.doptrixevo而我正在运行的应用程序是com.doptrix
com.doptrixevo 是我的另一个应用程序,它没有安装在这个设备上。在这个项目或使用的任何库中没有对 com.doptrixevo 的引用。我什至尝试在项目文件夹中搜索“doptrixevo”这个词,但没有找到任何东西。
我尝试清理,重新创建项目 - 这没有帮助。
我的应用程序运行良好,但这个错误让我担心。它来自哪里,我该如何解决?