Can't find the Merged Manifest toolbar in android studio - android-studio

I open my androidManifest.xml file and I don't see the bar below where the Merged Manifest option is. how can i access this
Bar where merge manifest is missing or not showing

Related

code don't show when open new project in android studio

When I make a new project in Android Studio, I don't see any code files in the "Project" pane; instead, I see "External Libraries" and "Scratches and Consoles". Android Studio used to show code. I've tried following steps in tutorials, but they all seem to automatically see the code, and don't explain how to show it. Here's a screenshot of what I see:
As you can see the 'Project' written over there , in the right side their is a drop down. Click over there and you can see many options, but click on the last option named "Android". Their you can find that its showing 'app' and 'Gradle Scripts'. Click on the app drop down and go to java and res file
You can see your code.

Move class structure tab in Android Studio below Project files

Is there a way for the Structure tab in Android Studio to appear under your project files like in PHPStorm? As it stands now, it appears on the side as shown below.
PHPStorm
Android Studio 3.1.2
Drag and Drop the tab Structure and put it on the bottom left.

Missing project.gradle in Android View

In Android Studio, project.gradle file is not show when in Android View, but is when in Project view
Android View
Project View
How can I fix this ??
From the Gradle Tool Window in Android Studio (View > Tool Window > Gradle),
Right click on the the project's Gradle config with (root) next to its name.
Click on Ignore Gradle project,
and right click again then click on Unignore Gradle project.
The trigger to this 'buggy' phenomenon actually lies outside your project folder.
Assuming a project name of 'SilverBirch', try this:
(a) Close the project in Android Studio 3.0.1.
(b) Rename your project folder (inside the workspace folder) to 'SilverBitch'
(c) Re-open it via Android Studio (you obviously can't do so using 'recent projects')
(d) You should get a window titled Import Gradle Projects with text that reads: The modules below are not imported from Gradle anymore. Check those to be removed from the ide project too:
(e) Tick the (old) project name and click OK.
(f) At last your 'Android' view shows build.gradle(Project:SilverBitch)
(g) Repeat whole process, renaming back to original.
Alternatively, if you're insane, do this:
Locate the project.dat file AND folder for your project - it will have a path that looks something like this (assuming Windows)
C:\Users\<userid>\.AndroidStudio3.0\system\gradle\Projects\5be1ee38\project.dat
[The system-generated hex-string container name will vary, but the file is always project.dat]
The first line of this file references the 'missing' build.gradle and will clearly identify the owning project.
Delete the file AND its containing folder then re-open the project via Android Studio.
Because googling 'project.dat' yielded nothing, and because I made a rude assumption that this contained only system-generated data, and because I couldn't resist 'seeing what happens' I actually deleted
the entire Projects file [C:\Users\<userid>\.AndroidStudio3.0\system\gradle\Projects]
So far, so good - no serious side-effects yet! Maybe those plugins needed re-specifying anyway? etc.
Close Android Studio -> Remove project .idea folder -> Open Android Studio -> Open your project. This worked for me!
NOTE: when you remove .idea folder you will also lose project related preferences (such as XML code style for project)
Right Click on "Gradle Scripts"
Click Load/Unload modules
Load unloaded project module
Done
In my case, I found that my project.iml located in project/.idea
So I move it to project/
and change one line like following:
<module fileurl="file://$PROJECT_DIR$/My_Project.iml" filepath="$PROJECT_DIR$/My_Project.iml" />
the old one should look like this:
<module fileurl="file://$PROJECT_DIR$/.idea/My_Project.iml" filepath="$PROJECT_DIR$/.idea/My_Project.iml" />
After that, go back to android studio, every thing seems perfect!
This worked for me:
In your root project folder, open the *.iml file, and make sure that the value in module external.linked.project.id=, the *.iml filename, and the project directory name are all the same.
Now my build.gradle (Project: X) shows.
This worked for me.
Simply go to your AndroidStudioProjects Directory.
Search for your Project
Rename it with some other name
Strat your Android Studio, and then Import Project (Gradle, Eclipse ADT, etc.)
mode. let the Gradle Build Finish.
And that's it.

how to built a xml file in drawable folder in android studio

I'm using the Android Studio of 1.51 version,I don't know how to built a xml file in the drawable folder.When I clicked right button I found a XML selecton at the bottom,but it only can be used to build layout xml file or Values xml file.THX

Android studio 1.0 do not display drawable-hdpi , drawable-xhdpi, drawable-mdpi,drawable-xxhdpi

When I create a new project ,my Android studio 1.0 do not display drawable-hdpi , drawable-xhdpi, drawable-mdpi and drawable-xxhdpi .
I don't konw the reason.
This is my res directory structure
|--res
|--drawable
|--layout
|--menu
|--values
Someone help?
This is most likely because your project explorer is viewing them in Android mode. Above the folders there should be a dropdown button which you can choose to view them in Project mode. You should now be able to see the other drawable folders.
Try viewing the folders in different modes "Project" / "Android". If folders are missing you can add them easily.
1 : Right Click on "res" folder --> "New" --> "Android Resource Directory"
2 : Select resource type as "drawable" from the list
3 : Select "Density" as the Available qualifiers on the Left pane and click on the ">>" button
4 : Select a qualifier from the Density list
That's it!
Those folder will show up after you change the explorer setting to Project.
Put your drawables-* folders in res/ directory not res/drawables
It will show all drawa

Resources