getting this error 'box2d/box2d.h' file not found with minSdkVersion 21 #1958
-
So, I need to set the minSdkVersion to 21 because the latest google ad sdk requires it to be 21. While compiling, I got this error:
But when I compile with less than 21 value and without play services-ads it works without the errors. And interesting thing is this error is occuring on iOS version from the beginning in mine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
@meehjeevan You didn't need to create a new thread for this, since you already had another 2: |
Beta Was this translation helpful? Give feedback.
-
Is the project you're building a clean new project, or one you have ported across to Axmol? If it's not a new project, can you please try creating a new project and building it to see if it has the same issues? It's the same question I asked in the other thread regarding iOS, but you never replied to it: #1935 (reply in thread) |
Beta Was this translation helpful? Give feedback.
The freshly created new blank project works well on android. I figured it out in my codes I have used this:
#include "extensions/cocos-ext.h" in many files, with this when minSdkVersion is 21 it was giving that errors. But I removed it and now the errors are gone and my game is also running.