snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
47 stars 16 forks source link

[Bug]: Layout Design #134

Closed fenghuan1994 closed 2 months ago

fenghuan1994 commented 2 months ago

What happened?

when i create a layout.xml,i want to design ,but the studio exception. 100% java_error_in_studio_169804.log

What should have happened?

not exception

Output of snap info $snap_name

name:      android-studio
summary:   The IDE for Android
publisher: Snapcrafters✪
store-url: https://snapcraft.io/android-studio
contact:   https://github.com/snapcrafters/android-studio/issues
license:   unset
description: |
  Android Studio provides the fastest tools for building apps on every type
  of Android device.

  World-class code editing, debugging, performance tooling, a flexible build
  system, and an instant build/deploy system all allow you to focus on
  building unique and high quality apps.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - android-studio
snap-id:      VNTeIi51l6cIZ1gaWHwx0PoP7JaCb61c
tracking:     latest/stable
refresh-date: 2 天前,于 20:36(美国山区标准时间)
channels:
  latest/stable:    2023.2.1.25-Iguana 2024-04-11 (153) 1GB classic
  latest/candidate: 2023.2.1.25-Iguana 2024-04-10 (153) 1GB classic
  latest/beta:      ↑                                       
  latest/edge:      2023.2.1.25-Iguana 2024-04-11 (154) 1GB classic
installed:          2023.2.1.25-Iguana            (153) 1GB classic

Output of snap connections $snap_name

snap connections $snap_name android-studio
or snap connections android-studio 
nothing to show

Output of snap version

snap    2.61.3+20.04
snapd   2.61.3+20.04
series  16
ubuntu  20.04
kernel  5.15.0-102-generic

Relevant log output

see https://github.com/snapcrafters/android-studio/files/14965587/java_error_in_studio_169804.log

Teminal output of app

see https://github.com/snapcrafters/android-studio/files/14965587/java_error_in_studio_169804.log
fenghuan1994 commented 2 months ago

I try to change jdk17 ii openjdk-17-jdk:amd64 17.0.10+7-1~20.04.1 amd64 OpenJDK Development Kit (JDK) ii openjdk-17-jdk-headless:amd64 17.0.10+7-1~20.04.1 amd64 OpenJDK Development Kit (JDK) (headless) ii openjdk-17-jre:amd64 17.0.10+7-1~20.04.1 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-17-jre-headless:amd64 17.0.10+7-1~20.04.1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) or studio owner jdk17. also exception

fenghuan1994 commented 2 months ago

reinstall is ok