質問編集履歴
4
iOSはビルド成功
title
CHANGED
File without changes
|
body
CHANGED
@@ -193,4 +193,5 @@
|
|
193
193
|
|
194
194
|
# その他試したこと
|
195
195
|
- $flutter channel devにてチャンネル変更(参考:https://www.isoroot.jp/blog/2079/)
|
196
|
-
- compileSdkVersion、targetSdkVersionを29にしたり、28にしたり
|
196
|
+
- compileSdkVersion、targetSdkVersionを29にしたり、28にしたり
|
197
|
+
- iOSのエミュレータでは正常に動くことを確認しました。
|
3
flutter doctor -v
title
CHANGED
File without changes
|
body
CHANGED
@@ -149,18 +149,38 @@
|
|
149
149
|
```
|
150
150
|
|
151
151
|
```
|
152
|
-
$ flutter doctor
|
152
|
+
$ flutter doctor -v
|
153
|
-
Doctor summary (to see all details, run flutter doctor -v):
|
154
153
|
[✓] Flutter (Channel dev, v1.14.6, on Mac OS X 10.14.6 18G2022, locale ja-JP)
|
154
|
+
• Flutter version 1.14.6 at /Users/aaaaaaaa/flutter
|
155
|
+
• Framework revision fabeb2a16f (8 days ago), 2020-01-28 07:56:51 -0800
|
156
|
+
• Engine revision c4229bfbba
|
157
|
+
• Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)
|
155
158
|
|
159
|
+
|
160
|
+
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
|
161
|
+
• Android SDK at /Users/aaaaaaa/Library/Android/sdk
|
162
|
+
• Android NDK location not configured (optional; useful for native profiling support)
|
163
|
+
• Platform android-29, build-tools 29.0.3
|
164
|
+
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
|
165
|
+
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
|
166
|
+
• All Android licenses accepted.
|
156
167
|
|
168
|
+
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
|
169
|
+
• Xcode at /Applications/Xcode.app/Contents/Developer
|
170
|
+
• Xcode 11.3.1, Build version 11C504
|
171
|
+
• CocoaPods version 1.8.4
|
157
172
|
|
158
|
-
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
|
159
|
-
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
|
160
173
|
[✓] Android Studio (version 3.5)
|
174
|
+
• Android Studio at /Applications/Android Studio.app/Contents
|
175
|
+
• Flutter plugin version 43.0.1
|
176
|
+
• Dart plugin version 191.8593
|
177
|
+
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
|
178
|
+
|
161
179
|
[✓] Connected device (1 available)
|
180
|
+
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
|
162
181
|
|
163
182
|
• No issues found!
|
183
|
+
|
164
184
|
```
|
165
185
|
|
166
186
|
```
|
2
flutter doctor追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -148,8 +148,27 @@
|
|
148
148
|
}
|
149
149
|
```
|
150
150
|
|
151
|
+
```
|
152
|
+
$ flutter doctor
|
153
|
+
Doctor summary (to see all details, run flutter doctor -v):
|
154
|
+
[✓] Flutter (Channel dev, v1.14.6, on Mac OS X 10.14.6 18G2022, locale ja-JP)
|
151
155
|
|
152
156
|
|
157
|
+
|
158
|
+
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
|
159
|
+
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
|
160
|
+
[✓] Android Studio (version 3.5)
|
161
|
+
[✓] Connected device (1 available)
|
162
|
+
|
163
|
+
• No issues found!
|
164
|
+
```
|
165
|
+
|
166
|
+
```
|
167
|
+
$ ~/library/android/sdk/tools/bin/sdkmanager --list
|
168
|
+
No Java runtime present, requesting install.
|
169
|
+
```
|
170
|
+
|
171
|
+
|
153
172
|
もし解決策がわかったらご教授お願いします!
|
154
173
|
|
155
174
|
# その他試したこと
|
1
android/build.grableも載せました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -110,6 +110,46 @@
|
|
110
110
|
|
111
111
|
```
|
112
112
|
|
113
|
+
|
114
|
+
android/build.grableも載せます。
|
115
|
+
```ここに言語を入力
|
116
|
+
buildscript {
|
117
|
+
ext.kotlin_version = '1.3.50'
|
118
|
+
repositories {
|
119
|
+
google()
|
120
|
+
jcenter()
|
121
|
+
}
|
122
|
+
|
123
|
+
dependencies {
|
124
|
+
classpath 'com.android.tools.build:gradle:3.5.3'
|
125
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
126
|
+
classpath 'com.google.gms:google-services:4.3.3' // new
|
127
|
+
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
allprojects {
|
132
|
+
repositories {
|
133
|
+
google()
|
134
|
+
jcenter()
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
rootProject.buildDir = '../build'
|
139
|
+
subprojects {
|
140
|
+
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
141
|
+
}
|
142
|
+
subprojects {
|
143
|
+
project.evaluationDependsOn(':app')
|
144
|
+
}
|
145
|
+
|
146
|
+
task clean(type: Delete) {
|
147
|
+
delete rootProject.buildDir
|
148
|
+
}
|
149
|
+
```
|
150
|
+
|
151
|
+
|
152
|
+
|
113
153
|
もし解決策がわかったらご教授お願いします!
|
114
154
|
|
115
155
|
# その他試したこと
|