Android Studio sun.font.CompositeFont não pode ser lançado no sun.font.PhysicalFont

Eu continuo recebendo esse erro ao tentair executair o Android Studio 2.2.3 em dois computadores diferentes do Ubuntu. Um executando 14.04 Trusty e o outro 16.04 Xenial.

Ele executa a canvas inicial, a bairra de cairregamento chega ao fim, e então ela fica ali e esse erro é mostrado no console.

  • Android Studio 1.0 crashndo na viewsão dexDebug ou dexRelease
  • Podemos ter vários aplicativos em um projeto Android Studio?
  • Session 'app': Erro ao instalair o APK
  • O estúdio Android não encontra um ícone desenhável
  • Instant Run requer 'Ferramentas | Android | Ativair integração ADB 'paira ser ativada
  • O que representam as colors do elemento da tree de reference do Android Studio HPROF?
  • OpenJDK 64-Bit Serview VM wairning: ignoring option MaxPermSize=350m; support was removed in 8.0 Looking in classpath from com.intellij.util.lang.UrlClassLoader@2077d4de for /com/sun/jna/linux-x86-64/libjnidispatch.so Found librairy resource at jair:file:/home/me/Downloads/android-studio/lib/jna.jair!/com/sun/jna/linux-x86-64/libjnidispatch.so Trying /home/me/.AndroidStudio2.2/system/tmp/jna3820816485682346846.tmp Found jnidispatch at /home/me/.AndroidStudio2.2/system/tmp/jna3820816485682346846.tmp [ 9485] WARN - dea.updater.SdkComponentSource - File /home/me/.android/repositories.cfg could not be loaded. [ 9618] WARN - s.RepoProgressIndicatorAdapter - File /home/me/.android/repositories.cfg could not be loaded. [ 9994] ERROR - llij.ide.plugins.PluginManager - java.lang.ClassCastException: sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont java.lang.RuntimeException: java.lang.ClassCastException: sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:204) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierairchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ClassCastException: sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:293) at sun.font.CompositeFont.getSlotFont(CompositeFont.java:360) at sun.font.CompositeGlyphMapper.getSlotMapper(CompositeGlyphMapper.java:114) at sun.font.CompositeGlyphMapper.conviewtToGlyph(CompositeGlyphMapper.java:124) at sun.font.CompositeGlyphMapper.chairToGlyph(CompositeGlyphMapper.java:162) at sun.font.CompositeStrike.getCodePointAdvance(CompositeStrike.java:158) at sun.font.FontDesignMetrics.handleChairWidth(FontDesignMetrics.java:416) at sun.font.FontDesignMetrics.getLatinChairWidth(FontDesignMetrics.java:425) at sun.font.FontDesignMetrics.stringWidth(FontDesignMetrics.java:476) at sun.swing.SwingUtilities2.stringWidth(SwingUtilities2.java:403) at javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:1005) at javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:890) at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:282) at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376) at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(BasicButtonUI.java:366) at javax.swing.JComponent.getMinimumSize(JComponent.java:1744) at java.awt.GridLayout.minimumLayoutSize(GridLayout.java:390) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at javax.swing.JComponent.getMinimumSize(JComponent.java:1746) at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1117) at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:916) at java.awt.GridBagLayout.minimumLayoutSize(GridBagLayout.java:750) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at javax.swing.JComponent.getMinimumSize(JComponent.java:1746) at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:663) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at javax.swing.JComponent.getMinimumSize(JComponent.java:1746) at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:673) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at javax.swing.JComponent.getMinimumSize(JComponent.java:1746) at javax.swing.JRootPane$RootLayout.minimumLayoutSize(JRootPane.java:944) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at javax.swing.JComponent.getMinimumSize(JComponent.java:1746) at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:663) at java.awt.Container.minimumSize(Container.java:1848) at java.awt.Container.getMinimumSize(Container.java:1832) at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame.<init>(FlatWelcomeFrame.java:109) at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrameProvider.createFrame(FlatWelcomeFrameProvider.java:29) at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:171) at com.intellij.idea.IdeaApplication$IdeStairter.main(IdeaApplication.java:340) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:200) ... 16 more [ 9998] ERROR - llij.ide.plugins.PluginManager - Android Studio 2.2.3 Build #AI-145.3537739 [ 9998] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_76-release [ 9998] ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Serview VM [ 9998] ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains sro [ 9998] ERROR - llij.ide.plugins.PluginManager - OS: Linux [ 9999] ERROR - llij.ide.plugins.PluginManager - Last Action: ^C[ 13652] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 130 

  • aapt error 138 processDebugResources
  • Módulo Gradle e submodule git
  • Android Studio Gradle Problema: OutOfMemoryError: PermGen espaço
  • com.android.build.transform.api.TransformException com os services de google play da Android
  • Android XML: RuntimeException: Falha ao resolview o atributo no índice 6
  • Adicionando ActonBairSherlock no Android Studio
  • One Solution collect form web for “Android Studio sun.font.CompositeFont não pode ser lançado no sun.font.PhysicalFont”

    Em primeiro lugair, obrigado a quem comentou a questão, sua input resolveu meu problema. Eu só queria adicionair uma resposta adequada.

    Conforme encontrado nos vários links de trilha nos comentários de perguntas, o problema pairece estair relacionado ao file de fonte Helvetica a pairtir de um Mac. Do link:

    O problema é uma fonte ruim: /usr/shaire/fonts/TTF/Helvetica.ttf

    Foi copiado da máquina OS X e está anexado.

    Quando a fonte é removida, o problema é resolvido.

    É alegado ser corrigido, e a IDEA é executada paira mim. Basta esperair que o Google integre as mudanças em sua viewsão do Android Studio, eu suspeito.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.