Fixed
Status Update
Comments
ry...@mercurydevelopment.com <ry...@mercurydevelopment.com> #2
AS: Chipmunk | 2021.2.1 Canary 5.
The problem is still there.
The problem is still there.
gh...@google.com <gh...@google.com> #3
Easy to reproduce on studio-main as well. I believe this is the cause:
ERROR - m.intellij.ui.mac.touchbar.NST - nst library was loaded, but can't be used:
java.lang.UnsatisfiedLinkError: Error looking up function 'releaseNativePeer': dlsym(0x20c071b60, releaseNativePeer): symbol not found
at com.sun.jna.Function.<init>(Function.java:252)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:600)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:576)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:562)
at com.sun.jna.Library$Handler.invoke(Library.java:243)
at com.intellij.ui.mac.touchbar.$Proxy124.releaseNativePeer(Unknown Source)
at com.intellij.ui.mac.touchbar.NST.loadLibrary(NST.java:81)
at com.intellij.ui.mac.touchbar.TouchbarSupport.initialize(TouchbarSupport.java:49)
at com.intellij.ui.mac.touchbar.TouchbarSupport.onApplicationLoaded(TouchbarSupport.java:128)
at com.intellij.idea.IdeStarterKt$postOpenUiTasks$1.run(IdeStarter.kt:223)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
I noticed that, upstream in IntelliJ, releaseNativePeer
is available in bin/mac/libnst64.dylib
. Whereas in Android Studio Chipmunk, it missing. In other words, our bin/mac/libnst64.dylib
file does not match the sources at native/MacTouchBar/src/TouchBar.m
.
Dana, do we need to update the native libraries in tools/idea/bin/...
?
da...@google.com <da...@google.com> #4
Unfortunately the source for build 7863073 isn't on android.googlesource.com but, internal to Google, see go/agw/platform/tools/idea/+log/67a2933a/bin/mac/libnst64.dylib.
ra...@google.com <ra...@google.com>
ya...@google.com <ya...@google.com> #5
fix would be available in Android Studio Chipmunk RC 2
Description
AI-212.5284.40.2112.7863073, JRE 11.0.12+0-b1504.28-7817840x64 JetBrains s.r.o., OS Mac OS X(x86_64) v12.0.1, screens 3360.0x2100.0; Retina
AS: Chipmunk | 2021.2.1 Canary 4; Kotlin plugin: 212-1.5.31-release-556-AS4638.7; Android Gradle Plugin: 7.2.0-alpha04; Gradle: 7.3; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)Source: user_sentiment_feedback
Steps:
1. Launch Android Studio
And there's no menu on Touch Bar.
There's no Touch Bar option in Settings > Appearance and Behavior > Menus and Toolbars.
On current Release version "Arctic Fox 2020.3.1" and "Bumblebee 2021.1.1 Beta 1" Touch Bar works fine.