rbtr / drive-database-sync Goto Github PK
View Code? Open in Web Editor NEWA Google Drive sync layer for Android SQLite Databases
License: Apache License 2.0
A Google Drive sync layer for Android SQLite Databases
License: Apache License 2.0
using
compile 'com.google.android.gms:play-services-gcm:10.2.0'
the library fails
very useful library, with new google drive not working, update needed, please help
It would be nice to use this library also in combination with other database types (e.g. NoSQL, File, etc.). There for it would be nice to have an abstraction layer between the sync and database.
void com.google.android.gms.common.api.GoogleApiClient.connect()' was expected to be of type interface but instead was found to be of type virtual (declaration of 'com.github.athingunique.ddbs.DriveSyncController' appears in /data/app/com.name.myapplication-1/split_lib_dependencies_apk.apk
Hello,
I tried to build the code and I get following error even though I have updated build.gradle with correct keystore password. (Your code has password in gradle.properties and not in radle.properties.)
Error-
Error:(13, 1) A problem occurred evaluating project ':example'.
You should define KEYSTORE_PASSWORD and KEY_PASSWORD in gradle.properties.
My build.gradle is as follows-
apply plugin: 'com.android.application'
android {
signingConfigs {
releaseKeys {
try {
keyAlias 'android'
keyPassword android
storeFile file('C:\keystore.jks')
storePassword android
}
catch (ignored) {
throw new InvalidUserDataException("You should define KEYSTORE_PASSWORD and KEY_PASSWORD in gradle.properties.")
}
}
}
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.github.athingunique.ddbs_ex"
minSdkVersion 14
targetSdkVersion 22
versionCode 2
versionName "0.0.2"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseKeys
}
debug {
signingConfig signingConfigs.releaseKeys
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.jakewharton:butterknife:6.1.0'
// Include this line to pull from the release repo
// compile 'com.github.athingunique:ddbs:0.0.4'
compile project(':ddbs')
}
After Clicking any button, it is showing "mDriveClient Connection Failed" on the sample app.
While compiling I am getting the following error:
Error:Execution failed for task ':example:processDebugResources'. > Error: more than one library with package name 'com.github.athingunique.ddbs'.
I have checked there are no duplicate declaration yet I get this error while compiling. Could you tell what could be duplicate?
--------- gradle file ----
apply plugin: 'com.android.library'
apply plugin: 'bintray-release'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 2
versionName "0.0.4"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.google.android.gms:play-services-drive:7.3.0'
compile 'com.github.athingunique:ddbs:0.0.5'
}
publish {
userOrg = 'athingunique'
groupId = 'com.github.athingunique'
artifactId = 'ddbs'
publishVersion = '0.0.5'
description = 'A Google Drive Sync Layer for Android SQLite Database'
website = 'https://github.com/athingunique/Drive-Database-Sync'
issueTracker = "${website}/issues"
repository = "${website}.git"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.