Android Studio Panels Disabled

I don't see since then, but my palette doesn't appear, I did some searches, they say "Restart the project", but I don't know why, when I go to View -> Toolboxes, the palette is disabled:

Show menu where palette is disabled

I did an update too to see if it showed up, but it didn't. Logcat says:

0 warnings.
0 errors.

      

Console:

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
AGPBI: {"kind":"ERROR","text":"Resource id cannot be an empty string (at \u0027id\u0027 with value \u0027@+id/\u0027).","sourcePath":"C:\\Users\\...\\AndroidStudioProjects\\Solutis\\app\\src\\main\\res\\layout\\activity_contact.xml","position":{"startLine":7,"startColumn":17,"startOffset":308,"endColumn":22,"endOffset":313},"original":""}


 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\...\AppData\Local\Android\Sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

      

+3


source to share


3 answers


I found many posts with this problem and I found why the palette is not disabled, it is activated but hidden here:

enter image description here



So you just need to stretch it

+4


source


You can restore the default layout by going to Window / Restore Default Layout :



Window / Restore Default Layout

+2


source


I faced the same problem. And after a lot of trouble, I could fix it with Window -> Restore Default Layout (Shift + F12). It displayed the palette and component tree again.

0


source







All Articles