Android Studio Keeps Crashing When Opening "navigation.xml" File - android

My project involved a navigation component but every time I try to edit my navigation.xml file, Android Studio will be crashed and I have to reopen it to get a macOS crash report. I have no clue how this happens, any solution?
Android Studio 4.1
Build #AI-201.8743.12.41.6858069, built on September 23, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: org.jetbrains.kotlin

Related

how to resolve android studio Failed to initialize server: com.jetbrains.cidr.lang.daemon.clang.clangd.lsp.server.ClangServerAccessorImpl

When I add c++ to an existing android sub module in android studio version
Android Studio Giraffe | 2022.3.1 Canary 2
Build #AI-223.7571.182.2231.9523943, built on January 25, 2023
Runtime version: 17.0.5+0-17.0.5b653.25-9484017 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.images.show.chessboard=true
Non-Bundled Plugins:
com.android.aas (3.5.1)
I get this message
Failed to initialize server: com.jetbrains.cidr.lang.daemon.clang.clangd.lsp.server.ClangServerAccessorImpl$FatalErrorException: Version of clion-clangd is 72, but expected version is 74
and the example (commented out) c++ file has this message at the top
what is causing this issue and how do i fix it?

Android emulator crashes when I use CMD+Q tu close it on M1 MBP

I have Android Studio installed on my M1 MBP:
Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 16, 2022
Runtime version: 11.0.11+0-b60-7772763 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (211-1.6.21-release-334-AS7442.40)
When I use CMD+Q to close the emulator I get this crash:
If I use close button of the emulator it works fine.
Here is the full crash log: https://codeshare.io/xvx3Xk
Is there anyone who nows a solution to fix this?

SNPE Android App Build Error. "invalid content"

Whenever I try building any SNPE Android Project(from Github). I get this error.
"cvc-complex-type.2.4.a: invalid content was found starting with element 'base-extension'. one of '{layoutlib}' is expected."
My OS: Windows 10
ANDROID STUIO DETAILS
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.intellij.plugins.markdown (211.7142.37)

Getting Failed to create Jar file /.gradle/caches/jars-8/3ad27c41282f0b1cf50a8248be075dfa/aspectjtools-1.8.13.jar

Failed to create Jar file /.gradle/caches/jars-8/3ad27c41282f0b1cf50a8248be075dfa/aspectjtools-1.8.13.jar.
Using mac m1 pro and android studio
Android Studio Bumblebee | 2021.1.1 Beta 4
Build #AI-211.7628.21.2111.7905991, built on November 11, 2021
Runtime version: 11.0.11+0-b60-7772763 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 10
Registry: external.system.auto.import.disabled=true
Any help appriciated.

Unable to detect a live inspection service. To enable live inspections, restart the device

Anybody who has had same problem with android studio and found a solution please share solution. Android Studio Version:
Android Studio Arctic Fox | 2020.3.1 Patch 2
Build #AI-203.7717.56.2031.7678000, built on August 27, 2021
Runtime version: 11.0.10+0-b96-7249189 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: Lombook Plugin, com.thoughtworks.gauge, org.jetbrains.kotlin, com.google.mad-scorecard, org.intellij.plugins.markdown
Unable to detect a live inspection service. To enable live inspections, restart the device

Categories

Resources