Cocos Studio, cocos2d-x lib update in project

Hi,

Somebody know, how would be the easiest by an exists project, re-generate again the complete
precompiled libraries, like by a new project? Because by cocos2d-x update it’s not so easy by me…
Some link error, lib not found, etc…

Thanks

Ok, i think i solved it on the easiest way:
After are you checked the new cocos2d-x installed correctly, and example application can run on device, then:

By ios project is easy, the old libcocos2d iOS.a should point to the newer one, and change header and library search path to the new path.

By android:
Create a new empty project in Cocos Studio and check, it runs correctly on device.
Then copy following directories to the old project:

  • proj.android/src (BE CAREFUL WITH THE CUSTOM CODE IN AppActivity.java !)
  • proj.android/jni/hellocpp
  • proj.android/libs

You need to copy the - proj.android/build-cfg.json file too, to use the right cocos2d-x path.
After this the old application can build and run from xcode, or from console.
From Cocos Studio to run, there is some android version problem. :confused:

Good luck for everybody. :smile: