Open juxiaowei opened 6 years ago
你这个是ndk-build配置环境不成功导致的
我也遇到这个类似的问题,NDK版本是21,运行"ndk-build"时报错:
C:/Software/Dev/Android/SDK/ndk/21.1.6352462/build//../build/core/add-application.mk:178: *** Android NDK: APP_STL gnustl_static is no longer supported. Please switch to either c++_static or c++_shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information. . Stop.
2018-11-01 09:42 [INFO] apk decompressed completed 2018-11-01 09:42 [INFO] apk decompiled completed 2018-11-01 09:42 [INFO] classes.dex parsing completed 2018-11-01 09:42 [INFO] classes.dex modified completed 2018-11-01 09:42 [INFO] classes.dex encrypted completed 2018-11-01 09:42 [INFO] AndroidManifest.xml modified completed 2018-11-01 09:42 [ERROR] ndk-build failed ╰─$ ndk-build Android NDK: Could not find application project directory ! Android NDK: Please define the NDK_PROJECT_PATH variable to point to it. /Users/~~/Private/android/android-ndk-r10e/build/core/build-local.mk:143: *** Android NDK: Aborting . Stop.