05-26-2012 10:32 AM
I see that my native project has a folder called "empty". I'd like to know how does it works, since I have a reference in the bar-descriptor.xml file to it, that raises a warning.
raises the warning:
Source file of asset "lib/libCocosDenshion.so" does not exist. bar-descriptor.xml
It is a cocos2dx project, and the .so file exists, but not in the "empty" folder (that is actually empty). Any idea?
05-26-2012 09:36 PM
That's very weird. I haven't used the cocos libraries, but I would check that entry in your bar-descriptor.xml to point to the correct location of the library.
The bar-descriptor tells your application where to find certain files. The packager also uses this information to ensure that the files are included in the package it creates. When your app is run, the file (in your case, the library) is loaded based on the locations specified by the bar-descriptor.
Hope that helps a bit.
05-27-2012 02:46 AM
the solution was to just create that folder and put the file there... open source libraries sometimes have this kind of problems and lack of documentation...
05-27-2012 02:48 AM - edited 05-27-2012 02:48 AM
Or that. :-P
Personally though, I don't like the idea of having a folder named empty. I would just modify the locations.
Also, you could update their documentation and/or file a bug report with them. Open source communities love feedback.
05-27-2012 03:44 AM