Do you have any other help?
maybe It use CMake, plz check CMakeLists.txt
+# PluginAdMob
+if(ANDROID)
+ add_definitions(-DSDKBOX_ENABLED)
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/proj.android/app/jni/PluginAdMob/)
+ target_link_libraries(${APP_NAME} ext_PluginAdMob)
+endif()
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/proj.android/app/jni/PluginAdMob/)
plz try PluginAdMob
==> PluginAdmob
Can you please tell me which build type is the correct in the gradle.properties file? Is it:
PROP_BUILD_TYPE=cmake
or
PROP_BUILD_TYPE=ndk-build
but cmake should work too.
the issue is not BUILD_TYPE, but is your file system is case sensitive.
Volume type : APFS Volume
Is case-sensitive : No
That’s not the issue. I’m using a Mac, so my file system is case insensitive.
The solution is to update cocos2d-x/tools/cocos2d-console/plugins/plugin_compile/project_compile.py
add gradle_support_ndk = False
before line 471
1 Like
wow, how do you find the answer?