Android tableview 在 titanium Appcelerator SDK 7.5.0 上崩溃

标签 android sdk appcelerator-titanium

当我单击具有自定义表格行的表格 View 时,仅在 Android 上出现以下错误。有人可以帮助我理解这一点吗?

TiExceptionHandler: (main) [5645,45992] Attempt to invoke virtual met hod 'void org.appcelerator.titanium.view.TiUIView.registerForTouch()' on a null object reference [ERROR] : TiExceptionHandler: [ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.h andleGetView(TiViewProxy.java:594) [ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.h andleMessage(TiViewProxy.java:270) [ERROR] : TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.ja va:102) [ERROR] : TiExceptionHandler: android.os.Looper.loop(Looper.java:193) [ERROR] : TiExceptionHandler: android.app.ActivityThread.main(ActivityThrea d.java:6669) [ERROR] : TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method ) [ERROR] : TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAnd ArgsCaller.run(RuntimeInit.java:493) [ERROR] : TiExceptionHandler: com.android.internal.os.ZygoteInit.main(Zygot eInit.java:858)

最佳答案

好的,我刚刚删除了 console.log(JSON.stringify(e));在代码中并且有效。

关于Android tableview 在 titanium Appcelerator SDK 7.5.0 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54794403/

相关文章:

ios - Appcelerator IOS模块开发

android - Titanium:在 Android 上使用 Logcat 查看日志

android - 无法在 Android 的对话框中定位元素

java - ArrayList<CustomClass> 中的 JSON 对象始终覆盖前一个对象。怎么解决?

c# - 使用 Azure SDK C# 创建和删除可用性测试

sdk - 如何从海康威视摄像头获取行人号码?

java - 让敌人跟随检查站

android - 在我的 DbHelper 类的 oCreate 中插入记录时递归调用 getDatabase

ios - Quickblox:如何删除特定时间段内的用户签到

ios - 工作了一天,接下来在 Mac 上出错了 : Error within debug UI #appcelerator