【发布时间】:2013-04-05 10:19:05
【问题描述】:
我有一个应用程序在 android 2.3.4、2.3.6 和 2.3.7 中运行良好,但在 android 4.1.2 或 4.2.2 中却没有(我没有更多设备)
应用程序调用返回结果的 jar 文件,当我在 2.3.7 中测试应用程序时,我调用 jar 并获取结果,但是当我使用 android 4.1.2 执行此操作时,它会强制关闭。这很奇怪,因为唯一的区别是操作系统,因为应用程序是相同的。
jar 文件调用互联网,我不认为这可能是错误
再次感谢大家!
【问题讨论】:
-
你使用过网络服务吗?
-
请发布您的 Logcat 错误..
-
The jar file makes a call to internet, I don´t think this could be the mistake- 这实际上可能会产生巨大的影响。 -
你的jar文件是放在外部还是项目本身里面?
-
赌
NetworkOnMainThreadException
标签: android jar android-version