私のアプリで「ストリップ」支払い方法を統合していますが、ストライプ依存を追加すると「com.stripe:stripe-android:1.0.3」もコンパイルしようとします 'com.stripe :ストライプのandroid:relinker:1.2.1「 コンパイル 『+ com.getkeepsafe.relinker』エラーがそれは私がストライプのお支払い方法を使用している場合、領域内のエラー
コンパイルを使用してのように再リンカレルムの多くの回答を参照してください
で起こります」 io.reactivex:rxjava:1.1.0 'しかし、問題はまだ存在します これは私のRealmアプリケーションクラスです
public class WifiExploreApplication extends Application {
@Override
public void onCreate(){
super.onCreate();
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder(this)
.name("com.holygon.zaingz.alu").build();
Realm.setDefaultConfiguration(realmConfiguration)
}
}
これは、すべてのサブプロジェクト/モジュールに共通する設定オプションを追加することができ、私のGradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 'Google Apis:Google Apis:23'
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.example.wifiexplorer"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
multiDexEnabled true
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.github.sembozdemir:ViewPagerArrowIndicator:1.0.0'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.android.support:multidex:1.0.0'
compile "com.android.support:support-v4:23.0.0"
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.getkeepsafe.relinker:relinker:1.2.1'
compile 'com.stripe:stripe-android:1.0.3'
}
dependencies {
repositories {
mavenCentral()
}
compile 'com.sothree.slidinguppanel:library:3.3.0'
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
apply plugin: 'realm-android'
と
//トップレベルのビルドファイルです。すべての物事がうまく行くが、私はストリップを使用する場合、それはどんな提案ができるよう理解されるであろうエラー が表示されますストライプを使用する前に
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath "io.realm:realm-gradle-plugin:0.88.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
..
最新のレルムバージョンを使用してみてください。 – beeender