iMac(2012Late)にてOSをHigh SierraからCatalinaにアップグレードした後
それまで問題なかったAndroid Studio(3.5)で、起動後のGradle Buildが終わらなくなりました
設定、SDK、Gradle含め、Android Studio関連を全て削除し
1から最新のAndroid Studio(3.6.1)をインストールし、まっさらな状態でプロジェクトを作成しても同じ状況で
ビルドコンソールには
Gradle Daemon started in 902 ms
Gradle Daemon started in 817 ms
Gradle Daemon started in 838 ms
Gradle Daemon started in 817 ms
・・・といった具合でstart Gradleが無限ループを返しているようです
システム等は以下のようになっております
=== About ===
Build version: Android Studio 3.6.1 Build #AI-192.7142.36.36.6241897 February 27, 2020
Java version: 1.8.0_212-release-1586-b4-5784211x86_64
Operating System: Mac OS X (10.15.4, x86_64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o
=== System ===
Number of CPU: 8
Used memory: 225Mb
Free memory: 122Mb
Total memory: 347Mb
Maximum available memory: 1237Mb
=== Plugins ===
Custom plugins: []
Disabled plugins:[]
GradleはAndroidStudioがDLした最新の5.6.4
以下がGradleのログになります
log
106:37:20.014 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonMain] Assuming the daemon was started with following jvm opts: [-Xmx1536m, -Dfile.encoding=UTF-8, -Duser.country=JP, -Duser.language=ja, -Duser.variant] 206:37:20.128 [INFO] [org.gradle.launcher.daemon.server.Daemon] start() called on daemon - DefaultDaemonContext[uid=40623ccc-d3d3-483a-9c4b-a5bb895ebb7b,javaHome=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home,daemonRegistryDir=/Users/iMac/.gradle/daemon,pid=1296,idleTimeout=10800000,priority=NORMAL,daemonOpts=-Xmx1536m,-Dfile.encoding=UTF-8,-Duser.country=JP,-Duser.language=ja,-Duser.variant] 306:37:20.152 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface utun1 406:37:20.152 [DEBUG] [同上] Is this a loopback interface? false 506:37:20.152 [DEBUG] [同上] Adding remote address /fe80:0:0:0:275f:f19b:a2d3:10aa%utun1 606:37:20.153 [DEBUG] [同上] Adding IP addresses for network interface utun0 706:37:20.153 [DEBUG] [同上] Is this a loopback interface? false 806:37:20.155 [DEBUG] [同上] Adding remote address /fe80:0:0:0:6d5:7c5c:aafb:5e7%utun0 906:37:20.156 [DEBUG] [同上] Adding IP addresses for network interface awdl0 1006:37:20.156 [DEBUG] [同上] Is this a loopback interface? false 1106:37:20.157 [DEBUG] [同上] Adding remote address /fe80:0:0:0:a814:eeff:fe1b:69ef%awdl0 1206:37:20.157 [DEBUG] [同上] Adding IP addresses for network interface en9 1306:37:20.158 [DEBUG] [同上] Is this a loopback interface? false 1406:37:20.158 [DEBUG] [同上] Adding remote address /fe80:0:0:0:18de:81e1:be74:1829%en9 1506:37:20.158 [DEBUG] [同上] Adding remote address /169.254.248.93 1606:37:20.159 [DEBUG] [同上] Adding IP addresses for network interface en1 1706:37:20.159 [DEBUG] [同上] Is this a loopback interface? false 1806:37:20.159 [DEBUG] [同上] Adding remote address /2405:6587:f220:3100:d5c5:3e94:c7ee:5e6c%en1 1906:37:20.160 [DEBUG] [同上] Adding remote address /2405:6587:f220:3100:8a:7250:ee14:d4cc%en1 2006:37:20.160 [DEBUG] [同上] Adding remote address /fe80:0:0:0:1caf:c456:7ee4:9ad4%en1 2106:37:20.160 [DEBUG] [同上] Adding remote address /192.168.0.3 2206:37:20.160 [DEBUG] [同上] Adding IP addresses for network interface lo0 2306:37:20.161 [DEBUG] [同上] Is this a loopback interface? true 2406:37:20.161 [DEBUG] [同上] Ignoring remote address on loopback interface /fe80:0:0:0:0:0:0:1%lo0 2506:37:20.161 [DEBUG] [同上] Adding loopback address /0:0:0:0:0:0:0:1%lo0 2606:37:20.161 [DEBUG] [同上] Adding loopback address /127.0.0.1 2706:37:20.165 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpIncomingConnector] Listening on [bb5ca034-c5e5-464f-b19e-1240ea41ca58 port:49582, addresses:[/0:0:0:0:0:0:0:1%lo0, /127.0.0.1]]. 2806:37:20.168 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon starting at: Sat Mar 28 06:37:20 JST 2020, with address: [bb5ca034-c5e5-464f-b19e-1240ea41ca58 port:49582, addresses:[/0:0:0:0:0:0:0:1%lo0, /127.0.0.1]] 2906:37:20.169 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertising the daemon address to the clients: [bb5ca034-c5e5-464f-b19e-1240ea41ca58 port:49582, addresses:[/0:0:0:0:0:0:0:1%lo0, /127.0.0.1]] 3006:37:20.169 [DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertised daemon context: DefaultDaemonContext[uid=40623ccc-d3d3-483a-9c4b-a5bb895ebb7b,javaHome=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home,daemonRegistryDir=/Users/iMac/.gradle/daemon,pid=1296,idleTimeout=10800000,priority=NORMAL,daemonOpts=-Xmx1536m,-Dfile.encoding=UTF-8,-Duser.country=JP,-Duser.language=ja,-Duser.variant] 3106:37:20.170 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing daemon address: [bb5ca034-c5e5-464f-b19e-1240ea41ca58 port:49582, addresses:[/0:0:0:0:0:0:0:1%lo0, /127.0.0.1]], context: DefaultDaemonContext[uid=40623ccc-d3d3-483a-9c4b-a5bb895ebb7b,javaHome=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home,daemonRegistryDir=/Users/iMac/.gradle/daemon,pid=1296,idleTimeout=10800000,priority=NORMAL,daemonOpts=-Xmx1536m,-Dfile.encoding=UTF-8,-Duser.country=JP,-Duser.language=ja,-Duser.variant] 3206:37:20.179 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 3306:37:20.182 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 3406:37:20.190 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 3506:37:20.191 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon server started. 3606:37:20.193 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed writing the daemon greeting. Closing streams... 3706:37:20.198 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpIncomingConnector] Accepted connection from /127.0.0.1:49583 to /127.0.0.1:49582. 3806:37:20.199 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] stopOnExpiration() called on daemon 3906:37:20.200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] awaitExpiration() called on daemon 4006:37:20.200 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes. 41↓ 4206:37:30.200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running 4306:37:30.204 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 4406:37:30.204 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 4506:37:30.205 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 4606:37:30.205 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 4706:37:30.205 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 4806:37:30.206 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 4906:37:30.207 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 5006:37:30.207 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 5106:37:30.208 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 52↑ このログの繰り返し 53 5406:39:20.211 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: null. 5506:39:20.211 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: stopping connection 5606:39:20.213 [DEBUG] [org.gradle.internal.remote.internal.inet.SocketConnection] Discarding EOFException: java.io.EOFException 5706:39:20.213 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 17: received null 5806:39:20.213 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 17: Received end-of-input from client. 5906:39:20.214 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: stopping connection 60 61また先ほどのログの繰り返し 62
本体再インストールにもかかわらず問題が発生し
Gradleの知識も無いので問題の見当がつかない状況です。
何か分かる方がおられましたら、よろしくお願いいたします。
あなたの回答
tips
プレビュー