Debugging native code in Android Studio: LLDB server not found - android

When I try to debug my native Android application, sometimes I get this IDE internal error:
java.lang.Throwable: LLDB server not found
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:126)
at com.android.tools.ndk.run.lldb.ConnectLLDBTask.newSessionStarter(ConnectLLDBTask.java:360)
at com.android.tools.ndk.run.lldb.ConnectLLDBTask.access$200(ConnectLLDBTask.java:91)
at com.android.tools.ndk.run.lldb.ConnectLLDBTask$3.createDebugProcess(ConnectLLDBTask.java:598)
at com.jetbrains.cidr.execution.testing.CidrLauncher.startDebugProcess(CidrLauncher.java:29)
at com.jetbrains.cidr.execution.CidrCommandLineState.startDebugProcess(CidrCommandLineState.java:30)
at com.jetbrains.cidr.execution.CidrRunner$1.start(CidrRunner.java:63)
at com.intellij.xdebugger.impl.XDebuggerManagerImpl.startSession(XDebuggerManagerImpl.java:201)
at com.intellij.xdebugger.impl.XDebuggerManagerImpl.startSession(XDebuggerManagerImpl.java:162)
at com.jetbrains.cidr.execution.CidrRunner.startDebugSession(CidrRunner.java:56)
at com.android.tools.ndk.run.lldb.ConnectLLDBTask.launchCidrDebugger(ConnectLLDBTask.java:628)
at com.android.tools.ndk.run.lldb.ConnectLLDBTask.launchDebugger(ConnectLLDBTask.java:296)
at com.android.tools.idea.run.tasks.ConnectDebuggerTask.lambda$perform$0(ConnectDebuggerTask.java:90)
at com.intellij.util.ui.UIUtil$14.run(UIUtil.java:3144)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:817)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:758)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:394)
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)
The problem is not in the application itself, nor the Android Studio, I think. To get it to work, I sometimes have to disable then enable again the USB debugging mode on my device, detach and attach the USB cable again or sometimes even restart my device. I don't want to do it every time I need to debug my code because it is just a waste of time an my nerves. Anybody knows the cause or the solution of this weird problem?

Related

Incomplete text in xml files causing errors in newly created Android Studio Project

Just a minor issue but it's my first time I encountered such error. I'm wondering if anyone encountered the same with the latest Android studio build (3.5.3)?
This is by creating a new android project with blank activity. (checked or unchecked instant apps have the same effect).
Already tried invalidating cache and restart before creating a new project. Still, I get the same incomplete texts and errors. Last resort I have is reinstalling AS.
Colors.xml:
Other xml files::
IDE error I encountered (error report which i sent to google):
java.lang.NullPointerException
at com.intellij.xml.arrangement.XmlArrangementVisitor.createNewEntry(XmlArrangementVisitor.java:94)
at com.intellij.xml.arrangement.XmlArrangementVisitor.visitXmlTag(XmlArrangementVisitor.java:52)
at com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1027)
at com.intellij.xml.arrangement.XmlArrangementVisitor.visitXmlFile(XmlArrangementVisitor.java:45)
at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71)
at com.intellij.xml.arrangement.XmlRearranger.parse(XmlRearranger.java:128)
at com.intellij.psi.codeStyle.arrangement.engine.ArrangementEngine$Context.from(ArrangementEngine.java:540)
at com.intellij.psi.codeStyle.arrangement.engine.ArrangementEngine.arrange(ArrangementEngine.java:132)
at com.intellij.psi.codeStyle.arrangement.engine.ArrangementEngine.arrange(ArrangementEngine.java:93)
at com.android.tools.idea.templates.TemplateUtils.reformatAndRearrange(TemplateUtils.java:346)
at com.android.tools.idea.templates.TemplateUtils.reformatAndRearrange(TemplateUtils.java:303)
at com.android.tools.idea.templates.TemplateUtils$1.run(TemplateUtils.java:282)
at com.intellij.openapi.command.WriteCommandAction.lambda$runWriteCommandAction$5(WriteCommandAction.java:361)
at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$1.run(WriteCommandAction.java:124)
at com.intellij.openapi.application.RunResult.run(RunResult.java:35)
at com.intellij.openapi.command.WriteCommandAction.lambda$null$1(WriteCommandAction.java:263)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1055)
at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:262)
at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:319)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:220)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:188)
at com.intellij.openapi.command.WriteCommandAction.doExecuteCommand(WriteCommandAction.java:321)
at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:262)
at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:244)
at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.run(WriteCommandAction.java:126)
at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:361)
at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:353)
at com.android.tools.idea.templates.TemplateUtils.reformatAndRearrange(TemplateUtils.java:272)
at com.android.tools.idea.templates.Template.lambda$render$1(Template.java:279)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:360)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$queueSmartModeActivity$3(StartupManagerImpl.java:166)
at com.intellij.openapi.project.DumbServiceImpl.lambda$runWhenSmart$0(DumbServiceImpl.java:232)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runWhenProjectIsInitialized$6(StartupManagerImpl.java:392)
at com.intellij.ui.GuiUtils.invokeLaterIfNeeded(GuiUtils.java:377)
at com.intellij.ide.startup.impl.StartupManagerImpl.runWhenProjectIsInitialized(StartupManagerImpl.java:394)
at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:224)
at com.intellij.ide.startup.impl.StartupManagerImpl.queueSmartModeActivity(StartupManagerImpl.java:166)
at com.intellij.ide.startup.impl.StartupManagerImpl.access$400(StartupManagerImpl.java:48)
at com.intellij.ide.startup.impl.StartupManagerImpl$1.lambda$run$0(StartupManagerImpl.java:196)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at com.intellij.ide.startup.impl.StartupManagerImpl$1.run(StartupManagerImpl.java:196)
at com.intellij.openapi.project.DumbServiceImpl.doRun(DumbServiceImpl.java:380)
at com.intellij.openapi.project.DumbServiceImpl.updateFinished(DumbServiceImpl.java:372)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$pollQueueLater$0(TransactionGuardImpl.java:74)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
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.awt.EventQueue.dispatchEvent(EventQueue.java:734)
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)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
I haven't discovered the cause of the error but I suspect some file in the configuration folder is corrupted.
I managed to fix it by renaming/deleting the C:\Users\%USERPROFILE%\.AndroidStudio3.5 folder.
The folder is hidden by default thus make sure you change the settings in folder option/show hidden folders first.
Reopen Android Studio, skip importing configurations and it will work again.

