質問編集履歴

4

iOSはビルド成功

2020/02/07 16:36

投稿

tssss
tssss

スコア13

test CHANGED
File without changes
test CHANGED
@@ -389,3 +389,5 @@
389
389
  - $flutter channel devにてチャンネル変更(参考:https://www.isoroot.jp/blog/2079/)
390
390
 
391
391
  - compileSdkVersion、targetSdkVersionを29にしたり、28にしたり
392
+
393
+ - iOSのエミュレータでは正常に動くことを確認しました。

3

flutter doctor -v

2020/02/07 16:36

投稿

tssss
tssss

スコア13

test CHANGED
File without changes
test CHANGED
@@ -300,30 +300,70 @@
300
300
 
301
301
  ```
302
302
 
303
- $ flutter doctor
303
+ $ flutter doctor -v
304
-
305
- Doctor summary (to see all details, run flutter doctor -v):
306
304
 
307
305
  [✓] Flutter (Channel dev, v1.14.6, on Mac OS X 10.14.6 18G2022, locale ja-JP)
308
306
 
309
-
307
+ • Flutter version 1.14.6 at /Users/aaaaaaaa/flutter
308
+
310
-
309
+ • Framework revision fabeb2a16f (8 days ago), 2020-01-28 07:56:51 -0800
310
+
311
-
311
+ • Engine revision c4229bfbba
312
+
312
-
313
+ • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)
313
-
314
+
315
+
316
+
317
+
314
318
 
315
319
  [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
316
320
 
321
+ • Android SDK at /Users/aaaaaaa/Library/Android/sdk
322
+
323
+ • Android NDK location not configured (optional; useful for native profiling support)
324
+
325
+ • Platform android-29, build-tools 29.0.3
326
+
327
+ • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
328
+
329
+ • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
330
+
331
+ • All Android licenses accepted.
332
+
333
+
334
+
317
335
  [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
318
336
 
337
+ • Xcode at /Applications/Xcode.app/Contents/Developer
338
+
339
+ • Xcode 11.3.1, Build version 11C504
340
+
341
+ • CocoaPods version 1.8.4
342
+
343
+
344
+
319
345
  [✓] Android Studio (version 3.5)
320
346
 
347
+ • Android Studio at /Applications/Android Studio.app/Contents
348
+
349
+ • Flutter plugin version 43.0.1
350
+
351
+ • Dart plugin version 191.8593
352
+
353
+ • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
354
+
355
+
356
+
321
357
  [✓] Connected device (1 available)
322
358
 
359
+ • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
360
+
323
361
 
324
362
 
325
363
  • No issues found!
326
364
 
365
+
366
+
327
367
  ```
328
368
 
329
369
 

2

flutter doctor追加

2020/02/05 12:39

投稿

tssss
tssss

スコア13

test CHANGED
File without changes
test CHANGED
@@ -298,6 +298,44 @@
298
298
 
299
299
 
300
300
 
301
+ ```
302
+
303
+ $ flutter doctor
304
+
305
+ Doctor summary (to see all details, run flutter doctor -v):
306
+
307
+ [✓] Flutter (Channel dev, v1.14.6, on Mac OS X 10.14.6 18G2022, locale ja-JP)
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+ [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
316
+
317
+ [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
318
+
319
+ [✓] Android Studio (version 3.5)
320
+
321
+ [✓] Connected device (1 available)
322
+
323
+
324
+
325
+ • No issues found!
326
+
327
+ ```
328
+
329
+
330
+
331
+ ```
332
+
333
+ $ ~/library/android/sdk/tools/bin/sdkmanager --list
334
+
335
+ No Java runtime present, requesting install.
336
+
337
+ ```
338
+
301
339
 
302
340
 
303
341
 

1

android/build.grableも載せました。

2020/02/03 14:44

投稿

tssss
tssss

スコア13

test CHANGED
File without changes
test CHANGED
@@ -222,6 +222,86 @@
222
222
 
223
223
 
224
224
 
225
+
226
+
227
+ android/build.grableも載せます。
228
+
229
+ ```ここに言語を入力
230
+
231
+ buildscript {
232
+
233
+ ext.kotlin_version = '1.3.50'
234
+
235
+ repositories {
236
+
237
+ google()
238
+
239
+ jcenter()
240
+
241
+ }
242
+
243
+
244
+
245
+ dependencies {
246
+
247
+ classpath 'com.android.tools.build:gradle:3.5.3'
248
+
249
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
250
+
251
+ classpath 'com.google.gms:google-services:4.3.3' // new
252
+
253
+
254
+
255
+ }
256
+
257
+ }
258
+
259
+
260
+
261
+ allprojects {
262
+
263
+ repositories {
264
+
265
+ google()
266
+
267
+ jcenter()
268
+
269
+ }
270
+
271
+ }
272
+
273
+
274
+
275
+ rootProject.buildDir = '../build'
276
+
277
+ subprojects {
278
+
279
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
280
+
281
+ }
282
+
283
+ subprojects {
284
+
285
+ project.evaluationDependsOn(':app')
286
+
287
+ }
288
+
289
+
290
+
291
+ task clean(type: Delete) {
292
+
293
+ delete rootProject.buildDir
294
+
295
+ }
296
+
297
+ ```
298
+
299
+
300
+
301
+
302
+
303
+
304
+
225
305
  もし解決策がわかったらご教授お願いします!
226
306
 
227
307