downgrade Android SDK to use old permission mode because on demand request require Java code
This commit is contained in:
@@ -3,19 +3,20 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
apply plugin: 'android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 19
|
||||||
buildToolsVersion '23.0.2'
|
buildToolsVersion '23.0.2'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = 'com.omigamedev'
|
applicationId = 'com.omigamedev'
|
||||||
minSdkVersion 9
|
minSdkVersion 9
|
||||||
targetSdkVersion 23
|
targetSdkVersion 19
|
||||||
// This block is different from the one you use to link Gradle
|
// This block is different from the one you use to link Gradle
|
||||||
// to your CMake or ndk-build script.
|
// to your CMake or ndk-build script.
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ static int engine_init_display(struct engine* engine) {
|
|||||||
glDisable(GL_DEPTH_TEST);
|
glDisable(GL_DEPTH_TEST);
|
||||||
//glEnableClientState(GL_VERTEX_ARRAY);
|
//glEnableClientState(GL_VERTEX_ARRAY);
|
||||||
Asset::m_am = engine->app->activity->assetManager;
|
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.width = w;
|
||||||
App::I.height = h;
|
App::I.height = h;
|
||||||
App::I.init();
|
App::I.init();
|
||||||
|
|||||||
Reference in New Issue
Block a user