summaryrefslogtreecommitdiff
path: root/android/app
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2017-09-27 13:30:30 +0200
committerMichal Idziorek <m.i@gmx.at>2017-09-27 13:30:30 +0200
commit66fbbf3a0639db9037ea3c2f2a36b6b38b2c51de (patch)
tree13d82220c74d69e3318917fe64738f310083fa62 /android/app
parent2419b2f7d32ebe41e8e45540963a1300f88b14b3 (diff)
downgraded to api 10 minsdk
Diffstat (limited to 'android/app')
-rw-r--r--android/app/build.gradle10
-rw-r--r--android/app/jni/Application.mk2
-rw-r--r--android/app/jni/src/Android.mk2
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