I can’t agree more. I’ll share whatever I can on the topic. My only reference is a book covers 2.0.x and there is much different approaches in regards to setup. 2.2.5 feels like it is caught between the original 2.0 and 3.0 in regards to setup. I can see the cleaner projects, vision, and better scripts forming. But I have to kind of figure out how it works in this in between state. I am putting it together piece by piece. I can compile, and push to device, it wont run (missing a library still.) But I am slogging through the errors. Its taken some time. Going to 3.0 is a bridge too far this time or I would just go all the way.
Thanks for all the support!!! You guys are great. I hope I am not being to much of a pest.
The README.md in the created projects folder is clearer now except for what target to use (step 6? wth is step 6, so I think that is likely a left over bit from older docs.)
What version of the NDK was this tested with? I found myself using 10b (64bit) I got the 32 bit versions (non beta) to try out. Should I not use latest? Did I miss this requirement somewhere? To get the HelloWorld sample app to run (well run into the current error I am having with all projects) I had to combine the 32 bit and overlay/overwrite with the 64 bit version. This is because of the “android-L” headers? I don’t know anything about this so I wont pretend too, but “rand()” was missing of all things. Soooo that fixed that issue. (here was where I found the hint)
For the morbidly curious this is the current error I am working through:
09-17 14:54:49.010: E/AndroidRuntime(25032): java.lang.UnsatisfiedLinkError: Couldn’t load testcpp from loader dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/org.cocos2dx.testcpp-1.apk”],nativeLibraryDirectories=[/data/app-lib/org.cocos2dx.testcpp-1, /vendor/lib, /system/lib]]]: findLibrary returned null
If you know what causes this let me know. I am looking at what files got stuck where on the device… but there is a voice in the back of mind that says I shouldn’t have to if everything was configured right!
I seriously think I have something horribly wrong in my setup. I am going to to just start over. or try on other machines/devices. it simply can’t be this hard…