Forum > C++ > Crash when using CCUserDefault (since 0.9.0 -> 0.9.1 upgrade)

Crash when using CCUserDefault (since 0.9.0 -> 0.9.1 upgrade)

By gmeister26 Posted 2011-10-01 06:14 Comments 2
gmeister26
  • Posts: 13

I just started a new project and was re-using some code from a previous 0.9.0 project which used CCUserDefault to read and write data which now causes the Android app to crash. The iPhone test runs fine.

Code:
CCUserDefault::sharedUserDefault()->setBoolForKey( “mykey”, true );

l4u
  • Posts: 54

#1 RE: 2011-10-02 11:29

walzer
  • Posts: 1735
  • Location: Xiamen, China

#2 RE: 2011-10-02 18:03

Bug #744 created. It’s reported 3 times. I’ll fix it in v0.9.2.
Thanks a lot to everyone.

Less is More. Keep Focus.

Loggin to reply

Copyright © 2010 - 2013 Cocos2d-x.orgClustrmaps