Cocos2d-JS Android: Native thread exiting without having called DetachCurrentThread

0 votes

Hi,

 

I tried to use the JS sdk to use App42 in a cocos2d-JS app, for the leaderboard feature.

On web, it works fine, I can create game, add results, load it etc.

But in android, on .send() in App42-all-3.0.min.js, I have the error:


04-10 22:44:51.397 3986-4081/? W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[17,tid=4081,Native,Thread*=0xb3709400,peer=0x12e820a0,"Thread-27730"]

Any hint to fix that?

asked Apr 10, 2016 in Android by mdeville.info (10 points)
edited Apr 10, 2016 by mdeville.info

1 Answer

0 votes
Hi,

App42 JS SDK is built to work with web-based app. However, it works well on native platforms as well using PhoneGap.

So far we have not tested it with Cocos2d-JS. However, we can provide you the App42-JS-SDK source and we will really appreciate if you can contribute to the SDK to make compatible with Native platform using Cocos2d-JS that will be really helpful to the community as well.

Thanks.
answered Apr 11, 2016 by rajeev.etc (1,660 points)
edited Apr 11, 2016 by rajeev.etc
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...