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

[Build] How to build for Android armeabi platform? #21192

Closed
wanglunhui2012 opened this issue Jun 27, 2024 · 2 comments
Closed

[Build] How to build for Android armeabi platform? #21192

wanglunhui2012 opened this issue Jun 27, 2024 · 2 comments
Labels
build build issues; typically submitted using template platform:mobile issues related to ONNX Runtime mobile; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot

Comments

@wanglunhui2012
Copy link

wanglunhui2012 commented Jun 27, 2024

Describe the issue

I hava a old device on Android, ABI is armeabi rather armeabi-v7a. How can I build for this?

Urgency

No response

Target platform

Android ABI armeabi

Build script

./build.sh --android --android_sdk_path ~/Library/Android/sdk --android_ndk_path ~/Library/Android/sdk/ndk/22.1.7171670 --android_abi armeabi --android_api 27

Error / output

build.py: error: argument --android_abi: invalid choice: 'armeabi' (choose from 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64')

Visual Studio Version

No response

GCC / Compiler Version

Apple clang version 14.0.3 (clang-1403.0.22.14.1)

@wanglunhui2012 wanglunhui2012 added the build build issues; typically submitted using template label Jun 27, 2024
@github-actions github-actions bot added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label Jun 27, 2024
@edgchen1
Copy link
Contributor

Sorry, we don't support building for armeabi now. It's not supported by recent NDK versions either.
https://developer.android.com/ndk/guides/abis#sa

"Note: Historically the NDK supported ARMv5 (armeabi), and 32-bit and 64-bit MIPS, but support for these ABIs was removed in NDK r17."

Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template platform:mobile issues related to ONNX Runtime mobile; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

3 participants