# Android_arcore_hello_c **Repository Path**: lduml/Android_arcore_hello_c ## Basic Information - **Project Name**: Android_arcore_hello_c - **Description**: arcore的c语言版本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 编译信息 ## 版本 ``` Android Studio 3.5.3 Build #AI-191.8026.42.35.6010548, built on November 15, 2019 JRE: 1.8.0_202-release-1483-b49-5587405 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.1 ``` ## 使用 下载自 google ar_core https://github.com/google-ar/arcore-android-sdk https://developers.google.cn/ar/ ## 说明 下载ndk c语言项目需要 和sample平级的 libraries 这里将libraries文件考到了本项目内 app build.gradle内 ``` externalNativeBuild { cmake { cppFlags "-std=c++11", "-Wall" arguments "-DANDROID_STL=c++_static", "-DARCORE_LIBPATH=${arcore_libpath}/jni", "-DARCORE_INCLUDE=${project.rootDir}/libraries/include", "-DGLM_INCLUDE=${project.rootDir}/libraries/glm" // 原始 "-DARCORE_INCLUDE=${project.rootDir}/../../libraries/include", // 原始 "-DGLM_INCLUDE=${project.rootDir}/../../libraries/glm" } } ```