Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDK Version update Android appcenter build #1740

Closed
D3laru3 opened this issue Mar 11, 2020 · 9 comments
Closed

NDK Version update Android appcenter build #1740

D3laru3 opened this issue Mar 11, 2020 · 9 comments
Assignees
Labels
bug A bug or issue with App Center build Related to App Center's Build service reviewed-DRI Reviewed by DRI

Comments

@D3laru3
Copy link

D3laru3 commented Mar 11, 2020

Is it possible to update NDK to the latest version? I'm experiencing an issue with the appcenter build due to NDK STL shared object file.

Expected NDK STL shared object file at /Users/runner/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so

The issue might be connected with the DexGuard which we have to include in our project. It looks like DexGuard using the 18+ version of the NDK

I tried to set android.ndkVersion in our Gradle to version. 21..+. Unfortunately, local version of NDK in appcenter is set to 18.1.5063045.

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

Thanks

@D3laru3 D3laru3 added the feature request New feature request label Mar 11, 2020
@winnie
Copy link

winnie commented Mar 11, 2020

Thanks for filing an issue. Tagging our Build PM @elamalani to address this. Thanks!

@winnie winnie added the build Related to App Center's Build service label Mar 11, 2020
@MaxenceMax
Copy link

MaxenceMax commented Mar 24, 2020

Does this issue fixed ? @elamalani @winnie please update NDK, 18.1.5063045 version is now deprecated

@elamalani
Copy link

#1728

@dacheng81
Copy link

Just to chime in here: on Azure Devops, their VMs support 21.0.6113669. I can't remember if all 3 platforms (Windows, Mac, Linux) support it. I know their Ubuntu VM did not support 20.x version.

@flamewave000
Copy link

Definitely need this upgraded. Gradle 4.0.0 has been released, and I'm still stuck on 3.5.3 because AppCenter is breaking my entire deployment process if I upgrade. My company has started considering alternative CI/CD solutions due to this specific issue.

@NasarIqbalTechswivel
Copy link

NasarIqbalTechswivel commented Sep 8, 2020

This issue can also solve by adding
android { ndkVersion "major.minor.build" // e.g., ndkVersion '21.3.6528147' }
in gradle build. you can see here

@flamewave000
Copy link

@NasarIqbalTechswivel That doesn't appear to be working for me on AppCenter. AppCenter is still trying to use the newer NDK.

@mihailo-popovic96 mihailo-popovic96 added bug A bug or issue with App Center reviewed-DRI Reviewed by DRI and removed feature request New feature request labels Mar 17, 2021
@yasircodingcrafts
Copy link

yasircodingcrafts commented Mar 9, 2022

Any update on this?
I'm getting a similar error on app center

Execution failed for task ':app:stripReleaseDebugSymbols'.
> No version of NDK matched the requested version 21.3.6528147. Versions available locally: 18.1.5063045, 21.4.7075529, 21.4.7075529, 21.4.7075529, 22.1.7171670, 23.1.7779620

BTW I already have the ndkVersion specified in android/app/build.gradle file

Screenshot 2022-03-09 at 8 44 32 PM

@stephan-markovic
Copy link

Closing as duplicate of #1728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or issue with App Center build Related to App Center's Build service reviewed-DRI Reviewed by DRI
Projects
None yet
Development

No branches or pull requests

10 participants