-
Edit OSGEarthAndroidDemo/Map/app/src/osgearth/jni/build_for_project.sh and set the BASE_PATH variable to the proper location.
-
Edit OSGEarthAndroidDemo/Map/app/src/osgearth/jni/Android.mk paths (NDK_ROOT, OSG_ANDROID_DIR, OSGEARTH_ANDROID_DIR, THIRDPARTY_ANDROID_DIR) to point to the proper locations.
-
Run the "build_for_project.sh" script to build the native library code. This script will copy the generated library files to the appropriate Android Studio folder.
-
Open the project in Android Studio and run the example.
cxhaizxm / osgearthandroiddemo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thahemp/osgearthandroiddemo
Android Studio OSGEarth demo for Android