Android Studio 0.2.7 Project view doesn't show my project - android

I've just updated Android Studio to 0.2.7 and my Project view (Alt+1) has gone strange.
That's all I get showing up there. I've tried restarting the IDE but it's still the same.
Anyone got any ideas what's happened?
EDIT: I've reverted to a Backup of my project from a few days ago and just copied in my java and res folder, and it seems to be working fine, but I'm still curious as to what happened in my original project

I made a new project and copied in the files.
This seems to be the "go to" fix for and Android Studio projects after it updates for me :p.

Related

android studio projects getting corrupted after a restart

After upgrading to arctic fox, I faced this issue. Opened a project I worked previously with older version of android studio was fine, but after restart its files became full with gibberish values. I thought its a hardware failure issue. But this happening again today with other projects, so I want a solution.
After working, closing and reopening the project the files contents became corrupted/changed:
File contents changed on previous project, showing difference with git:
ArcticFoxPatch2, Projects are built with gradle 7.0.2.
Solutions tried:
I have tried potential solution of invalidating cache and restart, but the files stays same.
Android studio warns and suggest wrong encoding but reloading with multiple other encoding did not resolve file contents.
What should be a solution?
Should I change hardware, eg ssd? or downgrade android studio?
Please run android studio like this.
Click Android Studio and click right button on mouse, then click "Run as Administrator".
Hope it helpful for you.

Android Studio text is messed up (corrupted) after plugin installation

The problem is android studio suggested a plugin installation for README.md files and after that this is what happened
I don't know what happened with Android Studio font but it is all messed up like this.
however all project files are completely fine
Problem in detail :
Android Studio suggested a plugin installation for .md files which I accepted and then another prompt popped up which said other plugins need to be installed (as a dependency) so the suggested plugin work and I accepted it and then restart Android Studio for the changes to take effect. Before Android Studio started again, it prompted me with a message
That only one these two plugins could run at the same time
- MarkDown jetbrains
- MarkDown something else(I don't remember)
I chose the first one and after that Android Studio started again and here was the problem.
What I've tried
I tried to delete the said plugins but nothing changed
I deleted .AndroidStudio folder in C:\Users\myname which actually worked but then when I tried to import my settings.jar file which I made last month and the problem showed up again
How do I solve this?
I solved the problem by not importing below option

Android Studio does not load projects properly anymore

For some reason whenever I open my project in Android studio it looks like this
It happened before, I tried to reinstall Android Studio which fixed it for like 1 hour, then the same thing happened again, tried to reinstall android studio one more time and now it just doenst work at all.
.
Thank you very much for any answers
This is faced by many developers like me after updating to AS3.
Try Import Project... and navigate to your project. Select build.gradle file.
Be sure to wait for a while, so that android studios can load all your stuff. Sometimes a restart will help.
Gradle sync success is needed, cause project files will not be indexed if gradle build is not successful.

All Java Files becomes red marked as error. but project build successfully

I am using android studio 1.0. I am developing a small android application. When i was editing the code in one of my java file in android studio, power cut happened.
After power came, i open the android studio and open my project, all files in the java folder marked as red indicationg error.
but the projects build successfully. when i sync with gradle.
it also done successfully. and perfectly runs in the device after launced the app in my phone.. but the red mark not disappear
even i close the project and reopen. If i create new project also, the same things happen again.
i can't understand what's happened. i also tried re install my jdk 1.7
Can anyone help me, how to fix this bug. please give exact solution. i don't like suggestions like to re install android studio
Try to Update to androidstudio 1.2
Close Android Studio
Go to C:\Users\user\\.AndroidStudio2.3\system\caches directory and delete all files.
Restart Android Studio
Done.

android studio rendering timeout

I have a problem with Android Studio. Since this morning I can't edit my layouts through the Design interface. It's stuck on "Initializing Rendering Library" and the IDE freezes. All my layouts were working well yesterday and I haven't changed anything since then.
I have tried to invalidate the cache and restart but without any result.
Try that steps :
1.Update Android SDK and Android Developer Tools.
2.If that will not help, reinstall Android Studio using the newest available version (remember to do a backup of your data and projects).
3.If that will not help, install other IDE for example Eclipse and import all your projects to it.
Good luck !
For me helped such steps:
Remove .gradle folder from the project folder, all *.iml files and
.idea
Remove C:\Users\username.AndroidStudioPreview1.2
Run Android Studio without importing settings. This will allow to see a dialog where you can open your project from scratch. If you
import settings then Android Studio will open previously opened
*.xml files which caused the problem (hanging "Initializing Rendering Library") and the situation will happen again
Run Gradle cleanup
Sync project
Invalidate cache and Restart
Build the project from command line. If use Build from AndroidStudio I got hanging "scanning files to index..."
I reinstalled my android studio without success,
Then, I downloaded the sdk again, and change my old sdk-path to the new one
After I restarted my studio, it works.
The most mysterious thing is, I rechange my sdk-path back to my older one, then every thing is ok,I don't know why,but it solved the problem

Categories

Resources