I am trying to run it on Cocos Simulator.
When i am trying to compile it for android i am getting error:
D:\Android\SDK\tools\ant\build.xml:459: …/…/cocos2d-x/cocos/platform/android/java/libs/gps/ resolve to a path with no project.properties file for project C:\Users\Sasa\Documents\Cocos\SDK3\build\jsb-default\frameworks\runtime-src\proj.android
It doesn’t work for me, it’s written “Please build project before import plugins!” whereas I have already build it. I tried to remove the build folder and build again nothing changed
I have resolved the problem, My build path wasn’t in the project folder. Thanks for your replay, it oriented me.
But there is still no ad in my application (I’m trying to use admob)…
There is 2 errors in my logs, but I’m not sure it’s about ads:
DynamiteModule:: java.lang.ClassNotFoundException: Didn’t find class “com.google.android.gms.dynamite.DynamiteModule$DynamiteLoaderClassLoader”
ServiceManager: Permission failure: android.permission.BODY_SENSORS from uid=10584 pid=10170
Ads : App does not have the required permissions to get location
and: Ads : Received log message: Google:HTML You are using version 9.5 of the Google Play services Ads SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. See http://goo.gl/r2TRzC for instructions on how to get the latest version of Google Play services.
So I will try to update the sdk, but I think the problem comes from the permissions, but don’t know what to change