質問編集履歴
2
追記7
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,4 +12,150 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
要望があったので追記しました。allprojectsにhttps://maven.google.comを使っているところがネットには使われてはいない特徴です。
|
16
|
+
|
17
|
+
```gradle
|
18
|
+
|
19
|
+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
buildscript {
|
24
|
+
|
25
|
+
repositories {
|
26
|
+
|
27
|
+
jcenter()
|
28
|
+
|
29
|
+
}
|
30
|
+
|
31
|
+
dependencies {
|
32
|
+
|
33
|
+
classpath 'com.android.tools.build:gradle:2.3.0'
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
// NOTE: Do not place your application dependencies here; they belong
|
38
|
+
|
39
|
+
// in the individual module build.gradle files
|
40
|
+
|
41
|
+
classpath "io.realm:realm-gradle-plugin:3.7.2"
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
allprojects {
|
52
|
+
|
53
|
+
repositories {
|
54
|
+
|
55
|
+
jcenter()
|
56
|
+
|
57
|
+
maven{
|
58
|
+
|
59
|
+
url "https://maven.google.com"
|
60
|
+
|
61
|
+
}
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
task clean(type: Delete) {
|
70
|
+
|
71
|
+
delete rootProject.buildDir
|
72
|
+
|
73
|
+
}
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
```gradle
|
80
|
+
|
81
|
+
apply plugin: 'com.android.application'
|
82
|
+
|
83
|
+
apply plugin: 'realm-android'
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
android {
|
88
|
+
|
89
|
+
compileSdkVersion 28
|
90
|
+
|
91
|
+
buildToolsVersion "28.0.2"
|
92
|
+
|
93
|
+
defaultConfig {
|
94
|
+
|
95
|
+
applicationId "com.websarva.wings.amdrpod.udemyandroid10_2"
|
96
|
+
|
97
|
+
minSdkVersion 16
|
98
|
+
|
99
|
+
targetSdkVersion 28
|
100
|
+
|
101
|
+
versionCode 1
|
102
|
+
|
103
|
+
versionName "1.0"
|
104
|
+
|
105
|
+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
buildTypes {
|
110
|
+
|
111
|
+
release {
|
112
|
+
|
113
|
+
minifyEnabled false
|
114
|
+
|
115
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
dependencies {
|
126
|
+
|
127
|
+
configurations.all {
|
128
|
+
|
129
|
+
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
|
130
|
+
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
compile fileTree(dir: 'libs', include: ['*.jar'])
|
136
|
+
|
137
|
+
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
138
|
+
|
139
|
+
exclude group: 'com.android.support', module: 'support-annotations'
|
140
|
+
|
141
|
+
})
|
142
|
+
|
143
|
+
compile 'com.android.support:appcompat-v7:28.+'
|
144
|
+
|
145
|
+
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
146
|
+
|
147
|
+
compile 'io.realm:android-adapters:2.0.0'
|
148
|
+
|
149
|
+
testCompile 'junit:junit:4.12'
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
15
161
|
初心者でどこを載せるといいのかよく分からない状況です。Activityの中身等、解決に必要な情報は随時載せます。言っていただけると助かります。
|
1
文章追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,3 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
※ビルドしたタイミングでエラーが発生しました。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
初心者でどこを載せるといいのかよく分からない状況です。Activityの中身等、解決に必要な情報は随時載せます。言っていただけると助かります。
|