-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdMobs : google_play_services/build.xml failed #50
Comments
You should better use Eclipse it could be bad setup I think I cannot find more reasons to fail. |
Does a fresh project work in Eclipse? |
a fresh project is the first thing i tried and does not work.... my project worked fine on my phone but when i added AdMob nothing worked... i am using ndk r10e and my phone is a galaxy S3 with android 4.3 |
@mariustruica Please don't show your banner or interstitial code, well reading your log file it seems that you're using rand() function in the c++ code can you try to compile your game in Visual studio or maybe you can temporaly change the rand() with a number, I'm not sure what the problem could be, rand should work well with android 6 with the NDK 10 |
@OscarLeif Those banners are fakes ... I cannot run even a fresh copy of the project where no rand function is present. On a fresh copy the following error occurs : I managed to run build_native.py by using google_play_services rev 22 instead of 29. But when running the project from eclipse i get the same error (the above on) . And of course in VS the project works fine. IN VS i had an error when i added sonarSystems : d:\workspace\cocos2d-x-3.10\tests\testgame\classes\sonarframeworks.cpp(50): fatal error C1017: invalid integer constant expression #if SCH_IS_SOCIAL_ENABLED == true (line 50) and i solved the error in 2 steps : Can someone tell me what combination of ndk version , google_play_services rev and what android api for each project (cocos2dx , my project and google_play_services ) should i use ? Regards , |
Hi guys,
I am trying to make AdMobs to work for my project but when executing build_native.py in command line i am getting an error :
I have cocos2dx v3.10.
Regards,
Marius
The text was updated successfully, but these errors were encountered: