downgrade Android SDK to use old permission mode because on demand request require Java code

This commit is contained in:
2017-04-30 19:27:45 +01:00
parent f64e9e746c
commit 02ffbf3d77
2 changed files with 5 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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();