我的Android应用程序昨天在设备上工作,但它现在不运行

时间:2012-07-13 12:05:58

标签: android android-testing

我是关于android开发的新手,到目前为止我对从Eclipse调试设备一无所知。我的问题很简单。昨天,我创建了一个.apk来加载我的设备来测试一些东西,但是当我加载相同的file.apk时,它没有用。我不知道什么条件会对设备造成影响(密钥许可,设备竞争条件......),但我没有更新任何我记得的内容。如果您需要有关此问题的更多信息,我会回答。

(对不起,如果我的英语不那么流畅)

提前致谢

很抱歉,这是de log,你可能是一个NullPointerException因为gps位置服务,但在我的设备上工作。

07-13 12:26:04.290: I/LogInnounce(335): [INNOUNCEActivity: charge()] Creando datos de InnouncePostedData...

07-13 12:26:04.290:I / LogInnounce(335):[INNOUNCEActivity:charge()] Creando datos de ProfilePublisherData ... 07-13 12:26:04.290:I / LogInnounce(335):[INNOUNCEActivity:charge()] Cargando datos de ProfilePublisherData zh_cn InnouncePostedData ... 07-13 12:26:04.290:I / LogInnounce(335):[INNOUNCEActivity:charge()] Cargando datos de InnouncePostedData ... 07-13 12:26:04.300:I / LogInnounce(335):[INNOUNCEActivity:charge()] Cargando datos creados de InnounceReceivedData ... 07-13 12:26:04.300:I / LogInnounce(335):[INNOUNCEActivity:charge()] Datos cargados。 07-13 12:26:04.750:I / LogInnounce(335):[INNOUNCEActivity:onCreate]:Se obtiene gestor delaaplicación... 07-13 12:26:04.750:I / LogInnounce(335):INNOUNCEActivity:onCreate]:Se inicializan las变量...... 07-13 12:26:04.750:I / LogInnounce(335):[INNOUNCEActivity:selectorMainAppPage] Se modifica el titulo delapáginamostrada。 07-13 12:26:04.750:I / LogInnounce(335):[INNOUNCEActivity:selectorMainAppPage] Se estudia casoparapágina0... 07-13 12:26:04.750:I / LogInnounce(335):[INNOUNCEActivity:selectorMainAppPage] Caso 0:Se prepara la lista a mostrar 07-13 12:26:04.800:I / LogInnounce(335):[INNOUNCEActivity:selectorMainAppPage] Fin de selecciondepágina。 07-13 12:26:04.840:I / LogInnounce(335):[GeopositionService:onCreate]:El serviciodepolisosiciónhasido creado。 07-13 12:26:04.840:I / LogInnounce(335):[GeopositionService:onStartCommand]:Se obtiene el gestor del serviciodelocalización。 07-13 12:26:04.850:I / LogInnounce(335):[GeopositionService:onStartCommand]:Seañadeuncriterio de busqueda de entre todos los proveedores。 07-13 12:26:04.850:I / LogInnounce(335):[GeopositionService:onStartCommand]:Se obtiene el mejor proveedordelocalizaciónactivado。 07-13 12:26:04.880:I / LogInnounce(335):[GeopositionService:onStartCommand]:Mejor proveedordelocalizaciónactual:gps 07-13 12:26:04.880:W / dalvikvm(335):threadid = 1:线程退出未捕获异常(组= 0x40015560) 07-13 12:26:04.890:E / AndroidRuntime(335):致命异常:主要 07-13 12:26:04.890:E / AndroidRuntime(335):java.lang.RuntimeException:无法使用Intent {cmp = android.app.innounce / .internal启动服务android.app.innounce.internal.GeopositionServiceListener@4050cdb8 .GeopositionServiceListener}:java.lang.NullPointerException 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2052) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.ActivityThread.access $ 2800(ActivityThread.java:117) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:994) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.os.Handler.dispatchMessage(Handler.java:99) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.os.Looper.loop(Looper.java:123) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.ActivityThread.main(ActivityThread.java:3683) 07-13 12:26:04.890:E / AndroidRuntime(335):at java.lang.reflect.Method.invokeNative(Native Method) 07-13 12:26:04.890:E / AndroidRuntime(335):at java.lang.reflect.Method.invoke(Method.java:507) 07-13 12:26:04.890:E / AndroidRuntime(335):at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:839) 07-13 12:26:04.890:E / AndroidRuntime(335):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 07-13 12:26:04.890:E / AndroidRuntime(335):at dalvik.system.NativeStart.main(Native Method) 07-13 12:26:04.890:E / AndroidRuntime(335):引起:java.lang.NullPointerException 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.innounce.internal.GeopositionServiceListener.showGeopositionPoint(GeopositionServiceListener.java:106) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.innounce.internal.GeopositionServiceListener.onStartCommand(GeopositionServiceListener.java:69) 07-13 12:26:04.890:E / AndroidRuntime(335):在android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2039) 07-13 12:26:04.890:E / AndroidRuntime(335):... 10 more

0 个答案:

没有答案