Android C++ Minimalist sample app: "Cannot find module with tag 'gpg-cpp-sdk/android' in import path -
so, i'm trying compile minimalist sample code tutorial. https://developers.google.com/games/services/cpp/gettingstartedandroid
i have android sdk , ndk , gpg-cpp sdk installed @ c:/android, , environmental variables set.
so, knowledge i've followed guide letter. when run ndk-build inside jni folder error: cannot find module tag 'gpg-cpp-sdk/android' in import path. sure ndk_module_path variable defined?

"in guide, part mentions setting hte ndk_module_path variable, says set variable ndk_module_path point directory above gpp-cpp-sdk directory."
i realized, guide says gpp-cpp-sdk while folder gpg-cpp-sdk.. tried changing name of folder, still got same error, error says gpg-cpp-sdk, guess might typo on guide page.
the android.mk 1 came project, didn't make changes it.
i not use eclipse android development, went step 3.
steps google docs:
source: https://developers.google.com/games/services/cpp/gettingstartedandroid#step_3_run_the_sample
- download android sdk , android ndk , extract them machine. in environment, set sdk_root location of android sdk folder , ndk_root location of android ndk folder.
- download c++ sample games. tutorial refers location of samples on machine samples_dir.
- download google play game services c++ sdk. extract sdk onto development machine. in environment, set variable ndk_module_path point directory above gpp-cpp-sdk directory. should have following directory structure: ndk_module_path/ gpp-cpp-sdk/
here did:
- git clone "https://github.com/playgameservices/cpp-android-basic-samples.git" "
<some directory>" - in terminal: export ndk_module_path="
<some directory>" - cd cpp-android-basic-samples/
- cd samples-android/
- cd minimalist/
- ndk-build (this assumes have ndk in path already)
Comments
Post a Comment