Intellij Android Support plugin exception on project creation

On Intellij CE 2018.3.5, using bundled Android Support plugin, I got this exception when trying to create an Android project. I used default options suggested by the wizard.
java.lang.RuntimeException: Project 'SomeDir/MyApplication' My Application; Disposed: false; Open: false
at com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(DocumentCommitThread.java:348)
at com.intellij.psi.impl.PsiDocumentManagerBase.lambda$doCommit$2(PsiDocumentManagerBase.java:443)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1057)
at com.intellij.psi.impl.PsiDocumentManagerBase.doCommit(PsiDocumentManagerBase.java:451)
at com.intellij.psi.impl.PsiDocumentManagerBase.commitDocument(PsiDocumentManagerBase.java:290)
at com.intellij.psi.impl.PsiDocumentManagerBase.commitAllDocuments(PsiDocumentManagerBase.java:209)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:670)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:683)
at com.android.tools.idea.templates.Template.render(Template.java:255)
at com.android.tools.idea.npw.project.NewProjectModel$ProjectTemplateRenderer.performCreateProject(NewProjectModel.java:296)
at com.android.tools.idea.npw.project.NewProjectModel$ProjectTemplateRenderer.render(NewProjectModel.java:253)
at com.android.tools.idea.npw.template.MultiTemplateRenderer.countDown(MultiTemplateRenderer.java:64)
at com.android.tools.idea.npw.template.MultiTemplateRenderer.skipRender(MultiTemplateRenderer.java:82)
at com.android.tools.idea.npw.template.RenderTemplateModel.handleSkipped(RenderTemplateModel.java:190)
at com.android.tools.idea.wizard.model.ModelWizard.handleFinished(ModelWizard.java:409)
at com.android.tools.idea.wizard.model.ModelWizard.goForward(ModelWizard.java:331)
at com.android.tools.idea.npw.ideahost.IdeaWizardAdapter.doNextAction(IdeaWizardAdapter.java:88)
at com.android.tools.idea.npw.ideahost.AndroidModuleBuilder.doNextAction(AndroidModuleBuilder.java:139)
at com.intellij.ide.util.newProjectWizard.AbstractProjectWizard.doNextAction(AbstractProjectWizard.java:246)
at com.intellij.ide.wizard.AbstractWizard$5.actionPerformed(AbstractWizard.java:208)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
...
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
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)
I'm wondering any one has faced this before? Is there any way to get around this? Thanks!
I found the problem. On my IntelliJ, I have installed HaskForce plugin for Haskell support. Once I disabled it, the problem went away.
It's a known issue. Please follow it for updates and provide more details so that JetBrains developers can reproduce it.

Android Studio 2.3 Error. Not rendering the layout in the Design tab

