B
B
bart12k2020-01-12 02:46:37
android studio
bart12k, 2020-01-12 02:46:37

How to fix IDE error occurred, what's the problem?

I can’t run the application on a real phone, immediately through Android Studio, I get an IDE error ocurred here is the log

java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.Win7TaskBar
at com.intellij.ui.AppIcon$Win7AppIcon._hideProgress(AppIcon.java:416)
at com.intellij.ui.AppIcon$BaseIcon.hideProgress(AppIcon .java:104)
at com.intellij.ui.AppIcon$BaseIcon$1.applicationActivated(AppIcon.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl .java:114)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393)
at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354
) .impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:318)
at com.intellij.util.messages.impl.MessageBusImpl.access$100( MessageBusImpl.java:29)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192)
at com.sun.proxy.$Proxy33.onFrameActivated(Unknown Source)
at com.intellij.ide. FrameStateManagerImpl$2.applicationActivated(FrameStateManagerImpl.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method .invoke(Method.java:498)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393 )
at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:320) at
com.intellij.util.messages.impl.MessageBusImpl.access$100(MessageBusImpl.java:29)
messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192)
at com.sun.proxy.$Proxy65.applicationActivated(Unknown Source)
at com.intellij.ide.ApplicationActivationStateManager.setActive(ApplicationActivationStateManager.java:122)
at com. intellij.ide.ApplicationActivationStateManager.updateState(ApplicationActivationStateManager.java:69)
at com.intellij.ide.IdeEventQueue.processAppActivationEvents(IdeEventQueue.java:723)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:595)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:375)
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:128)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java. awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security. AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run (EventQueue.java:739)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt. EventQueue.dispatchEvent(EventQueue.java:736)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:757)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:706)
at com.intellij.ide .IdeEventQueue.dispatchEvent(IdeEventQueue.java:375)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents( EventDispatchThread.java:101
)
EventDispatchThread.run(EventDispatchThread.java:82)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question