Closed neo1949 closed 4 years ago
Find the reason, this method was added after the release of version v1.0.8 in f589b3f.
So, is there any plan for a new release for android?
New release will be published soon on Github and binary release on JCenter.
The language of WCDB
The version of WCDB
The platform of WCDB
The installation of WCDB
What's the issue?
No
addExtension
method incom.tencent.wcdb.database.SQLiteDatabase
class.Following the sample code in android/samples/sample-persistence, but can not find the
addExtension
method:android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "cn.neo.delivery" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { debug { minifyEnabled false } release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } sourceSets { main { jniLibs.srcDir 'libs' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } }
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.preference:preference:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation files('libs/BaiduLBS_Android.jar') // ButterKnife implementation 'com.jakewharton:butterknife:10.2.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0' // Glide implementation('com.github.bumptech.glide:glide:4.10.0') { exclude group: "com.android.support" } implementation 'com.github.bumptech.glide:annotations:4.10.0' implementation 'com.github.bumptech.glide:okhttp3-integration:4.10.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0' // Room // def room_version = "2.2.1" // implementation "androidx.room:room-runtime:$room_version" // annotationProcessor "androidx.room:room-compiler:$room_version"
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { repositories { google() jcenter()
}
allprojects { repositories { google() jcenter()
}
task clean(type: Delete) { delete rootProject.buildDir }