Exception on create instance of SmartFox

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

Moderators: Lapo, Bax

Spandex
Posts: 2
Joined: 02 Dec 2012, 16:27

Exception on create instance of SmartFox

Postby Spandex » 03 Dec 2012, 15:02

Hellow every body. I try simple application just with create instance of SmartFox. But it always raise an exception.

I have simple Activity
Image

This is manifest
Image

This is set of jar files what I use
Image

But it always raise an exception
Image

If I comment SmartFox create
Image

Error will gone
Image



What I do wrong?
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Exception on create instance of SmartFox

Postby rjgtav » 03 Dec 2012, 20:25

Hi,
I'm sorry but the images are no longer available.
Can you post the exception on the forums?

Thanks
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Spandex
Posts: 2
Joined: 02 Dec 2012, 16:27

Re: Exception on create instance of SmartFox

Postby Spandex » 04 Dec 2012, 15:58

Hellow every body. I try simple application just with create instance of SmartFox. But it always raise an exception.

I have simple Activity
Image

This is manifest
Image

This is set of jar files what I use
Image

But it always raise an exception
Image

If I comment SmartFox create
Image

Error will gone
Image



What I do wrong?

Image
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Exception on create instance of SmartFox

Postby Lapo » 06 Dec 2012, 09:07

You probably lack some Android specific permission. You should check the logs in Eclipse to get all the details of the problem. The picture of the debugger is not sufficient.

Also I would recommend to start with the Examples we provide here:
http://docs2x.smartfoxserver.com/Exampl ... troduction
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 22 guests