when I run my project the buttoms situation changes - android-studio

todays when i make a project and design it all of the situasion of buttoms in android studio is OK but when I run it the buttoms situation changes can any one help me?

Related

Android studio 3.4 taking too much time to build the project

After updating the android studio to android 3.4 it's taking too much time to build the project before that it's taking only a few minutes but now it's taking too much time
EDIT
even after one hour it keeps building the project.
#VirendraVarma Your solution worked for me, Appreciate it, but just to make it clear for everyone else.
1. Close the current Android Studio project
2. Go to your project's directory and delete all build, .gradle, .idea folders. Also any unfamiliar files as stated by Varma.
3. Now at the Android Studio welcome screen, click on open an existing Android Studio project and the rest should be quite straightforward.

Android Studio waiting for build to finish (activity_home_drawer.xml)

I've started to work with Android Studio. I tried to open activity_home_drawer.xml file, but I can only see
waiting for build to finish..
Can any one help me?
I already tried clean project and re build, but not success I had tried in so many ways what are explained in other StackOverflow question. but I still can't find a solution for this.
Gradle needs to re-sync. Go do gradle and make some changes, e.x add comment. There will be a yellow Sync now button on right corner. Click on that, it should fix it

Build failed. Problems with android layouts

I am trying to run my application on android studio, but I get the errors of "build failed". Although if I open a new project it can run the hello world. I haven't done any coding, Just some changes to the layout. added some buttons and background image a two more images. After doing this when I run my application then it will give me the errors. Please help me fix this issue, Thanks
It can happen if you are using your old application, just sync the gradle again it will automatically download required files.

Android Studio avoid "make" while running

When you press the run button in Android Studio the project is buit again, and as you know this always take long, if e.g. I select Build -> Make Project and then "Run" the make process runs again, I don't understand why? I would expect that it only installs the APK that is already generated. Is there a way I can achieve this, is my expectation funded or am I thinking wrong?
I've used the approach described here to speedup my build.
Building and running app via Gradle and Android Studio is slower than via Eclipse
At the same time i've disabled "make project automatically" because sometime it produces old code.

Compiling the sample GDK applications

I followed the directions (OSX, Eclipse Juno) and created the new android sample project.
Project got created, but the R wasn't generated and I wasn't able to build and run the application due to errors in the code. I tried to clean and build but no success. Every other aspect of the instructions worked well. DDMS perspective detected the glass device and the build target is Glass Development Kit Sneak Peek.
I also tried to open the project in Android Studio 0.3.6 but no luck.
Any help generating the R would be greatly appreciated.
No idea whether this will work well, but worked for me.
Delete all the Glassware projects with errors. Close Eclipse and restart it. Now create a new project with a "new name" which is not similar to the previous projects. While creating, make sure the Minimum and Target SDK are android 4.0.3. "Compile with" should be "Glass Development Kit". Now insert you code, import any missing packages and save it.
I did the same and it worked.
I did the same steps on my Windows work computer, and the R generated just fine.
So, guessing this is a Mac+Eclipse issue.

Resources