Index: build.gradle ================================================================== --- build.gradle +++ build.gradle @@ -3,11 +3,11 @@ buildscript { repositories { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } Index: gradle/wrapper/gradle-wrapper.properties ================================================================== --- gradle/wrapper/gradle-wrapper.properties +++ gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Apr 27 23:58:23 ICT 2017 +#Sun Nov 12 03:46:22 ICT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip Index: sqlite3/build.gradle ================================================================== --- sqlite3/build.gradle +++ sqlite3/build.gradle @@ -1,11 +1,9 @@ apply plugin: 'com.android.library' android { compileSdkVersion 25 - buildToolsVersion "25.0.2" - defaultConfig { minSdkVersion 16 targetSdkVersion 25 versionCode 1 DELETED sqlite3/src/androidTest/java/org/sqlite/database/ApplicationTest.java Index: sqlite3/src/androidTest/java/org/sqlite/database/ApplicationTest.java ================================================================== --- sqlite3/src/androidTest/java/org/sqlite/database/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.sqlite.database; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} Index: sqlite3/src/main/jni/sqlite/sqlite3.c ================================================================== --- sqlite3/src/main/jni/sqlite/sqlite3.c +++ sqlite3/src/main/jni/sqlite/sqlite3.c @@ -943,13 +943,15 @@ ** ** Similar is true for Mac OS X. LFS is only supported on Mac OS X 9 and later. */ #ifndef SQLITE_DISABLE_LFS # define _LARGE_FILE 1 +#if 0 # ifndef _FILE_OFFSET_BITS # define _FILE_OFFSET_BITS 64 # endif +#endif # define _LARGEFILE_SOURCE 1 #endif /* The GCC_VERSION and MSVC_VERSION macros are used to ** conditionally include optimizations for each of these compilers. A Index: sqlite3test/build.gradle ================================================================== --- sqlite3test/build.gradle +++ sqlite3test/build.gradle @@ -1,10 +1,9 @@ apply plugin: 'com.android.application' android { compileSdkVersion 23 - buildToolsVersion '25.0.0' defaultConfig { applicationId "org.sqlite.customsqlitetest" minSdkVersion 16 targetSdkVersion 23