生成命令失败。在Android Studio(NDK)中执行过程时出错

时间:2019-01-27 19:47:54

标签: android android-studio

当我运行该应用程序时,我正在构建一个应用程序,它显示错误,我无法理解错误在哪里,所以我只复制并粘贴整个错误代码,希望有人能帮助我解决这个错误

    Build command failed.
    Error while executing process C:\Users\Nabil\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Nabil\Desktop\textfairy-master\app\Android.mk NDK_APPLICATION_MK=C:\Users\Nabil\Desktop\textfairy-master\app\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=C:/Users/Nabil/Desktop/textfairy-master/app/build/intermediates/ndkBuild/develop/debug/obj NDK_LIBS_OUT=C:\Users\Nabil\Desktop\textfairy-master\app\build\intermediates\ndkBuild\develop\debug\lib C:/Users/Nabil/Desktop/textfairy-master/app/build/intermediates/ndkBuild/develop/debug/obj/local/arm64-v8a/liblept.so}
    Android NDK: WARNING:C:/Users/Nabil/Desktop/textfairy-master/app/libs/tesseract/tesseract/../Android.mk:tess: non-system libraries in linker flags: -latomic    
    Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
    Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
    Android NDK:     current module    


    make (e=87): The parameter is incorrect.
    make: *** [C:/Users/Nabil/Desktop/textfairy-master/app/build/intermediates/ndkBuild/develop/debug/obj/local/arm64-v8a/liblept.so] Error 87

0 个答案:

没有答案