Fixed
Status Update
Comments
su...@google.com <su...@google.com> #2
Found suddenly that this process has run for 3 hours !!
Shouldn't AS tell me that another builds was going on ?
By the way, it has never run for 3 hours before...
RG
Shouldn't AS tell me that another builds was going on ?
By the way, it has never run for 3 hours before...
RG
be...@gmail.com <be...@gmail.com> #3
Thinking back for three hours, I may have tried to stop the build process by clicking on the gray x behind "Gradle bulding..." message on the AS status bar. All seemed OK then...
RG
RG
be...@gmail.com <be...@gmail.com> #4
FYI theese are the AS related applications running during theese hours...
ra...@google.com <ra...@google.com> #5
Saving project and restarting AS solved the problem so far...
be...@gmail.com <be...@gmail.com> #6
Breaktrhrough !!
If you try to stop the build process when app:transformDexWithInstantRunSlicesApkForDebug is executing, the build will "hang" in "Execute transform". The AS statusbar might show "Gradle build finished in xxs yyyms.
To remedy this situation and do a recompile, you need to restart AS.
See picture of situation.
RG
If you try to stop the build process when app:transformDexWithInstantRunSlicesApkForDebug is executing, the build will "hang" in "Execute transform". The AS statusbar might show "Gradle build finished in xxs yyyms.
To remedy this situation and do a recompile, you need to restart AS.
See picture of situation.
RG
su...@google.com <su...@google.com> #7
How to reproduce:
1. Start building your project ("F10" or "Play button on action bar" or "Run -> Run App")
2. "You discovered an error in your code, and want to stop the build process".
3. Open your Build window, and show the processes ( not the log ).
3. Let the build process reach at least ":app:transformDexWithInstantRunSlicesApkForDebug"
4. Stop the build process by clicking the gray "cancel" button on far right of the status bar (x) (showing the build progress). See picture "notstopped_01"
5. The status bar shows "Stopping - Gradle Build Running". See picture "notstopped_02"
6. After a while the status bar shows nothing in the status bar in the middle, to the right the progressbar is disappeared and to the left following message is shown "Gradle build finished". See picture "notstopped_03"
7. The "task list" still shows that the process is running ":app:transformDexWithInstantRunSlicesApkForDebug".
8. If you try to Run the app again with "Run -> Run App " it will not build or start.
Build log also attached.
RG
1. Start building your project ("F10" or "Play button on action bar" or "Run -> Run App")
2. "You discovered an error in your code, and want to stop the build process".
3. Open your Build window, and show the processes ( not the log ).
3. Let the build process reach at least ":app:transformDexWithInstantRunSlicesApkForDebug"
4. Stop the build process by clicking the gray "cancel" button on far right of the status bar (x) (showing the build progress). See picture "notstopped_01"
5. The status bar shows "Stopping - Gradle Build Running". See picture "notstopped_02"
6. After a while the status bar shows nothing in the status bar in the middle, to the right the progressbar is disappeared and to the left following message is shown "Gradle build finished". See picture "notstopped_03"
7. The "task list" still shows that the process is running ":app:transformDexWithInstantRunSlicesApkForDebug".
8. If you try to Run the app again with "Run -> Run App " it will not build or start.
Build log also attached.
RG
be...@gmail.com <be...@gmail.com> #8
In AS 3.1 Canary 9:
Starting Build First time. Stopping Build First time, same result as above (except pt 8.).
Starting Build Second time. New process is made, launching a process window showing both the "running" process (which is really stopped) and the new one.
Let the Second Build run out, and seems that this one is launched, but the first is still "running".
See picture.
RG
Starting Build First time. Stopping Build First time, same result as above (except pt 8.).
Starting Build Second time. New process is made, launching a process window showing both the "running" process (which is really stopped) and the new one.
Let the Second Build run out, and seems that this one is launched, but the first is still "running".
See picture.
RG
su...@google.com <su...@google.com> #9
Sorry typo above, it was AS 3.2 Canary 3, not AS 3.1 Canary 9...
RG
RG
ra...@google.com <ra...@google.com> #10
Checking further down the line:
It is not necessary to stop the process at pt 3. int the reproduce description above. You could try to stop the process in any step, and process window shows "running" process still.
If you start and stops subsequently, more "processes are made", and I cannot say they will influence each other.
Restarting AS still seems to remedy the situation though.
RG
It is not necessary to stop the process at pt 3. int the reproduce description above. You could try to stop the process in any step, and process window shows "running" process still.
If you start and stops subsequently, more "processes are made", and I cannot say they will influence each other.
Restarting AS still seems to remedy the situation though.
RG
su...@google.com <su...@google.com> #12
Reproduced in
Android Studio 3.2 Canary 2
Build #AI-173.4591728, built on February 7, 2018
JRE: 1.8.0_152-release-1024-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-5-amd64
Android Studio 3.2 Canary 2
Build #AI-173.4591728, built on February 7, 2018
JRE: 1.8.0_152-release-1024-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-5-amd64
Description