diff options
| -rw-r--r-- | android/app/build.gradle | 10 | ||||
| -rw-r--r-- | android/app/jni/Application.mk | 2 | ||||
| -rw-r--r-- | android/app/jni/src/Android.mk | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle index 915e441..b7e5b15 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -5,7 +5,7 @@ android { buildToolsVersion "25.0.0" defaultConfig { applicationId "com.example.retard.myapplication" - minSdkVersion 14 + minSdkVersion 10 targetSdkVersion 26 versionCode 1 versionName "1.0" @@ -35,8 +35,8 @@ dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:26.+' - compile 'com.android.support.constraint:constraint-layout:1.0.2' - compile 'com.android.support:design:26.+' - testCompile 'junit:junit:4.12' + /*compile 'com.android.support:appcompat-v7:26.+'*/ + /*compile 'com.android.support.constraint:constraint-layout:1.0.2'*/ + /*compile 'com.android.support:design:26.+'*/ + /*testCompile 'junit:junit:4.12'*/ } diff --git a/android/app/jni/Application.mk b/android/app/jni/Application.mk index 5ea0fb4..db8805f 100644 --- a/android/app/jni/Application.mk +++ b/android/app/jni/Application.mk @@ -2,6 +2,8 @@ # Uncomment this if you're using STL in your project # See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information # APP_STL := stlport_static +APP_CPPFLAGS += -std=c++11 +APP_STL := gnustl_shared APP_ABI := armeabi armeabi-v7a x86 diff --git a/android/app/jni/src/Android.mk b/android/app/jni/src/Android.mk index 1adcb6e..b7818ae 100644 --- a/android/app/jni/src/Android.mk +++ b/android/app/jni/src/Android.mk @@ -9,7 +9,7 @@ SDL_PATH := ../SDL LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include # Add your application source files here... -LOCAL_SRC_FILES := YourSourceHere.c +LOCAL_SRC_FILES := ../../../../main.cpp ../../../../PerlinNoise.cpp ../../../../World.cpp LOCAL_SHARED_LIBRARIES := SDL2 |
