diff --git a/android/build.gradle b/android/build.gradle index e987447..b534972 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,19 +3,20 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.0' + classpath 'com.android.tools.build:gradle:2.3.1' + compile 'it.sephiroth.android.exif:library:1.0.1' } } apply plugin: 'android' android { - compileSdkVersion 23 + compileSdkVersion 19 buildToolsVersion '23.0.2' defaultConfig { applicationId = 'com.omigamedev' minSdkVersion 9 - targetSdkVersion 23 + targetSdkVersion 19 // This block is different from the one you use to link Gradle // to your CMake or ndk-build script. externalNativeBuild { diff --git a/android/src/main/cpp/main.cpp b/android/src/main/cpp/main.cpp index 9b962b7..fdb538f 100755 --- a/android/src/main/cpp/main.cpp +++ b/android/src/main/cpp/main.cpp @@ -313,7 +313,7 @@ static int engine_init_display(struct engine* engine) { glDisable(GL_DEPTH_TEST); //glEnableClientState(GL_VERTEX_ARRAY); Asset::m_am = engine->app->activity->assetManager; - App::I.data_path = engine->app->activity->externalDataPath; + App::I.data_path = "/sdcard/PanoPainter";// engine->app->activity->externalDataPath; App::I.width = w; App::I.height = h; App::I.init();