Java error class not found

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Java error class not found

Postby mmilen » 27 Oct 2011, 22:25

Those two errors appear in my device log. The application seems to work OK thou.

E/dalvikvm(4618): Could not find class 'net.sf.json.JSONObject', referenced from method com.smartfoxserver.v2.protocol.serialization.DefaultSFSDataSerializer.decodeJsonObject


E/dalvikvm(4618): Could not find class 'java.util.concurrent.LinkedBlockingDeque', referenced from method com.smartfoxserver.v2.protocol.serialization.DefaultSFSDataSerializer.setObjectField
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 29 Oct 2011, 05:10

Are you able to provide more details on when those errors are thrown?
Paolo Bax
The SmartFoxServer Team
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Postby mmilen » 29 Oct 2011, 18:55

The errors are throw as soon as the sfsClient is connected and logged in the server.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 30 Oct 2011, 10:59

What platform, what OS and what version?
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Postby mmilen » 30 Oct 2011, 16:36

It is Android API 8. The phone I test with is Samsung Galaxy Android 2.2 . Later this week I will have results for Android 3.x on Pad.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 31 Oct 2011, 13:24

Those are thrown from the sfs2x-client-core.jar and not the API code itself. Will poke Marco about this one.

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games

Follow on twitter: http://twitter.com/thomas_h_lund
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Postby mmilen » 31 Oct 2011, 13:59

Thank you.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 31 Oct 2011, 19:37

Yes, I think those classes are not supported in Dalvik (Deque interface and its implementations), but this will not cause any harm.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 52 guests