I don't think Cordova has any native code whatsoever, so I don't think this is really relevant to Cordova.

This might be caused by a plugin that needs to compile/import native code, in which case the solution seems to be to install version 21.0.6113669 instead of 22.1.7171670. If this is the case, it would be up to the user (or the plugin author, if they decide to take responsibility) to ensure that the environment is configured in a way that it will work with that plugin.

On 2021-07-12 11:45 p.m., Chris Brody wrote:
Hello I just encountered this after having reinstalled my system on macOS,
installing recent NDK via Android Studio:

Starting a Gradle Daemon (subsequent builds will be faster)

*> Task :app:stripDebugDebugSymbols* FAILED


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:stripDebugDebugSymbols'.

No version of NDK matched the requested version 21.0.6113669. Versions
available locally: 22.1.7171670

already found a couple of resources:

    -
    
https://stackoverflow.com/questions/60404457/no-version-of-ndk-matched-the-requested-version
    - https://www.programmersought.com/article/38846032343/

I hope we can find a better solution. Here is what I get from React Native,
for example:

*> Task :app:stripDebugDebugSymbols*

Unable to strip the following libraries, packaging them as they are:
libc++_shared.so, libevent-2.1.so, libevent_core-2.1.so,
libevent_extra-2.1.so, libfb.so, libfbjni.so, libflipper.so,
libfolly_futures.so, libfolly_json.so, libglog.so, libglog_init.so,
libhermes-executor-common-debug.so, libhermes-executor-common-release.so,
libhermes-executor-debug.so, libhermes-executor-release.so,
libhermes-inspector.so, libimagepipeline.so, libjsc.so, libjscexecutor.so,
libjsijniprofiler.so, libjsinspector.so, libnative-filters.so,
libnative-imagetranscoder.so, libreact_codegen_reactandroidspec.so,
libreact_nativemodule_core.so, libreactnativeblob.so, libreactnativejni.so,
libreactnativeutilsjni.so, libreactperfloggerjni.so,
libturbomodulejsijni.so, libyoga.so.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to