エラーの意味を教えてほしいです。
バージョンが中途半端で、エラーの内容がネットに乗っていません。分かる方おりませんでしょうか?
※ビルドしたタイミングでエラーが発生しました。
要望があったので追記しました。allprojectsにhttps://maven.google.comを使っているところがネットには使われてはいない特徴です。
gradle
1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 repositories { 5 jcenter() 6 } 7 dependencies { 8 classpath 'com.android.tools.build:gradle:2.3.0' 9 10 // NOTE: Do not place your application dependencies here; they belong 11 // in the individual module build.gradle files 12 classpath "io.realm:realm-gradle-plugin:3.7.2" 13 } 14} 15 16 17allprojects { 18 repositories { 19 jcenter() 20 maven{ 21 url "https://maven.google.com" 22 } 23 } 24} 25 26task clean(type: Delete) { 27 delete rootProject.buildDir 28}
gradle
1apply plugin: 'com.android.application' 2apply plugin: 'realm-android' 3 4android { 5 compileSdkVersion 28 6 buildToolsVersion "28.0.2" 7 defaultConfig { 8 applicationId "com.websarva.wings.amdrpod.udemyandroid10_2" 9 minSdkVersion 16 10 targetSdkVersion 28 11 versionCode 1 12 versionName "1.0" 13 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 14 } 15 buildTypes { 16 release { 17 minifyEnabled false 18 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 19 } 20 } 21} 22 23dependencies { 24 configurations.all { 25 resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9' 26 } 27 28 compile fileTree(dir: 'libs', include: ['*.jar']) 29 androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 30 exclude group: 'com.android.support', module: 'support-annotations' 31 }) 32 compile 'com.android.support:appcompat-v7:28.+' 33 compile 'com.android.support.constraint:constraint-layout:1.0.2' 34 compile 'io.realm:android-adapters:2.0.0' 35 testCompile 'junit:junit:4.12' 36} 37
初心者でどこを載せるといいのかよく分からない状況です。Activityの中身等、解決に必要な情報は随時載せます。言っていただけると助かります。
回答2件
あなたの回答
tips
プレビュー