Some Attributes are now showing in Andoid Studio. I also rebuid project, cleared cache, resync project and also reinstalled everything but still it is not working.enter image description here
enter image description here
Have you tried closing and re-opening android studio? It seems more like a system error than on you. Hope this helps!
Related
I have encountered issues in my android studio regarding java classes/symbols not found, despite these classes and symbols being placed in the same directory, or under the same parent directory. I am making use of the DJI's mobile SDK for android.
Example of errors:
Cannot resolve symbol 'DJISampleApplication'
For illustration, here are 2 screenshots
First example. Clicking on "import class" causes android studio to create a brand new class instead of linking it to the existing one.
second example
However, oddly, when I go under "Build >> Make Project" , or "Run" to deploy on a real android device, the app can be installed, and there are no errors (only warnings).
Things I have tried:
Uninstalling and re-installing android studio
copying the whole project from the original files in again
Trying on another computer, which works. However, as i am only assigned this pc, i have to get this to work here as well.
Thank you in advance !
Your best bet is to invalidate caches and restart. Solves 99% of problems like this for me.
You can also try to reimport the project using the gradle tool window ...
Click the reload button here ...
I updated my Android Studio and one of the options disappeared, which is textAlignment. Where can I find it?
Click on View All Attributes below.
I have an androidstudio-project which has not been worked on for some time. When i opened the project, androidstudio did a bunch of updates. Now all the views are not displayed in the design-mode:
I have created a new view and i get the same problem. I have tried to clean / rebuild the project. I also tried to invalidate the caches, but the problem is still there.
I have no error in my project, i can launch the application.
Can someone explain me why this happened and how to fix this?
Did you try creating a simple layout? Probably a relative layout with a TextView or so?
Try changing the Api version to a lower one. Check your Manifest for the theme you have set, try changing that also. Also check if your gradle version is the latest and the you are using the latest API version for building your app.
I have a big problem with my Android studio, I followed many tutorials and it doesn't work .
I need your help...
Here are some photos to describe my problem:
Try building your project.
Make sure your project's name doesn't have any special charactrers in its name.
Try creating another project and copying everything you did into it.
Hope I helped.
click the button(below menu item Run) left of Run Button, if possible, then choose app.
or
Rebuild and Run.
When I install the android SDK from here http://developer.android.com/sdk/index.html
my file at the time was like adt-bundle-windows-x86_64-20140624.zip. When I ran it, the eclipse looked very different. The loading screen showed Juno instead of the android loading screen. The icon on the bottom task toolbar (windows 7) was a unknown program icon and not the eclipse icon. When it opened, it looks like this image below.
If I try to create a new android activity file, after I click finish, I expect the file to be created, but nothing happens. Also if I go to the xml layout file and go to the gui explorer, I get a bunch of errors saying some widgets didn't load. And then it doesn't show the preview.
Some things work like intellisense and being able to run app on phone.
Im not sure if this has to do with corrupted preferences, so I deleted the files in here
Eclipse Workspace\.metadata\.plugins\org.eclipse.core.runtime, but it didn't help.
Does anyone know whats wrong and how to fix it?
Thanks.
I also installed the same version adt-bundle-windows-x86_64-20140624.zip last week. It worked fine for the most part. The different icon and splash screen for Eclipse is to be expected. There were some oddities, like the link to SDK manager still pointed to my previous ADT installation.