Status Update
Comments
mu...@gmail.com <mu...@gmail.com> #2
Thanks for the excellent bug report!
no...@gmail.com <no...@gmail.com> #3
🥰
fe...@gmail.com <fe...@gmail.com> #4
Ime is not necessary part of repro, relayout does it.
@Composable
private fun TextCrash() {
val infiniteTransition = rememberInfiniteTransition(label = "infinite transition")
val padding by infiniteTransition.animateFloat(
initialValue = 0f,
targetValue = 50f,
animationSpec = infiniteRepeatable(tween(1000), RepeatMode.Reverse),
label = "I like to move it move it"
)
Box(
modifier = Modifier
.padding(padding.toInt().dp)
.fillMaxSize(),
contentAlignment = Alignment.Center
) {
Column(verticalArrangement = Arrangement.spacedBy(12.dp)) {
Text(
text = "Hello Android!".repeat(5),
textAlign = TextAlign.Center,
letterSpacing = 1.sp,
overflow = TextOverflow.Ellipsis,
maxLines = 1
)
}
}
}
ro...@gmail.com <ro...@gmail.com> #5
This is the minimal TextStyle to repro
ra...@google.com <ra...@google.com>
al...@gmail.com <al...@gmail.com> #6
TextStyle(
textAlign = TextAlign.Center,
letterSpacing = 1.sp,
lineHeight = 24.sp,
lineHeightStyle = LineHeightStyle(
alignment = LineHeightStyle.Alignment.Center,
trim = LineHeightStyle.Trim.None,
mode = LineHeightStyle.Mode.Fixed
),
)
al...@gmail.com <al...@gmail.com> #7
Fix coming. Will see if I can get it into 1.8-beta01.
ya...@google.com <ya...@google.com> #8
Amazing! That was super quick)
ya...@google.com <ya...@google.com>
[Deleted User] <[Deleted User]> #9
Excellent bug report and I had some idle cycles this week :)
rh...@css-design.com <rh...@css-design.com> #10
ta...@gmail.com <ta...@gmail.com> #11
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
This new patch introduced a regression on Ubuntu 20.04.
2022-05-25 21:34:45,988 [ 3192] WARN - pl.local.NativeFileWatcherImpl - /home/username/android-studio/bin/fsnotifier: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/username/android-studio/bin/fsnotifier)
2022-05-25 21:34:45,988 [ 3192] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 1
2022-05-25 21:34:45,991 [ 3195] WARN - api.vfs.impl.local.FileWatcher - File watcher failed repeatedly and has been disabled
Ubuntu 20.04 LTS only offers glibc 2.31.
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Fixed the error by copying fsnotifier
from another JetBrains IDE.
ya...@google.com <ya...@google.com>
se...@gmail.com <se...@gmail.com> #12
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-113-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: Dart (212.5744), org.jetbrains.kotlin (212-1.6.21-release-334-AS5457.46), io.flutter (68.0.2)
Current Desktop: X-Cinnamon
ya...@google.com <ya...@google.com> #13
There is a dependency in GLIBC installed in a system, and same Android Studio version could work fine on one linux machine while fails on another.
We are working on fix. Thanks for a patience continue using workaround meanwhile if you get File watcher failed repeatedly and has been disabled
error in logs.
dk...@3cx.com <dk...@3cx.com> #14
Yes, the same error happens on my Ubuntu 20.04.4:
2022-06-02 18:21:58,195 [ 1095] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/dmitry/Android/Studio/bin/fsnotifier
2022-06-02 18:21:58,195 [ 1095] WARN - pl.local.NativeFileWatcherImpl - /home/dmitry/Android/Studio/bin/fsnotifier: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/dmitry/Android/Studio/bin/fsnotifier)
2022-06-02 18:21:58,195 [ 1095] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 1
sp...@gmail.com <sp...@gmail.com> #15
Thanks it works.
for anyone using flatpak build
The path is /var/lib/flatpak/app/com.google.AndroidStudio/x86_64/stable/active/files/extra/android-studio/bin/
na...@gmail.com <na...@gmail.com> #16
I had the same issue with
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.10.102.1-microsoft-standard-wsl2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 14
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.7.0-release-281-AS5457.46)
Current Desktop: Undefined
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
and I fixed it with the same idea than
wget https://github.com/JetBrains/intellij-community/raw/master/bin/linux/fsnotifier -O REPLACEME/android-studio/bin/fsnotifier
chmod +x REPLACEME/android-studio/bin/fsnotifier
CHECK with: REPLACEME/android-studio/bin/fsnotifier --selftest
ne...@gmail.com <ne...@gmail.com> #17
fsnotifier: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=726b166e1641807a2cef4525f2b8bcd0b3cffed7, for GNU/Linux 3.2.0, not stripped
I have found that my glibc has no GLIBC_2.33 later. I will make my request closed. :
$strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC | tail
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_PRIVATE
GNU C Library (Debian GLIBC 2.28-10+deb10u1) stable release version 2.28.
mr...@gmail.com <mr...@gmail.com> #18
xi...@turingvideo.com <xi...@turingvideo.com> #19
It always shows "External file changes sync may be slow: File watcher failed repeatedly and has been disabled".
What is the cause and how can I dismiss this warning message ?
thanks
ra...@gmail.com <ra...@gmail.com> #20
The workaround is to replace the file fsnotifier in your Android Studio binary directory with one from another JetBrains IDE, say Intellij Idea. You can download the file here:
If you're running Android Studio as a snap like myself, unfortunately you're gonna have to wait for this problem to (hopefully) get fixed on the next minor release.
mr...@gmail.com <mr...@gmail.com> #21
su...@gmail.com <su...@gmail.com> #22
after
this add do
>>>>>> <option name="delegatedBuild" value="false" /> <<<<<<<<<<<<<<<<<<<<
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
>>>>>>>>>>>>>>>>>> <option name="delegatedBuild" value="false" /> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
</GradleProjectSettings>
</option>
</component>
</project>
ya...@google.com <ya...@google.com> #23
this is fixed in Android Studio Electric Eel - please update Studio if you are on canary canary.
and fix would be available on next Dolphin and Chipmunk releases as well.
ra...@gmail.com <ra...@gmail.com> #24
My system is running Ubuntu 20.04.4 LTS
Getting this associated warning on Android Studio startup multiple times:
WARN - pl.local.NativeFileWatcherImpl - /snap/android-studio/123/android-studio/bin/fsnotifier: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /snap/android-studio/123/android-studio/bin/fsnotifier)
WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 1
And on the notifications:
External file sync changes may be slow
File watcher failed repeatedly and has been disabled
I checked and I clearly don't have GLIBC version 2.33 in my system:
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_2.29
GLIBC_2.30
GLIBC_PRIVATE
GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9.9) stable release version 2.31.
It's also not generally recommended to manually install the latest GLIBC on a system as described here:
Any chance this will be fixed on the next patch release?
ha...@ornl.gov <ha...@ornl.gov> #25
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 4.18.0-394.el8.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.7.10-release-333-AS5457.46)
Current Desktop: GNOME
ne...@gmail.com <ne...@gmail.com> #26
It looks working however it has a different image from my own compile version on Debian Bullseye.
$file projects/fsnotifier/fsnotifier && file ~/Downloads/fsnotifier
projects/fsnotifier/fsnotifier: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=358a3c86714f29c23ada3e11d528b764f8022407, for GNU/Linux 3.2.0, not stripped
Downloads/fsnotifier: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped
Downloaded version is that from IntelliJ GitHub.
ah...@avirohealth.com <ah...@avirohealth.com> #28
ya...@google.com <ya...@google.com> #29
Android Studio Chipmunk Patch 2 is released please update to latest version to resolve fsnotifier issue.
gr...@gmail.com <gr...@gmail.com> #30
Looks good now. Thank you.
gm...@gmail.com <gm...@gmail.com> #31
Yeah, seems to be fixed in Chipmunk Patch 2. :)
For some reason this isn't mentioned in the
ra...@gmail.com <ra...@gmail.com> #32
Since Ubuntu's first point release is now available, I upgraded to Jammy Jellyfish and this problem is gone.
Description
Build: AI-213.6777.52.2113.8305692, 202203160046,
AI-213.6777.52.2113.8305692, JRE 11.0.13+0-b1751.21-8125866x64 JetBrains s.r.o., OS Linux(amd64) v5.13.0-35-generic, screens 3440.0x1440.0
AS: Dolphin | 2021.3.1 Canary 7; Kotlin plugin: 213-1.6.20-M1-release-for-android-studio-AS6777.52; Android Gradle Plugin: 7.3.0-alpha07; Gradle: 7.4; Gradle JDK: version 11.0.13;
I have done a clean installation of Ubuntu 20.04, downloaded latest Android Studio(canary and lates bumblebee) and on every start warning appears "File watcher failed to start" or in idea.log:
Launching fsnotifier from command line gives the same error. Note: flag executable is set on this file.
The only workaround I have found that works - download Intellij Idea and copy fsnotifier from its bin folder. With this version of fsnotifier Android Studio successfully launches fsnotifier.