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

编译异常 #4

Open
lotty520 opened this issue May 4, 2018 · 2 comments
Open

编译异常 #4

lotty520 opened this issue May 4, 2018 · 2 comments

Comments

@lotty520
Copy link

lotty520 commented May 4, 2018

NDK环境是AS中下载的,直接跑build脚本,提示ndk-build命令找不到,我把build.sh内容粘贴出来跑是可以的,但是可能是ndk版本问题,提示:
Android NDK: android-12 is unsupported. Using minimum supported version android-14.
Library/Android/sdk/ndk-bundle/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): mips64 armeabi mips
Library/Android/sdk/ndk-bundle/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release.
Android.mk:2: third_party/breakpad/android/google_breakpad/Android.mk: No such file or directory
Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:693: Android NDK: Module breakpad depends on undefined modules: breakpad_client
Library/Android/sdk/ndk-bundle/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

你的native源码是基于ndk哪个版本呀?

@yinyinnie
Copy link
Owner

yinyinnie commented May 4, 2018

你用的NDK版本太高了,根据日志显示,对应的android-sdk最小是android-14. 如果没有特殊要求,试试低版本。我用的是android-ndk-r10e,这个官网上能下载到:https://developer.android.com/ndk/downloads/older_releases

image

@yinyinnie
Copy link
Owner

yinyinnie commented May 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants