質問編集履歴
3
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -142,9 +142,7 @@
|
|
142
142
|
|
143
143
|
|
144
144
|
|
145
|
-
|
145
|
+
(エラーはflutter123全てのアプリにおいて発生。)
|
146
|
-
|
147
|
-
(そのときrunしていたアプリであったから..?でしょうか..?)
|
148
146
|
|
149
147
|
|
150
148
|
|
2
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -142,6 +142,12 @@
|
|
142
142
|
|
143
143
|
|
144
144
|
|
145
|
+
また、上記エラーはflutter1・2のみで、flutter3では正常に動作しました。
|
146
|
+
|
147
|
+
(そのときrunしていたアプリであったから..?でしょうか..?)
|
148
|
+
|
149
|
+
|
150
|
+
|
145
151
|
```Flutter
|
146
152
|
|
147
153
|
rootProject.buildDir = '../build'
|
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,85 @@
|
|
87
87
|
|
88
88
|
|
89
89
|
尚、僕のアプリは公開前なのでApplication IDの変更の弊害はないかと思います。
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
### エラー追記
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
```error
|
100
|
+
|
101
|
+
FAILURE: Build failed with an exception.
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
* Where:
|
106
|
+
|
107
|
+
Build file 'C:\Users\81907\AndroidStudioProjects\flutter1\android\build.gradle' line: 28
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
* What went wrong:
|
112
|
+
|
113
|
+
A problem occurred evaluating root project 'android'.
|
114
|
+
|
115
|
+
> Project with path 'android' could not be found in project ':app'.
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
* Try:
|
120
|
+
|
121
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
* Get more help at https://help.gradle.org
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
BUILD FAILED in 2s
|
130
|
+
|
131
|
+
Exception: Gradle task assembleDebug failed with exit code 1
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
---
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
尚、```C:\Users\81907\AndroidStudioProjects\flutter1\android\build.gradle' line: 28```は以下です。
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
```Flutter
|
146
|
+
|
147
|
+
rootProject.buildDir = '../build'
|
148
|
+
|
149
|
+
subprojects {
|
150
|
+
|
151
|
+
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
152
|
+
|
153
|
+
}
|
154
|
+
|
155
|
+
subprojects {
|
156
|
+
|
157
|
+
project.evaluationDependsOn(':app') <--------line: 28
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
task clean(type: Delete) {
|
164
|
+
|
165
|
+
delete rootProject.buildDir
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
```
|