Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

Is it really necessary to change target for android 4 support?

$
0
0

@nichlaspro132 wrote:

Hi!

I have an android project in eclipse and it Works great on all the updated devices but for some reason whenever i run the app on a device that has a version of 4 and below it crashes and says that it cannot locate "srand"(which is used in appDelegate.cpp in this case).
For example on my device, android 4.1.2, it happens.
Then I found a fix and that was to add the line:
APP_PLATFORM := android-19

So my question is - Is this really the optimal thing that you have to change the target/app platform? I mean it just doesn't seem to me that it is.

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles