[SOLVED] Cmake x86_64 Android problem with PluginIAP

Hello there,
" Starting August 1, 2019, your apps published on Google Play will need to support[64-bit architectures."
So I tried by adding x86_64 to PROP_APP_ABI but I get this error:

Build command failed.
Error while executing process C:\Users\ComputerDev\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\ComputerDev\cocos2d-x-projects\Werewolves\proj.android\app\.cxx\cmake\debug\x86_64 --target MyGame}

ninja: error: '../../../../jni/PluginIAP/libs_c++_static/x86_64/libPluginIAP.a', needed by '../../../../build/intermediates/cmake/debug/obj/x86_64/libMyGame.so', missing and no known rule to make it

PROP_COMPILE_SDK_VERSION=28
PROP_MIN_SDK_VERSION=16
PROP_TARGET_SDK_VERSION=28
PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86:x86_64
PROP_BUILD_TYPE=cmake

wrong: PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86:x86_64
correct: PROP_APP_ABI=armeabi-v7a:arm64-v8a

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.