Based Openfire recently tried to develop a real-time communication software, just started to touch me with a painful crash. Smack package introduced after the connect () when the crash out, looked under the log, "Didn't find class" javax.swing.JFrame "on path: / data/app/com.nicholas.gps-1.apk "In the APK how can find on it, the introduction of third-party packages online to solve all lead to the definition of the class could not find a solution I have tried, how will not work, one afternoon, alas, attach log, help us to see it .
12-09 19:27:08.263: W / dalvikvm (14169): Unable to resolve superclass of Lorg / jivesoftware / smack / debugger / LiteDebugger $ 1; (1054)
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 1;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 2;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 3;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Unable to resolve superclass of Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener; (1051)
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 4;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 5;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Unable to resolve superclass of Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener; (1051)
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 6;' failed
12-09 19:27:08.263: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ 7;' failed
12-09 19:27:08.273: W / dalvikvm (14169): Unable to resolve superclass of Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener; (1051)
12-09 19:27:08.273: W / dalvikvm (14169): Link of class 'Lorg / jivesoftware / smack / debugger / LiteDebugger $ PopupListener;' failed
12-09 19:27:08.273: W / dalvikvm (14169): threadid = 15: thread exiting with uncaught exception (group = 0x41e2c798)
12-09 19:27:08.273: E / AndroidRuntime (14169): FATAL EXCEPTION: Thread-709
12-09 19:27:08.273: E / AndroidRuntime (14169): java.lang.IllegalArgumentException: Can't initialize the configured debugger
!12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.Connection.initDebugger (Connection.java: 792)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.XMPPConnection.initReaderAndWriter (XMPPConnection.java: 742)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.XMPPConnection.initConnection (XMPPConnection.java: 619)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration (XMPPConnection.java: 604)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.XMPPConnection.connect (XMPPConnection.java: 1022)
12-09 19:27:08.273: E / AndroidRuntime (14169): at com.nicholas.im.ConnectionManager $ 1.run (ConnectionManager.java: 68)
12-09 19:27:08.273: E / AndroidRuntime (14169): at java.lang.Thread.run (Thread.java)
12-09 19:27:08.273: E / AndroidRuntime (14169): Caused by: java.lang.reflect.InvocationTargetException
12-09 19:27:08.273: E / AndroidRuntime (14169): at java.lang.reflect.Constructor.constructNative (Native Method)
12-09 19:27:08.273: E / AndroidRuntime (14169): at java.lang.reflect.Constructor.newInstance (Constructor.java)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.Connection.initDebugger (Connection.java: 787)
12-09 19:27:08.273: E / AndroidRuntime (14169): ... 6 more
12-09 19:27:08.273: E / AndroidRuntime (14169): Caused by: java.lang.NoClassDefFoundError: javax / swing / JFrame
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.debugger.LiteDebugger.createDebug (LiteDebugger.java: 65)
12-09 19:27:08.273: E / AndroidRuntime (14169): at org.jivesoftware.smack.debugger.LiteDebugger
12-09 19:27:08.273: E / AndroidRuntime (14169): ... 9 more
12-09 19:27:08.273: E / AndroidRuntime (14169): Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.swing.JFrame" on path: / data / app / com.nicholas.gps -1.apk
12-09 19:27:08.273: E / AndroidRuntime (14169): at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java)
12-09 19:27:08.273: E / AndroidRuntime (14169): at java.lang.ClassLoader.loadClass (ClassLoader.java)
12-09 19:27:08.273: E / AndroidRuntime (14169): at java.lang.ClassLoader.loadClass (ClassLoader.java)
12-09 19:27:08.273: E / AndroidRuntime (14169): ... 11 more
No comments:
Post a Comment