Ecllipse : Not able to see any file/Project - java

I installed Eclipse luna, Android SDK, ADT (all latest) & set up everything.
Even after re-starting Eclipse I don't see Welcome to Android screen. I can only see Welcome Screen. But the settings required for Android & Java were all set I believe so, so the installation might be done properly only.
I tried creating Android projects, on last dialog i.e. select Activity type, I select, click Finish ; the screen blinks and the same page is seen. I tried with variations (using different Activity type) & create 4 projects, can see the projects created, also the activity java file in src folder is created. But on Eclipse Don't see anything. But on top title, I see the project name.
Similarly to chk with I tried creating Java project, same thing. It seems somethign is wrong with Eclipse. Other than WElcome Screen I don't see anything. I even tried to open just a java file - file name is seen on top, but file contents not seen on screen.
Image of how I am creating project & its results :
After clicking Finish & Creating files, etc, again Step 5 is on focus and on back the Initial Welcome Screen is only seen.
If at all I click Finish again, then I get error that ApplicationName already exists.
See the Folders & Files created after clikcing Finish
The files, activity is created. So the Performing Changes has also done its work, but the view is lost ???
This is where I can't get what is happening & Why? What is going wrong here. I have only Android 5.0.1 API 21. I don't have 2.2 - Is that the reason !
Created Manifest File :
- - - -
Can someone please help me with this. I am stuck up and am in hurry to start working.
Any help is highly appreciated.
Thanks

Have you tried reset perspective? (Window -> Reset perspective)

Thanks to all. I got it solved.
I saw 2 icons on the top left below menu bar. On clicking that I could see the project explorer & other windows. And finally closed the Welcome Screen.
Thanks a lot for everybody's effort to help me solve my problem.
Thanks once again.

Related

My every project files and class suddenly turned into an strange format

Everything was good. Today, I opened Android Studio, and every kotlin class code and even layout and value files turned into another format like XML. I don't know what kind of strange reason it is.
I have been trying to fix this for 2 days now. even though I opened my files into some other editors(sublime, notepad)but the problem is still there.
I am attaching some screenshots MainActivity.kt.
I also tried these couple of things below
File > Sync project with Gradle files. Result: didn't solve my problem.
File > Invalidated cache/restart. Result: didn't solve my problem.
Try this.
Right-click on the file (e.g.: MainActivity.kt),
then click on "Open In", it will open your explorer window.
At this point open that file, which now you see in your explorer window, in a notepad, make a change (e.g.: adding a space where there is already a blank space)
and save the file.
Now Android Studio should see it correctly or, if not, try to restart Android Studio.
If that works, do the same for all suddenly-changed files.

Eclipse won't save its settings

So I just downloaded the newest eclipse version and I noticed I don't have autocomplete. I went to the preferences and enabled them. I restarted eclipse and when I got back - still no autocomplete. I went to the preferences again and the checkboxes I checked were unchecked now. I tried doing it again without restarting - the moment I do something like
Button btn = new Button();
btn.
and I press control + space I get No default proposals. When I go to check the settings again the checkboxes get unchecked again(by themselves). I added the source code from the jdk too. Still no success. I tried to download it again a few times. Each time to no success. I tried placing the eclipse folder in tons of different places - first it was in the program files folder (I run on windows 10 64), then I moved it to a non system drive it still didn't save. I tried creating a ton of new workspaces all at different places on my harddrive and still nothing worked. I tried looking for people with the same problem as mine but most say they fixed the problem by updating - I can't update because I just downloaded the newest Eclipse version. Anyone has any idea how to fix this?
Well sorry if you just found this on Google because my solution is just as dumb as most of the solutions out there. After the 2nd reinstall I decided to try again tomorrow as it was getting late. Next morning everything worked. I didn't even turn off my PC so not a restart fix.

Eclipse for Java not loading in packages and classes

so I'm relatively new to Eclipse and programming in general, started using Eclipse for Java a few days ago. It all went well until today. When I open Eclipse, select path, etc. there are no errors or anything but all my classes and packages that are supposed to show on the left side are gone, and it's not the bar that's gone - it's still there, it's just blank. By now I've done some googling but I still have no clue how to fix it. Sure, dragging every file into Eclipse one by one works but even after that, the package explorer bar is still empty as my tea cup right now..
You can try the below setting to get the packages/classes back again:
Window->Reset Perspective
I think you are accessing wrong workspace.. Switch to correct path.
In eclipse,
File. -> Switch Workspace -> Other -> select dropdown too see any other workspace available..
Select correct workspace and check whether the packages and classes are available..

Mars MIPS Simulator not functioning, installation issues?

I have downloaded the Mars MIPS Simulator .jar file, and I have downloaded the java jdk file from oracle. Whenever I open the jar file, the IDE is there, but everything is greyed-out. I can't even edit the text in the window. When you select "Execute", three cut off windows appear in the box below, one titled "Text Segment", one "Data Segment", and one "Labels". I am thinking it is a failed installation, but I have no idea what else to do. Thank you for any help!
Here is a screenshot:
http://i.imgur.com/8O30Hzh.png
Hey I had the same problem! Just use the toolbar on the top and click paste and the edit window should work. And after you hit assemble, go to settings->Show labels window. Hope it helps!
I can tell you this:
I don't think it's an installation issue. As you said, you installed the JDK and then run the program succesfully. An installation issue would be an unexpected error because of a missing dependency, or something similar.
As this is not a programming question, I don't think StackOverflow is the correct site. You may search in the StackExchange site for an adequate community.
However, try putting the cursor at the bottom of the cut off windows to see if you can modify the size of the container panel.
UPDATE
Seems like the problem is that you are not editing a file, that's why the majority of the buttons are disabled. Try creating a new file: click the first button in the toolbar, the white one. Also, the menu item "file" should give you an option to do it.

Eclipse incorrectly generating new Android project

I am attempting to create an android project through eclipse as I have many other times, but today Im having a strange problem. After choosing new project - Android project - setting my name and target SDK - icon/empty activity etc. When I have to name the empty activity I enter a name and if I click Finish nothing happens and the name activity menu stays there. The next button is greyed out.
The only thing I can do is cancel out from there. In my project explorer the project HAS been created though. There are no src files, no activity or anything really. A small manifest file and some empty resource files.
Im not familiar with the icons associated with these files and folders. I dont know why this is happening. I have tried "Help" -> "Install new software" and install from url: https://dl-ssl.google.com/android/eclipse/ and have also tried updating and install all current SDK's but nothing seems to work.
Has anyone else experienced anything similar?

Categories

Resources