質問編集履歴

1

更新

2017/07/20 14:41

投稿

riroholll
riroholll

スコア57

test CHANGED
File without changes
test CHANGED
@@ -93,3 +93,141 @@
93
93
  どのように直すとMPAndroidChartの構築ができるのでしょうか?
94
94
 
95
95
  回答お願いします
96
+
97
+
98
+
99
+ app
100
+
101
+
102
+
103
+ ```ここに言語を入力
104
+
105
+ apply plugin: 'com.android.application'
106
+
107
+
108
+
109
+ android {
110
+
111
+ compileSdkVersion 25
112
+
113
+ buildToolsVersion "25.0.3"
114
+
115
+ defaultConfig {
116
+
117
+ applicationId "com.example.askad.tesut"
118
+
119
+ minSdkVersion 15
120
+
121
+ targetSdkVersion 25
122
+
123
+ versionCode 1
124
+
125
+ versionName "1.0"
126
+
127
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
128
+
129
+ }
130
+
131
+ buildTypes {
132
+
133
+ release {
134
+
135
+ minifyEnabled false
136
+
137
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
138
+
139
+ }
140
+
141
+ }
142
+
143
+ }
144
+
145
+
146
+
147
+ dependencies {
148
+
149
+ compile fileTree(dir: 'libs', include: ['*.jar'])
150
+
151
+ androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
152
+
153
+ exclude group: 'com.android.support', module: 'support-annotations'
154
+
155
+ })
156
+
157
+ compile 'com.android.support:appcompat-v7:25.3.1'
158
+
159
+ compile 'com.android.support.constraint:constraint-layout:1.0.2'
160
+
161
+ testCompile 'junit:junit:4.12'
162
+
163
+ }
164
+
165
+
166
+
167
+ ```
168
+
169
+ Project
170
+
171
+ ```ここに言語を入力
172
+
173
+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
174
+
175
+
176
+
177
+ buildscript {
178
+
179
+ repositories {
180
+
181
+ jcenter()
182
+
183
+ }
184
+
185
+ dependencies {
186
+
187
+ classpath 'com.android.tools.build:gradle:2.3.2'
188
+
189
+ // NOTE: Do not place your application dependencies here; they belong
190
+
191
+ // in the individual module build.gradle files
192
+
193
+ }
194
+
195
+ }
196
+
197
+
198
+
199
+ allprojects {
200
+
201
+ repositories {
202
+
203
+ jcenter()
204
+
205
+ }
206
+
207
+ }
208
+
209
+
210
+
211
+ task clean(type: Delete) {
212
+
213
+ delete rootProject.buildDir
214
+
215
+ }
216
+
217
+ allprojects {
218
+
219
+ repositories {
220
+
221
+ maven { url "https://jitpack.io" }
222
+
223
+ }
224
+
225
+ }
226
+
227
+ dependencies {
228
+
229
+ compile 'com.github.PhilJay:MPAndroidChart:v2.3.2'
230
+
231
+ }
232
+
233
+ ```