I Have this error in the latest stable version of Android Studio (2.3.1) i have it occur yesterday i thought it can be fixed by restarting the application then today when i checked, after several restart. It still render an empty
I Tried reporting it to google and there is an error in the Report, i dont know if its relevant so im just going to post the error i get.
I have no gradle error but when i see the event log there is a nullpoineterexception.
java.lang.NullPointerException
at com.android.tools.idea.uibuilder.handlers.constraint.ConstraintUtilities.updateWidgetFromComponent(ConstraintUtilities.java:1323)
at com.android.tools.idea.uibuilder.handlers.constraint.ConstraintModel.updateSolverWidgetFromComponent(ConstraintModel.java:821)
at com.android.tools.idea.uibuilder.handlers.constraint.ConstraintModel.updateSolverWidgetFromComponent(ConstraintModel.java:823)
at com.android.tools.idea.uibuilder.handlers.constraint.ConstraintModel.updateNlModel(ConstraintModel.java:591)
at com.android.tools.idea.uibuilder.handlers.constraint.ConstraintModel.lambda$modelChanged$1(ConstraintModel.java:235)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
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.defaultDispatchEvent(IdeEventQueue.java:795)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
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)
Well i dont know if it helps solve the mystery but i downloaded plugins in android studio that night before it occur
Try this
In your android studio,
Go to File>Invalidate caches and restart
Confirm your choice if it asks for it.
Then see if it is working or not.
Have you installed Constraint Layout for Android in the support Repository.
Tools -> Android -> SDK Manager -> SDK Tools constraintLayout
Since you are using ConstraintLayout, this repository should be installed
Find out more here

IllegalArgumentException: Unable to locate adb due to error in the last update on support library

After click update to update some android SDK packages, when i open android studio and try to run any application, that's what i get:
IllegalArgumentException: Unable to locate adb
And the details is the below:
And in the Details tab:
Unable to locate adb
java.lang.IllegalArgumentException: Unable to locate adb
at com.android.tools.idea.run.editor.DeployTargetPickerDialog.<init>(DeployTargetPickerDialog.java:133)
at com.android.tools.idea.run.editor.ShowChooserTargetProvider.showPrompt(ShowChooserTargetProvider.java:98)
at com.android.tools.idea.run.AndroidRunConfigurationBase.getDeployTarget(AndroidRunConfigurationBase.java:475)
at com.android.tools.idea.run.AndroidRunConfigurationBase.getState(AndroidRunConfigurationBase.java:294)
at com.intellij.execution.runners.ExecutionEnvironment.getState(ExecutionEnvironment.java:158)
at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:55)
at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:50)
at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:118)
at com.intellij.execution.impl.ExecutionManagerImpl.start(ExecutionManagerImpl.java:117)
at com.intellij.execution.impl.ExecutionManagerImpl.access$300(ExecutionManagerImpl.java:67)
at com.intellij.execution.impl.ExecutionManagerImpl$3.run(ExecutionManagerImpl.java:509)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
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.defaultDispatchEvent(IdeEventQueue.java:795)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
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)
I report the error to google and i tried to uninstall and install all of: sdk-build-tools and sdk-platform-tools but the same error still exists.
After a lot of investigation, this error happen due to uncompleted install of sdk-platform-tools while the last update and when i tried to uninstall it and reinstall it again from Android studio UI there is unexpected behaviour happened.
So the solution is to open the terminal in Android Studio and write the below command to install sdk-platform-tools:
android update sdk --no-ui --filter platform-tools

Android Studio 2.2 doesn't show any project with java.lang.NullPointerException

I am facing new issue in android studio. I can't see any of my project .Just i can cee a blank screen.
I got the error like this.
java.lang.NullPointerException
at com.intellij.openapi.application.impl.ApplicationImpl.confirmExitIfNeeded(ApplicationImpl.java:877)
at com.intellij.openapi.application.impl.ApplicationImpl.access$900(ApplicationImpl.java:92)
at com.intellij.openapi.application.impl.ApplicationImpl$16.run(ApplicationImpl.java:827)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:840)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:789)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:784)
at com.intellij.openapi.wm.impl.IdeFrameImpl$5$1.run(IdeFrameImpl.java:275)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329)
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:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
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)
Now i am unable to open all of my projects & facing trouble to finish my task.
Any Help?
Finally i can recover the problem. I am using windows OS. I open the task manager and close Android Studio program. After re-opening the Android Studio, I get back all the preference what i set earlier with all projects link up.
#Martin Revert Solution can be followed. But Remember, all project preference will be erased and may be you have to set SDK path and all necessary things. Else you can follow my solution.

Categories

Resources