I installed 2 plugins, 1 is ASM bytecode viewer, the other is ASM bytecode viewer for kotlin, then my Android studio can't start... I checked the low of AS and realized that there is a duplicated installed, may I ask how should I get my AS back by removing unecessary ASM bytecode viewer?
2022-12-04 19:36:47,567 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2022-12-04 19:36:47,595 [ 28] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/Android Studio.app/Contents/bin/printenv.py' '/var/folders/23/fhstgrf11p523zqv5b4z1zqw0000gn/T/intellij-shell-env.11475173051245961351.tmp'
2022-12-04 19:36:47,612 [ 45] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-203.7717.56.2031.7935034, 21 Nov 2021 13:35)
2022-12-04 19:36:47,614 [ 47] INFO - #com.intellij.idea.Main - OS: Mac OS X (12.6, x86_64)
2022-12-04 19:36:47,626 [ 59] INFO - #com.intellij.idea.Main - JRE: 11.0.10+0-b96-7281165 (JetBrains s.r.o.)
2022-12-04 19:36:47,626 [ 59] INFO - #com.intellij.idea.Main - JVM: 11.0.10+0-b96-7281165 (OpenJDK 64-Bit Server VM)
2022-12-04 19:36:47,630 [ 63] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Djna.nosys=true -Djna.boot.library.path= -Didea.vendor.name=Google -XX:ErrorFile=/Users/savypan/java_error_in_studio_%p.log -XX:HeapDumpPath=/Users/savypan/java_error_in_studio.hprof -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.paths.selector=AndroidStudio2020.3 -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.vendor.name=Google -Didea.home.path=/Applications/Android Studio.app/Contents
2022-12-04 19:36:47,631 [ 64] INFO - #com.intellij.idea.Main - library path: /Users/savypan/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2022-12-04 19:36:47,631 [ 64] INFO - #com.intellij.idea.Main - boot library path: /Applications/Android Studio.app/Contents/jre/Contents/Home/lib
2022-12-04 19:36:47,671 [ 104] INFO - #com.intellij.idea.Main - locale=en_CN JNU=UTF-8 file.encoding=UTF-8
idea.config.path=/Users/savypan/Library/Application Support/Google/AndroidStudio2020.3
idea.system.path=/Users/savypan/Library/Caches/Google/AndroidStudio2020.3
idea.plugins.path=/Users/savypan/Library/Application Support/Google/AndroidStudio2020.3/plugins
idea.log.path=/Users/savypan/Library/Logs/Google/AndroidStudio2020.3
2022-12-04 19:36:47,749 [ 182] WARN - .intellij.util.EnvironmentUtil - can't get shell environment
java.lang.RuntimeException: command [/bin/bash, -l, -i, -c, '/Applications/Android Studio.app/Contents/bin/printenv.py' '/var/folders/23/fhstgrf11p523zqv5b4z1zqw0000gn/T/intellij-shell-env.11475173051245961351.tmp']
exit code:127 text:0 out:bash: no job control in this shell
env: python: No such file or directory
at com.intellij.util.EnvironmentUtil$ShellEnvReader.runProcessAndReadOutputAndEnvs(EnvironmentUtil.java:353)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.readShellEnv(EnvironmentUtil.java:254)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.readShellEnv(EnvironmentUtil.java:269)
at com.intellij.util.EnvironmentUtil.getShellEnv(EnvironmentUtil.java:204)
at com.intellij.util.EnvironmentUtil.lambda$loadEnvironment$0(EnvironmentUtil.java:106)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2022-12-04 19:36:48,001 [ 434] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 328 ms
2022-12-04 19:36:48,249 [ 682] INFO - ntellij.idea.ApplicationLoader - CPU cores: 8; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#2aabd8bc[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#2f5b9028
2022-12-04 19:36:48,348 [ 781] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Users/savypan/Library/Application Support/Google/AndroidStudio2020.3/plugins/Kotlin, version=203-1.6.10-release-923-AS7717.8) misses optional descriptor kotlin-nodejs.xml
2022-12-04 19:36:48,350 [ 783] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Users/savypan/Library/Application Support/Google/AndroidStudio2020.3/plugins/Kotlin, version=203-1.6.10-release-923-AS7717.8) misses optional descriptor native-debug.xml
2022-12-04 19:36:48,351 [ 784] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Users/savypan/Library/Application Support/Google/AndroidStudio2020.3/plugins/Kotlin, version=203-1.6.10-release-923-AS7717.8) misses optional descriptor js-debug.xml
2022-12-04 19:36:48,494 [ 927] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=/Applications/Android Studio.app/Contents/plugins/Groovy, version=203.7717.56.2031.7935034) misses optional descriptor duplicates-groovy.xml
2022-12-04 19:36:48,495 [ 928] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=/Applications/Android Studio.app/Contents/plugins/Groovy, version=203.7717.56.2031.7935034) misses optional descriptor duplicates-detection-groovy.xml
2022-12-04 19:36:48,580 [ 1013] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Java, id=com.intellij.java, path=/Applications/Android Studio.app/Contents/plugins/java, version=203.7717.56.2031.7935034) misses optional descriptor profiler-java.xml
2022-12-04 19:36:48,582 [ 1015] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Java, id=com.intellij.java, path=/Applications/Android Studio.app/Contents/plugins/java, version=203.7717.56.2031.7935034) misses optional descriptor java-features-trainer.xml
2022-12-04 19:36:48,613 [ 1046] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Applications/Android Studio.app/Contents/plugins/Kotlin, version=203-1.5.20-release-289-AS7717.8) misses optional descriptor kotlin-nodejs.xml
2022-12-04 19:36:48,618 [ 1051] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Applications/Android Studio.app/Contents/plugins/Kotlin, version=203-1.5.20-release-289-AS7717.8) misses optional descriptor native-debug.xml
2022-12-04 19:36:48,619 [ 1052] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, path=/Applications/Android Studio.app/Contents/plugins/Kotlin, version=203-1.5.20-release-289-AS7717.8) misses optional descriptor js-debug.xml
2022-12-04 19:36:48,672 [ 1105] WARN - llij.ide.plugins.PluginManager - Problems found loading plugins:
The ASM Bytecode Outline (id=ASM Bytecode Outline, path=~/Library/Application Support/Google/AndroidStudio2020.3/plugins/ASM-BO, version=0.3.5) plugin Plugin 'ASM Bytecode Outline' is compatible with IntelliJ IDEA only because it doesn't define any explicit module dependencies
2022-12-04 19:36:48,728 [ 1161] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: IDEA CORE (203.7717.56), Layoutlib (203.7717.56.2031.7935034), Layoutlib Legacy (203.7717.56.2031.7935034), Google Login (203.7717.56.2031.7935034), CIDR Base (203.7717.56.2031.7935034), C/C++ Language Support (203.7717.56.2031.7935034), Clangd support (203.7717.56.2031.7935034), com.intellij.platform.images (203.7717.56.2031.7935034), JetBrains maven model api classes (203.7717.56.2031.7935034), JetBrains Repository Search (203.7717.56.2031.7935034), Subversion (203.7717.56.2031.7935034), Smali Support (203.7717.56.2031.7935034), Machine Learning Code Completion (203.7717.56.2031.7935034), Configuration Script (203.7717.56.2031.7935034), Copyright (203.7717.56.2031.7935034), Java (203.7717.56.2031.7935034), JUnit (203.7717.56.2031.7935034), Java IDE Customization (203.7717.56.2031.7935034), Java Stream Debugger (203.7717.56.2031.7935034), Java Bytecode Decompiler (203.7717.56.2031.7935034), Properties (203.7717.56.2031.7935034), Gradle (203.7717.56.2031.7935034), Java Internationalization (203.7717.56.2031.7935034), Resource Bundle Editor (203.7717.56.2031.7935034), Task Management (203.7717.56.2031.7935034), Mercurial (203.7717.56.2031.7935034), WebP Support (203.7717.56.2031.7935034), EditorConfig (203.7717.56.2031.7935034), Terminal (203.7717.56.2031.7935034), Git (203.7717.56.2031.7935034), ChangeReminder (203.7717.56.2031.7935034), GitHub (203.7717.56.2031.7935034), Next File Prediction (203.7717.56.2031.7935034), Shell Script (203.7717.56.2031.7935034), TextMate Bundles (203.7717.56.2031.7935034), YAML (203.7717.56.2031.7935034), Settings Repository (203.7717.56.2031.7935034), IntelliLang (203.7717.56.2031.7935034), TestNG (203.7717.56.2031.7935034), Code Coverage for Java (203.7717.56.2031.7935034), Groovy (203.7717.56.2031.7935034), Gradle-Java (203.7717.56.2031.7935034), Google Cloud Tools Core (203.7717.56.2031.7935034), Android (2020.3.1 Patch 4), Google Cloud Tools For Android Studio (203.7717.56.2031.7935034), Firebase Testing (203.7717.56.2031.7935034), Compose (203.7717.56.2031.7935034), Android NDK Support (203.7717.56.2031.7935034), Android APK Support (203.7717.56.2031.7935034), Google Developers Samples (203.7717.56.2031.7935034), Test Recorder (203.7717.56.2031.7935034), App Links Assistant (203.7717.56.2031.7935034), Firebase App Indexing (203.7717.56.2031.7935034)
2022-12-04 19:36:48,728 [ 1161] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: ASM Bytecode Viewer (7.2), ASM Bytecode Viewer Support Kotlin (1.1), Dart (203.8452), Kotlin (203-1.6.10-release-923-AS7717.8), Flutter (65.2.1), Markdown (203.6682.134)
2022-12-04 19:36:48,728 [ 1161] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Firebase Services (203.7717.56.2031.7935034), Kotlin Multiplatform Mobile (0.3.0(203-1.6.0-release-795-IJ)-54)
2022-12-04 19:36:49,307 [ 1740] INFO - m.intellij.util.io.StorageLock - lower=100; upper=500; buffer=10; max=1260
2022-12-04 19:36:49,315 [ 1748] INFO - tellij.util.io.FileChannelUtil - uninterruptible FileChannels will be used for indexes
2022-12-04 19:36:49,361 [ 1794] INFO - m.intellij.ui.mac.touchbar.NST - touchbar-server isn't running, skip nst loading
2022-12-04 19:36:49,418 [ 1851] INFO - tellij.util.io.storage.Storage - Space waste in /Users/savypan/Library/Caches/Google/AndroidStudio2020.3/caches/attrib.dat is 26155394 bytes. Compacting now.
2022-12-04 19:36:49,420 [ 1853] INFO - tellij.util.io.storage.Storage - Compact failed: /Users/savypan/Library/Caches/Google/AndroidStudio2020.3/caches/attrib.dat.storageData.backup
2022-12-04 19:36:49,420 [ 1853] INFO - tellij.util.io.storage.Storage - Done compacting in 2msec.
2022-12-04 19:36:49,441 [ 1874] INFO - cation.options.RegistryManager - Registry values changed by user: external.system.auto.import.disabled = true
2022-12-04 19:36:49,464 [ 1897] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2022-12-04 19:36:49,492 [ 1925] INFO - intellij.diagnostic.JitWatcher - JIT compilation state checking enabled
2022-12-04 19:36:49,615 [ 2048] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2022-12-04 19:36:49,638 [ 2071] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2022-12-04 19:36:50,655 [ 3088] INFO - leBasedIndexDataInitialization - Initialization done: 1055
2022-12-04 19:36:50,748 [ 3181] INFO - exImpl$StubIndexInitialization - Initialization done: 92
2022-12-04 19:36:52,552 [ 4985] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2022-12-04 19:36:52,553 [ 4986] WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=com.android.tools.idea.AndroidInitialConfigurator)
2022-12-04 19:36:52,587 [ 5020] INFO - pi.util.registry.RegistryValue - Registry value 'external.system.auto.import.disabled' has changed to 'true'
2022-12-04 19:36:52,622 [ 5055] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/Android Studio.app/Contents/bin/fsnotifier
2022-12-04 19:36:52,625 [ 5058] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2022-12-04 19:36:54,592 [ 7025] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.intellij]
2022-12-04 19:36:54,602 [ 7035] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.intellij.cidr.base]
2022-12-04 19:36:54,805 [ 7238] ERROR - nSystem.impl.ActionManagerImpl - action with the ID "showBytecodeViewer" was already registered. Action being registered is ASM Bytecode Viewer (Shows the bytecode viewer and ASMified code from the current class); Registered action is ASM Bytecode Viewer (Shows the bytecode viewer and ASMified code from the current class) Plugin: ASM Bytecode Viewer Support Kotlin [Plugin: ASM Bytecode Viewer Support Kotlin]
com.intellij.diagnostic.PluginException: action with the ID "showBytecodeViewer" was already registered. Action being registered is ASM Bytecode Viewer (Shows the bytecode viewer and ASMified code from the current class); Registered action is ASM Bytecode Viewer (Shows the bytecode viewer and ASMified code from the current class) Plugin: ASM Bytecode Viewer Support Kotlin [Plugin: ASM Bytecode Viewer Support Kotlin]
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.reportActionError(ActionManagerImpl.java:392)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.reportActionError(ActionManagerImpl.java:387)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerChameleon(ActionManagerImpl.java:1325)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.addToMap(ActionManagerImpl.java:1298)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerAction(ActionManagerImpl.java:1268)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerOrReplaceActionInner(ActionManagerImpl.java:753)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionElement(ActionManagerImpl.java:726)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerPluginActions(ActionManagerImpl.java:535)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerActions(ActionManagerImpl.java:200)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(ActionManagerImpl.java:177)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:47)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:733)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:49)
at com.intellij.serviceContainer.ServiceComponentAdapter.access$createAndInitialize(ServiceComponentAdapter.kt:13)
at com.intellij.serviceContainer.ServiceComponentAdapter$doCreateInstance$1.run(ServiceComponentAdapter.kt:43)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:218)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:42)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:457)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:440)
at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:29)
at com.intellij.openapi.actionSystem.impl.ActionPreloader.preload(ActionPreloader.java:15)
at com.intellij.openapi.application.Preloader.lambda$preload$0(Preloader.java:84)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2022-12-04 19:36:54,807 [ 7240] ERROR - nSystem.impl.ActionManagerImpl - Android Studio Arctic Fox | 2020.3.1 Patch 4 Build #AI-203.7717.56.2031.7935034
2022-12-04 19:36:54,810 [ 7243] ERROR - nSystem.impl.ActionManagerImpl - JDK: 11.0.10; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-12-04 19:36:54,810 [ 7243] ERROR - nSystem.impl.ActionManagerImpl - OS: Mac OS X
2022-12-04 19:36:54,811 [ 7244] ERROR - nSystem.impl.ActionManagerImpl - Plugin to blame: ASM Bytecode Viewer Support Kotlin version: 1.1
2022-12-04 19:36:54,812 [ 7245] ERROR - nSystem.impl.ActionManagerImpl - Last Action:
2022-12-04 19:36:54,998 [ 7431] INFO - verflags.ServerFlagInitializer - Enabled server flags: analytics/surveys/followup, exceptions/ClassCastException
2022-12-04 19:36:55,688 [ 8121] ERROR - ect.impl.ProjectFrameAllocator - Key org.objectweb.asm.idea.plugin.view.BytecodeOutline duplicated
org.picocontainer.PicoRegistrationException: Key org.objectweb.asm.idea.plugin.view.BytecodeOutline duplicated
at com.intellij.util.pico.DefaultPicoContainer.registerComponent(DefaultPicoContainer.java:119)
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:364)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:214)
at com.intellij.openapi.project.impl.ProjectLoadHelper.registerComponents(projectLoader.kt:25)
at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:171)
at com.intellij.openapi.project.impl.ProjectManagerExImpl.prepareProject(ProjectManagerExImpl.kt:242)
at com.intellij.openapi.project.impl.ProjectManagerExImpl.access$prepareProject(ProjectManagerExImpl.kt:52)
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:104)
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:52)
at com.intellij.openapi.project.impl.ProjectUiFrameAllocator$run$progressTask$1.run(ProjectFrameAllocator.kt:86)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:79)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2022-12-04 19:36:55,689 [ 8122] ERROR - ect.impl.ProjectFrameAllocator - Android Studio Arctic Fox | 2020.3.1 Patch 4 Build #AI-203.7717.56.2031.7935034
2022-12-04 19:36:55,689 [ 8122] ERROR - ect.impl.ProjectFrameAllocator - JDK: 11.0.10; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-12-04 19:36:55,689 [ 8122] ERROR - ect.impl.ProjectFrameAllocator - OS: Mac OS X
2022-12-04 19:36:55,689 [ 8122] ERROR - ect.impl.ProjectFrameAllocator - Last Action:
2022-12-04 19:36:56,476 [ 8909] ERROR - ect.impl.ProjectFrameAllocator - Key org.objectweb.asm.idea.plugin.view.BytecodeOutline duplicated
org.picocontainer.PicoRegistrationException: Key org.objectweb.asm.idea.plugin.view.BytecodeOutline duplicated
at com.intellij.util.pico.DefaultPicoContainer.registerComponent(DefaultPicoContainer.java:119)
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:364)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:214)
at com.intellij.openapi.project.impl.ProjectLoadHelper.registerComponents(projectLoader.kt:25)
at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:171)
at com.intellij.openapi.project.impl.ProjectManagerExImpl.prepareProject(ProjectManagerExImpl.kt:242)
at com.intellij.openapi.project.impl.ProjectManagerExImpl.access$prepareProject(ProjectManagerExImpl.kt:52)
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:104)
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:52)
at com.intellij.openapi.project.impl.ProjectUiFrameAllocator$run$progressTask$1.run(ProjectFrameAllocator.kt:86)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:79)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2022-12-04 19:36:56,477 [ 8910] ERROR - ect.impl.ProjectFrameAllocator - Android Studio Arctic Fox | 2020.3.1 Patch 4 Build #AI-203.7717.56.2031.7935034
2022-12-04 19:36:56,477 [ 8910] ERROR - ect.impl.ProjectFrameAllocator - JDK: 11.0.10; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-12-04 19:36:56,477 [ 8910] ERROR - ect.impl.ProjectFrameAllocator - OS: Mac OS X
2022-12-04 19:36:56,477 [ 8910] ERROR - ect.impl.ProjectFrameAllocator - Last Action:
2022-12-04 19:36:56,482 [ 8915] INFO - gs.impl.UpdateCheckerComponent - channel: release
Anyone who experienced the similar issue can tell me, thanks!
Thanks, I resolved by finding the real path of AS then deleted the libs.
Related
I recently migrated my project to Gradle 7.4.1, Android Gradle Plugin 7.1.2 and therefore also JDK 11 (from JDK 8), and everything is working fine except that when I run the unit tests in debug mode in Android Studio, it shows me this popup:
that says:
Target JRE version (11.0.11) does not match project JDK version (version 1.8.0_242), will use sources from JDK: 11
To be clear, the popup is not shown in any other situation I tried so far, for example:
building the app
running the app in debug mode
running the unit tests without the debug mode.
As you can see below, in Gradle settings I use JDK 11 (obviously; otherwise the project wouldn't work at all):
I also used a "Choose Runtime" plugin to make sure the correct JDK is chosen:
My environment variables are also correct:
❯ echo $JAVA_HOME
/Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home
❯ which java
/Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home/bin/java
❯ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7590822, mixed mode)
❯ ./gradlew --version
------------------------------------------------------------
Gradle 7.4.1
------------------------------------------------------------
Build time: 2022-03-09 15:04:47 UTC
Revision: 36dc52588e09b4b72f2010bc07599e0ee0434e2e
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 11.0.11 (JetBrains s.r.o. 11.0.11+0-b60-7590822)
OS: Mac OS X 12.3 x86_64
I'm using Android Studio Bumblebee. Full version info:
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+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.intellij.marketplace (211.7628.36), com.jetbrains.ChooseRuntime (1.2), com.phrase.intellij (4.0.1), com.vladsch.idea.multimarkdown (3.0.202.112), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40)
I also reviewed some of the logs produced by Android Studio and they also seem correct:
2022-03-31 20:40:16,521 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2022-03-31 20:40:16,547 [ 26] INFO - .intellij.util.EnvironmentUtil - loading shell env is skipped: IDE has been launched from a terminal (SHLVL=2)
2022-03-31 20:40:16,574 [ 53] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-211.7628.21.2111.8193401, 17 Feb 2022 08:12)
2022-03-31 20:40:16,576 [ 55] INFO - #com.intellij.idea.Main - OS: Mac OS X (12.3, x86_64)
2022-03-31 20:40:16,582 [ 61] INFO - #com.intellij.idea.Main - JRE: 11.0.11+0-b60-7590822 (JetBrains s.r.o.)
2022-03-31 20:40:16,583 [ 62] INFO - #com.intellij.idea.Main - JVM: 11.0.11+0-b60-7590822 (OpenJDK 64-Bit Server VM)
2022-03-31 20:40:16,586 [ 65] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Djna.nosys=true -Djna.boot.library.path= -Didea.vendor.name=Google -XX:ErrorFile=/Users/azabost/java_error_in_studio_%p.log -XX:HeapDumpPath=/Users/azabost/java_error_in_studio.hprof -Xmx4096m -Djb.vmOptionsFile=/Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/bin/studio.vmoptions,/Users/azabost/Library/Application Support/Google/AndroidStudio2021.1/studio.vmoptions -Didea.paths.selector=AndroidStudio2021.1 -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.vendor.name=Google -Didea.home.path=/Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents
2022-03-31 20:40:16,586 [ 65] INFO - #com.intellij.idea.Main - library path: /Users/azabost/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2022-03-31 20:40:16,586 [ 65] INFO - #com.intellij.idea.Main - boot library path: /Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home/lib
2022-03-31 20:40:16,603 [ 82] INFO - #com.intellij.idea.Main - locale=en_GB JNU=UTF-8 file.encoding=UTF-8
idea.config.path=/Users/azabost/Library/Application Support/Google/AndroidStudio2021.1
idea.system.path=/Users/azabost/Library/Caches/Google/AndroidStudio2021.1
idea.plugins.path=/Users/azabost/Library/Application Support/Google/AndroidStudio2021.1/plugins
idea.log.path=/Users/azabost/Library/Logs/Google/AndroidStudio2021.1
...
2022-03-31 21:32:13,214 [3116693] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home
2022-03-31 21:32:13,590 [3117069] INFO - ild.invoker.GradleBuildInvoker - Gradle build cancelled in 26 s 350 ms
2022-03-31 21:32:17,748 [3121227] WARN - idea.lint.common.LintIdeClient - com.toastfix.toasthandler_lint.registry.ToastHandlerIssueRegistry in /Users/azabost/.gradle/caches/transforms-3/5cacc53feafc83908b80485cdde0ce02/transformed/jetified-ToastHandler-1.2.1/jars/lint.jar does not specify a vendor; see IssueRegistry#vendor
2022-03-31 21:32:17,770 [3121249] WARN - idea.lint.common.LintIdeClient - dagger.lint.DaggerIssueRegistry in /Users/azabost/.gradle/caches/transforms-3/1d8efdd70f0fe0cb2ac32270bc2ae5c2/transformed/jetified-dagger-lint-aar-2.37/jars/lint.jar does not specify a vendor; see IssueRegistry#vendor
2022-03-31 21:32:39,862 [3143341] INFO - t.javadoc.JavaDocInfoGenerator - Wrong navElement: FUN; original = KtUltraLightMethodForSourceDeclaration:fetchAndCacheProductsWithSearchData of class class org.jetbrains.kotlin.asJava.classes.KtUltraLightMethodForSourceDeclaration
2022-03-31 21:32:39,863 [3143342] INFO - t.javadoc.JavaDocInfoGenerator - Wrong navElement: FUN; original = KtUltraLightMethodForSourceDeclaration:fetchAndCacheProductsWithSearchData of class class org.jetbrains.kotlin.asJava.classes.KtUltraLightMethodForSourceDeclaration
2022-03-31 21:32:39,863 [3143342] INFO - t.javadoc.JavaDocInfoGenerator - Wrong navElement: FUN; original = KtUltraLightMethodForSourceDeclaration:fetchAndCacheProductsWithSearchData of class class org.jetbrains.kotlin.asJava.classes.KtUltraLightMethodForSourceDeclaration
2022-03-31 21:32:39,863 [3143342] INFO - t.javadoc.JavaDocInfoGenerator - Wrong navElement: FUN; original = KtUltraLightMethodForSourceDeclaration:fetchAndCacheProductsWithSearchData of class class org.jetbrains.kotlin.asJava.classes.KtUltraLightMethodForSourceDeclaration
2022-03-31 21:33:15,802 [3179281] INFO - STDERR - invalid Unicode Property \p: /(?<=^[\s\d\p])\bV\b/
2022-03-31 21:33:56,220 [3219699] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home
2022-03-31 21:33:56,220 [3219699] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home
2022-03-31 21:33:56,228 [3219707] INFO - ild.invoker.GradleBuildInvoker - About to execute Gradle tasks: [:exampleModule:testDebugUnitTest]
2022-03-31 21:33:56,231 [3219710] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Users/azabost/JetBrainsToolbox/apps/AndroidStudio/ch-3/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home
2022-03-31 21:33:56,232 [3219711] INFO - ild.invoker.GradleBuildInvoker - Build command line options: [--continue, -Pandroid.injected.invoked.from.ide=true, -Pandroid.injected.studio.version=2021.1.1 Patch 2, -Pandroid.injected.attribution.file.location=/Users/azabost/projects/app-android/.gradle, --init-script, /private/var/folders/87/kglctjzn0znd_3kx9m038jf80000gn/T/ijmapper.gradle, --tests, net.example.app.ExampleTest.Example test, --init-script, /private/var/folders/87/kglctjzn0znd_3kx9m038jf80000gn/T/ijresolvers1.gradle]
2022-03-31 21:33:56,233 [3219712] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: --continue -Pandroid.injected.invoked.from.ide=true -Pandroid.injected.studio.version=2021.1.1 Patch 2 -Pandroid.injected.attribution.file.location=/Users/azabost/projects/app-android/.gradle --init-script /private/var/folders/87/kglctjzn0znd_3kx9m038jf80000gn/T/ijmapper.gradle --tests net.example.app.ExampleTest.Example test --init-script /private/var/folders/87/kglctjzn0znd_3kx9m038jf80000gn/T/ijresolvers1.gradle
Perhaps it's worth mentioning that since the project is quite big (over 200 Gradle modules) and it consists of both Android library projects (i.e. plugin com.android.library) and pure Kotlin modules (i.e. no Android plugin, just the kotlin plugin), I try to keep the Gradle configurations in a single place and I try to configure all the modules in the same way using my own utility functions or Gradle built-in functions such as allprojects.
For example, to make sure all the modules have Kotlin's jvmTarget set to the same version, I use:
allprojects {
tasks.withType(type = org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
}
}
and in each Android module I additionally do this:
android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
Unfortunately, most of the answers to similar problems I found on the internet usually mention setting the correct JDK path in IDE's Gradle settings and sometimes the configuration such as jvmTarget etc., and none of these tips worked for me so far (unless I did something wrong).
Do you know what causes that problem and how I could fix that?
I update Android studio to release 2.3 on Windows 10 with JDK 1.8.121. When i try to create a new project, Android studio start to wait foreverer with this screen. Note this happens when i try to open already existing projects too.
Is anybody with my same problem?
The Android Studio logs are:
2017-03-04 13:20:27,045 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2017-03-04 13:20:27,076 [ 31] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-162.3764568, 24 Feb 2017 00:00)
2017-03-04 13:20:27,076 [ 31] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2017-03-04 13:20:27,076 [ 31] INFO - #com.intellij.idea.Main - JRE: 1.8.0_112-release-b06 (JetBrains s.r.o)
2017-03-04 13:20:27,076 [ 31] INFO - #com.intellij.idea.Main - JVM: 25.112-b06 (OpenJDK 64-Bit Server VM)
2017-03-04 13:20:27,078 [ 33] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -da -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Didea.paths.selector=AndroidStudio2.3 -Didea.platform.prefix=AndroidStudio -Didea.jre.check=true -Djb.vmOptionsFile=C:\MyProgramFiles\AndroidStudio\bin\studio64.exe.vmoptions -Xbootclasspath/a:C:\MyProgramFiles\AndroidStudio\lib\boot.jar -Didea.jre.check=false -XX:ErrorFile=C:\Users\xcesco\java_error_in___product_uc___%p.log -XX:HeapDumpPath=C:\Users\xcesco\java_error_in___product_uc__.hprof
2017-03-04 13:20:27,078 [ 33] INFO - #com.intellij.idea.Main - ext: C:\MyProgramFiles\AndroidStudio\jre\jre\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2017-03-04 13:20:27,078 [ 33] INFO - #com.intellij.idea.Main - JNU charset: Cp1252
2017-03-04 13:20:27,109 [ 64] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 31 ms
2017-03-04 13:20:27,111 [ 66] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2017-03-04 13:20:27,112 [ 67] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2017-03-04 13:20:27,135 [ 90] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2017-03-04 13:20:27,626 [ 581] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2017-03-04 13:20:27,965 [ 920] INFO - llij.ide.plugins.PluginManager - 35 plugins initialized in 547 ms
2017-03-04 13:20:27,971 [ 926] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Games (1.0), Android NDK Support (1.0), Android Support (10.2.3), App Links Assistant (0.1), CVS Integration (11), Copyright (8.1), Coverage (162.2228.14), EditorConfig (162.2228.14), Firebase App Indexing (0.1), Firebase Services (0.1), Firebase Testing (1.0), Git Integration (8.1), GitHub (162.2228.14), Google Cloud Tools Core (0.2.8), Google Cloud Tools For Android Studio (0.2.8), Google Developers Samples (0.3.1), Google Login (1.0), Google Services (0.1), Gradle (162.2228.14), Groovy (9.0), I18n for Java (162.2228.14), IDEA CORE (162.2228.14), IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (162.2228.14), NDK WorkspaceManager Support (1.0), Properties Support (162.2228.14), Settings Repository (162.2228.14), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), Test Recorder (1.0), TestNG-J (8.0), YAML (162.2228.14), hg4idea (10.0)
2017-03-04 13:20:29,480 [ 2435] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=1217
2017-03-04 13:20:29,508 [ 2463] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\MyProgramFiles\AndroidStudio\bin\fsnotifier64.exe
2017-03-04 13:20:29,520 [ 2475] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-03-04 13:20:29,883 [ 2838] INFO - #com.intellij.util.ui.JBUI - UI scale factor changed: 1.0
2017-03-04 13:20:30,126 [ 3081] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-03-04 13:20:30,151 [ 3106] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-03-04 13:20:30,188 [ 3143] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:25
2017-03-04 13:20:30,190 [ 3145] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:2
2017-03-04 13:20:30,201 [ 3156] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:6
2017-03-04 13:20:30,202 [ 3157] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2017-03-04 13:20:30,228 [ 3183] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-03-04 13:20:30,624 [ 3579] INFO - pl$FileIndexDataInitialization - Initialization done:434
2017-03-04 13:20:30,673 [ 3628] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 339 ms
2017-03-04 13:20:30,674 [ 3629] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2017-03-04 13:20:30,759 [ 3714] INFO - exImpl$StubIndexInitialization - Initialization done:134
2017-03-04 13:20:31,855 [ 4810] INFO - plication.impl.ApplicationImpl - 85 application components initialized in 4437 ms
2017-03-04 13:20:31,868 [ 4823] INFO - .intellij.idea.IdeaApplication - App initialization took 6375 ms
2017-03-04 13:20:32,098 [ 5053] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader#562cbd36
2017-03-04 13:20:32,731 [ 5686] INFO - dea.updater.SdkComponentSource - Downloading file:/C:/MyProgramFiles/AndroidStudio/plugins/sdk-updates/offline-repo/offline-repo.xml
2017-03-04 13:20:32,840 [ 5795] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/repository2-1.xml
2017-03-04 13:20:33,074 [ 6029] WARN - dea.updater.SdkComponentSource - File C:\Users\xcesco\.android\repositories.cfg could not be loaded.
2017-03-04 13:20:33,076 [ 6031] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/addons_list-3.xml
2017-03-04 13:20:33,159 [ 6114] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android/sys-img2-1.xml
2017-03-04 13:20:33,219 [ 6174] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader#4c4f7c8a
2017-03-04 13:20:33,336 [ 6291] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-wear/sys-img2-1.xml
2017-03-04 13:20:33,427 [ 6382] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-tv/sys-img2-1.xml
2017-03-04 13:20:33,522 [ 6477] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/google_apis/sys-img2-1.xml
2017-03-04 13:20:33,621 [ 6576] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/addon2-1.xml
2017-03-04 13:20:33,805 [ 6760] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/glass/addon2-1.xml
2017-03-04 13:20:33,875 [ 6830] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/extras/intel/addon2-1.xml
2017-03-04 13:20:45,790 [ 18745] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2017-03-04 13:20:46,004 [ 18959] INFO - ellij.project.impl.ProjectImpl - 138 project components initialized in 474 ms
2017-03-04 13:20:46,005 [ 18960] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2017-03-04 13:20:47,131 [ 20086] INFO - i.vcs.changes.ChangeListWorker - default list not found when copy
2017-03-04 13:20:47,131 [ 20086] INFO - i.vcs.changes.ChangeListWorker - default list not found when copy in original object too
2017-03-04 13:20:47,248 [ 20203] INFO - e.project.sync.GradleSyncState - Started sync with Gradle for project 'My Application'.
2017-03-04 13:20:47,353 [ 20308] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/MyProgramFiles/AndroidStudio/jre
2017-03-04 13:20:47,366 [ 20321] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/MyProgramFiles/AndroidStudio/jre
2017-03-04 13:20:48,194 [ 21149] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Djava.awt.headless=true, -Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, --init-script, C:\Users\xcesco\AppData\Local\Temp\asLocalRepo3634.gradle, --init-script, C:\Users\xcesco\AppData\Local\Temp\ijinit179.gradle]
I found the solution for your problem. Basically it's cased by embedded android studio jdk the solution too simple just go to Project Structure->SDK Location-> unchecked Use embedded jdk and select the path to your stand-alone jdk
in my case (windows)
C:\Program Files\Java\jdk1.8.0_131
After many hours spent to try anything, the only solution that i found was to reinstall previous version 2.2.3 of Android Studio.
I have worked on a project for weeks now on android studio but few hours ago android studio just hangs with no abvious reason. I restart it, I restart the PC, I did "Invalidate Caches / Restart". I search for solutions on google but no luck specially that I don't know what's the reason.
when I open Android studio it open the project but after a few seconds it hangs even if I don't do anything at all.
#user4847410
this is idea.log
2015-06-29 17:48:54,801 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-06-29 17:48:54,856 [ 55] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-141.1980579, 03 Jun 2015 00:00)
2015-06-29 17:48:54,856 [ 55] INFO - #com.intellij.idea.Main - OS: Windows 7 (6.1, amd64)
2015-06-29 17:48:54,856 [ 55] INFO - #com.intellij.idea.Main - JRE: 1.8.0_45-b15 (Oracle Corporation)
2015-06-29 17:48:54,856 [ 55] INFO - #com.intellij.idea.Main - JVM: 25.45-b02 (Java HotSpot(TM) 64-Bit Server VM)
2015-06-29 17:48:54,858 [ 57] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Didea.paths.selector=AndroidStudio1.2 -Didea.platform.prefix=AndroidStudio -Djb.vmOptions=C:\Program Files\Android\Android Studio\bin\studio64.exe.vmoptions -Xbootclasspath/a:C:\Program Files\Android\Android Studio\lib\boot.jar -Didea.jre.check=false
2015-06-29 17:48:55,221 [ 420] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 363 ms
2015-06-29 17:48:55,223 [ 422] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2015-06-29 17:48:55,223 [ 422] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2015-06-29 17:48:56,355 [ 1554] INFO - llij.ide.plugins.PluginManager - 25 plugins initialized in 476 ms
2015-06-29 17:48:56,358 [ 1557] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.2.2), CVS Integration (11), Copyright (8.1), Coverage, EditorConfig (1.0), Git Integration (8.1), GitHub, Google Cloud Testing (1.0), Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Maven Integration, Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2015-06-29 17:48:56,866 [ 2065] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=739246080
2015-06-29 17:48:56,904 [ 2103] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\Program Files\Android\Android Studio\bin\fsnotifier.exe
2015-06-29 17:48:56,912 [ 2111] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2015-06-29 17:48:57,287 [ 2486] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2015-06-29 17:48:57,487 [ 2686] INFO - org.jetbrains.io.BuiltInServer - We cannot bind to our default range, so, try to bind to any free port
2015-06-29 17:48:57,781 [ 2980] INFO - rains.ide.BuiltInServerManager - built-in server started, port 58491
2015-06-29 17:48:57,986 [ 3185] INFO - TestNG Runner - Create TestNG Template Configuration
2015-06-29 17:48:58,029 [ 3228] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 345 ms
2015-06-29 17:48:58,030 [ 3229] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2015-06-29 17:48:58,487 [ 3686] INFO - pl.stores.ApplicationStoreImpl - 83 application components initialized in 2111 ms
2015-06-29 17:48:58,509 [ 3708] INFO - .intellij.idea.IdeaApplication - App initialization took 4215 ms
2015-06-29 17:48:59,346 [ 4545] INFO - TestNG Runner - Create TestNG Template Configuration
2015-06-29 17:48:59,558 [ 4757] INFO - ellij.project.impl.ProjectImpl - 136 project components initialized in 602 ms
2015-06-29 17:48:59,698 [ 4897] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 139 ms
2015-06-29 17:49:02,318 [ 7517] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2051 ms
2015-06-29 17:49:03,847 [ 9046] INFO - tartup.impl.StartupManagerImpl - E:\android_studio_workspace\IraqiExc.idea\misc.xml case-sensitivity: false
2015-06-29 17:49:04,083 [ 9282] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 41 ms
2015-06-29 17:49:04,263 [ 9462] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2015-06-29 17:49:04,563 [ 9762] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2015-06-29 17:49:05,113 [ 10312] INFO - nject.config.XPathSupportProxy - XPath Support is not available
2015-06-29 17:49:05,164 [ 10363] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestSupportsInput
2015-06-29 17:49:05,164 [ 10363] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens
2015-06-29 17:49:05,411 [ 10610] INFO - tor.impl.FileEditorManagerImpl - Project opening took 6491 ms
I am using android studio for a long time now(from 0.4).Recently I have updated my Mac to Yosemite.I am using latest android studio.
If I open my previous project, Android studio will stuck in Gradle Executing task and never complete the build though some time it does build but in more then 20 minutes. But if create a new project on my studio it will build properly.
My old project build properly on other system.
From the past two days I am looking for a solution but could not find any.
Please Help!
Logs from Android Studio.
------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-01-12 15:18:40,487 [ 28] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-135.1641136, 11 Dec 2014 00:00)
2015-01-12 15:18:40,487 [ 28] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.10.1, x86_64)
2015-01-12 15:18:40,487 [ 28] INFO - #com.intellij.idea.Main - JRE: 1.6.0_65-b14-466.1-11M4716 (Apple Inc.)
2015-01-12 15:18:40,487 [ 28] INFO - #com.intellij.idea.Main - JVM: 20.65-b04-466.1 (Java HotSpot(TM) 64-Bit Server VM)
2015-01-12 15:18:40,509 [ 50] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.java.redist=NoJavaDistribution -Didea.home.path=/Applications/Android Studio.app/Contents -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.paths.selector=AndroidStudio
2015-01-12 15:18:40,553 [ 94] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 44 ms
2015-01-12 15:18:40,596 [ 137] INFO - #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 43 ms
2015-01-12 15:18:40,596 [ 137] INFO - #com.intellij.idea.Main - 2015-01-12 15:18:39 [Patch] Original patch does not exist: /var/folders/13/44ynsdyx0jdgyz3ghh8z2y580000gn/T/jetbrains.patch.jar.androidstudio
2015-01-12 15:18:40,601 [ 142] INFO - #com.intellij.idea.Main - initializing environment
2015-01-12 15:18:40,602 [ 143] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/Android Studio.app/Contents/bin/printenv.py' '/private/var/folders/13/44ynsdyx0jdgyz3ghh8z2y580000gn/T/intellij-shell-env8711749495723824362.tmp'
2015-01-12 15:18:41,110 [ 651] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (15 vars)
2015-01-12 15:18:42,855 [ 2396] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2015-01-12 15:18:43,920 [ 3461] INFO - llij.ide.plugins.PluginManager - 21 plugins initialized in 1610 ms
2015-01-12 15:18:43,921 [ 3462] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.0.1), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Git Integration (8.1), GitHub, Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Maven Integration, Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2015-01-12 15:18:44,477 [ 4018] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=756744192
2015-01-12 15:18:44,571 [ 4112] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/Android Studio.app/Contents/bin/fsnotifier
2015-01-12 15:18:44,589 [ 4130] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2015-01-12 15:18:45,219 [ 4760] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2015-01-12 15:18:46,636 [ 6177] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2015-01-12 15:18:46,655 [ 6196] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2015-01-12 15:18:47,819 [ 7360] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null
2015-01-12 15:18:47,821 [ 7362] INFO - pl.stores.ApplicationStoreImpl - 85 application components initialized in 3888 ms
2015-01-12 15:18:47,861 [ 7402] INFO - .intellij.idea.IdeaApplication - App initialization took 7997 ms
2015-01-12 15:19:19,896 [ 39437] INFO - TestNG Runner - Create TestNG Template Configuration
2015-01-12 15:19:19,901 [ 39442] INFO - TestNG Runner - Create TestNG Template Configuration
2015-01-12 15:19:20,055 [ 39596] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dynamic.xml file is null
2015-01-12 15:19:20,199 [ 39740] INFO - ellij.project.impl.ProjectImpl - 139 project components initialized in 768 ms
2015-01-12 15:19:20,560 [ 40101] INFO - le.impl.ModuleManagerComponent - 12 module(s) loaded in 361 ms
2015-01-12 15:19:20,627 [ 40168] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/customization.xml file is null
2015-01-12 15:19:20,686 [ 40227] WARN - j.ui.mac.MacMainFrameDecorator - no url bundle present.
To use platform protocol handler to open external links specify required protocols in the mac app layout section of the build file
Example: args.urlSchemes = ["your-protocol"] will handle following links: your-protocol://open?file=file&line=line
2015-01-12 15:19:21,012 [ 40553] INFO - TestNG Runner - Create TestNG Template Configuration
2015-01-12 15:19:21,012 [ 40553] INFO - TestNG Runner - Create TestNG Template Configuration
2015-01-12 15:19:21,017 [ 40558] INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 24 ms
2015-01-12 15:19:21,017 [ 40558] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2015-01-12 15:19:21,313 [ 40854] INFO - CompilerWorkspaceConfiguration - Available processors: 4
2015-01-12 15:19:21,713 [ 41254] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2015-01-12 15:19:21,730 [ 41271] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2015-01-12 15:19:21,812 [ 41353] INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 0 ms, indexed 0 directories
2015-01-12 15:19:21,980 [ 41521] INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 164 ms
2015-01-12 15:19:22,531 [ 42072] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2015-01-12 15:19:22,930 [ 42471] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
2015-01-12 15:19:22,932 [ 42473] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
2015-01-12 15:19:22,972 [ 42513] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2015-01-12 15:19:23,223 [ 42764] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/gradle.settings.xml file is null
2015-01-12 15:19:24,991 [ 44532] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix jar:file:/Applications/Android%20Studio.app/Contents/lib/resources.jar!/artwork/toolWindowProject_AS.png
2015-01-12 15:19:26,053 [ 45594] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gant_config.xml file is null
2015-01-12 15:19:26,164 [ 45705] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 3824 ms
2015-01-12 15:19:26,164 [ 45705] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2015-01-12 15:19:26,165 [ 45706] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 1 ms
2015-01-12 15:19:28,693 [ 48234] INFO - nject.config.XPathSupportProxy - XPath Support is not available
2015-01-12 15:19:28,748 [ 48289] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null
2015-01-12 15:19:29,654 [ 49195] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens
2015-01-12 15:19:29,654 [ 49195] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestSupportsInput
2015-01-12 15:19:33,805 [ 53346] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/remote-servers.xml file is null
2015-01-12 15:19:34,116 [ 53657] INFO - tor.impl.FileEditorManagerImpl - Project opening took 14717 ms
2015-01-12 15:19:40,193 [ 59734] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null
2015-01-12 15:19:44,052 [ 63593] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/checker.xml file is null
2015-01-12 15:19:45,960 [ 65501] INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib initialized
2015-01-12 15:19:49,548 [ 69089] INFO - a.gradle.invoker.GradleInvoker - About to execute Gradle tasks: [:app:assembleDebug]
2015-01-12 15:19:49,575 [ 69116] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
2015-01-12 15:19:49,686 [ 69227] INFO - dle.util.AndroidGradleSettings - Found Android SDK home at '/Applications/sdk' (from local.properties file)
2015-01-12 15:19:49,686 [ 69227] INFO - a.gradle.invoker.GradleInvoker - Build JVM args: []
2015-01-12 15:19:49,689 [ 69230] INFO - ls.idea.gradle.util.GradleUtil - Looking for embedded Maven repo at '/Applications/Android Studio.app/Contents/gradle/m2repository'
2015-01-12 15:19:49,764 [ 69305] INFO - ls.idea.gradle.util.GradleUtil - Looking for embedded Gradle distribution at '/Applications/Android Studio.app/Contents/gradle/gradle-2.2.1'
2015-01-12 15:19:49,764 [ 69305] INFO - a.gradle.invoker.GradleInvoker - Build command line options: [--configure-on-demand, -Pandroid.injected.invoked.from.ide=true, --init-script, /private/var/folders/13/44ynsdyx0jdgyz3ghh8z2y580000gn/T/asLocalRepo6286008561669474057.gradle]
2015-01-12 15:19:49,771 [ 69312] INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [--configure-on-demand, -Pandroid.injected.invoked.from.ide=true, --init-script, /private/var/folders/13/44ynsdyx0jdgyz3ghh8z2y580000gn/T/asLocalRepo6286008561669474057.gradle]
2015-01-12 15:23:20,310 [ 279851] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2015-01-12 15:26:55,407 [ 494948] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2015-01-12 15:30:06,745 [ 686286] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2015-01-12 15:33:58,615 [ 918156] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "socksProxyHost" set to "192.168.9.254".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
I'm trying to use the new android gradle plugin in IntelliJ but I can't seem to build my project using the new gradle plugin.
I modified the dependencies in the application's build.gradle file to "classpath 'com.android.tools.build:gradle:0.14.+'", I have updated the gradle to 2.1 and I have updated the build.gradle file in my module.
I keep getting this error in the IntelliJ logs:
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - IntelliJ IDEA 13.1.5 Build #IU-135.1289
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - JDK: 1.8.0_05
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - VM: Java HotSpot(TM) 64-Bit Server VM
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - Vendor: Oracle Corporation
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - OS: Windows 8
2014-11-03 16:40:12,864 [ 937413] ERROR - vice.AndroidProjectDataService - Last Action: ShowSettings
2014-11-03 16:40:13,130 [ 937679] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 5 ms
2014-11-03 16:40:13,130 [ 937679] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-11-03 16:40:13,130 [ 937679] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2014-11-03 16:41:02,813 [ 987362] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.8.0_05
2014-11-03 16:41:02,815 [ 987364] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.8.0_05
2014-11-03 16:41:02,821 [ 987370] INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.invoked.from.ide=true, --init-script, C:\Users\ionut.negru\AppData\Local\Temp\ijinit8822454065314970200.gradle]
2014-11-03 16:41:07,002 [ 991551] ERROR - vice.AndroidProjectDataService - Failed to set up Android modules in project 'MyApplication'
org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: SourceProvider.getJniDirectories().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
at org.gradle.tooling.model.internal.Exceptions.unsupportedMethod(Exceptions.java:33)
at org.gradle.tooling.internal.adapter.ProtocolToModelAdapter$InvocationHandlerImpl.invoke(ProtocolToModelAdapter.java:240)
at com.sun.proxy.$Proxy128.getJniDirectories(Unknown Source)
at com.android.tools.idea.gradle.customizer.android.ContentRootModuleCustomizer.addSourceFolder(ContentRootModuleCustomizer.java:170)
at com.android.tools.idea.gradle.customizer.android.ContentRootModuleCustomizer.addSourceFolders(ContentRootModuleCustomizer.java:120)
at com.android.tools.idea.gradle.customizer.android.ContentRootModuleCustomizer.setUpContentEntries(ContentRootModuleCustomizer.java:85)
at com.android.tools.idea.gradle.customizer.android.ContentRootModuleCustomizer.setUpContentEntries(ContentRootModuleCustomizer.java:45)
at com.android.tools.idea.gradle.customizer.AbstractContentRootModuleCustomizer.customizeModule(AbstractContentRootModuleCustomizer.java:56)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.customizeModule(AndroidProjectDataService.java:191)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.access$100(AndroidProjectDataService.java:64)
at com.android.tools.idea.gradle.service.AndroidProjectDataService$1.run(AndroidProjectDataService.java:126)
at com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteCommandAction.java:168)
at com.intellij.openapi.application.RunResult.run(RunResult.java:38)
at com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAction.java:118)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
at com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandAction.java:115)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:112)
at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:33)
at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:80)
at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:85)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.doImport(AndroidProjectDataService.java:114)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.importData(AndroidProjectDataService.java:97)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:90)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:74)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:98)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:74)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:98)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$MyMultiExternalProjectRefreshCallback$1$1.run(ExternalSystemUtil.java:766)
at com.intellij.openapi.roots.impl.ProjectRootManagerImpl.mergeRootsChangesDuring(ProjectRootManagerImpl.java:329)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$MyMultiExternalProjectRefreshCallback$1.execute(ExternalSystemUtil.java:763)
at com.intellij.openapi.externalSystem.util.DisposeAwareProjectChange.run(DisposeAwareProjectChange.java:36)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5$1.run(ExternalSystemApiUtil.java:364)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5.run(ExternalSystemApiUtil.java:361)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(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)
2014-11-03 16:41:07,002 [ 991551] ERROR - vice.AndroidProjectDataService - IntelliJ IDEA 13.1.5 Build #IU-135.1289
2014-11-03 16:41:07,002 [ 991551] ERROR - vice.AndroidProjectDataService - JDK: 1.8.0_05
2014-11-03 16:41:07,002 [ 991551] ERROR - vice.AndroidProjectDataService - VM: Java HotSpot(TM) 64-Bit Server VM
2014-11-03 16:41:07,002 [ 991551] ERROR - vice.AndroidProjectDataService - Vendor: Oracle Corporation
2014-11-03 16:41:07,003 [ 991552] ERROR - vice.AndroidProjectDataService - OS: Windows 8
2014-11-03 16:41:07,003 [ 991552] ERROR - vice.AndroidProjectDataService - Last Action: ExternalSystem.RefreshAllProjects
2014-11-03 16:41:07,290 [ 991839] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 6 ms
2014-11-03 16:41:07,290 [ 991839] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-11-03 16:41:07,290 [ 991839] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
I am doing something wrong ? Or at this moment it isn't possible to use the new android gradle plugin on IntelliJ, althought I've read that IntelliJ should have all the features that Android Studio has.
PS: I'm using IntelliJ Ultimate version and I'm avoiding to move to Android Studio as some features from the Ultimate version won't be available in Android Studio.
[Update]
After some more research I found from another SO question that IntelliJ doesn't keep up with android gradle plugin. There is some delay between AS and IntelliJ. More info can be found here: What is the Android plugin version included in IntelliJ IDEA? on #Scott Barta response.
As it seems IntelliJ 13.1.5 supports only com.android.tools.build:gradle:0.13.0. Maybe in a few days/weeks IntelliJ will pull the android gradle plugin from AS and push it into their product.
This is a duplicate of UnsupportedMethodException Android Studio 0.8.9
You either need to upgrade Android Studio to 0.9 or downgrade the android plugin to lower than 14 in your build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:0.13.+'
}
}
Just updating dosn't work for me. what worked is update the beta version than udate in the canary channel after updating the beta version
Just click on update then change the channel and the click on oK
just try this https://stackoverflow.com/a/22308639/663540
When I update the gradle plugins to 0.14 in build.gradle,I met the error DefaultActivity not found, I try the answer above and finally build successful in IDEA 14.
It seams that you error stack is related to the problem I met.
I've tested with build 139.658.4, released on December 4th, 2014 and it's working fine with plugin 0.14.4
If you want to give a try:
http://confluence.jetbrains.com/display/IDEADEV/IDEA+14+EAP