Error starting Android Studio on windows 10

2

When I started Android Studio I got an error message, a week ago I started normally, but now before I start loading I get this error.

Internal Error. Please report to https://code.google.com/p/android/issues

java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:203)
    at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:47)
    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:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:358)
    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)
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
    at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:248)
    at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.registerComponents(ComponentManagerImpl.java:428)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:96)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:392)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:384)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:196)
    ... 16 more
Caused by: java.lang.NoClassDefFoundError: com/android/utils/ILogger
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.registerComponents(ComponentManagerImpl.java:408)
    ... 20 more
Caused by: java.lang.ClassNotFoundException: com.android.utils.ILogger
    at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:218)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 23 more

Is there a solution or will I have to reinstall it?

    
asked by FrEqDe 10.04.2017 в 17:45
source

3 answers

3

You can simply delete the cache, this error you mentioned, I had it but when updating.

    
answered by 08.05.2017 / 20:58
source
1

good. In order to solve this I have uninstalled Android Studio and then I deleted two folders of Android studio that is in the user (in my case Moises). In this folder you should find the preferences of the start, the program and other things. After I reinstalled the android studio, I was asked again by the preferences of start (when installing), and that's it. I do not know if I have explained myself well at all, because it is the first time that happens to me.

I suppose that uninstalling does not erase the startup preferences and configuration, in order to maintain the preferences in the next installation or in case of an update. If the start error is found in the preferences even if they are installed, they will reappear in the next installation, because they are maintained. That if the preferences and I do not know what more things are lost, but you can re-run the android.

I suppose that modifying the files of the folders that I have said will be able to modify the preferences without entering android studio to later re-enter.

Android folder in the user ".Android" Android folder in the user ".AndroidStudio2.3"

Greetings

    
answered by 08.05.2017 в 20:52
0

Here is the solution to the problem.

link

Follow the steps in the comment, if it works.

Greetings.

    
answered by 27.10.2017 в 19:44