Package Explorer Missing In Eclipse

Package Explorer Missing In Eclipse. Some time small problem create big trouble. Once when I started Eclipse, the Package Explorer was not there on Eclipse screen. I was new to Eclipse and tried everything to bring the Package Explorer back. After spending and messing long time with eclipse, I got my Package Explorer back. Here Is the way to do so.
  • From eclipse Goto Window > Show View > Other
  • "Show View" pop up window will open
  • Goto General > Project Explorer 
  • Click Ok

Note: There may be other way to solve this problem. My problem solved using this way. If there is some other short cut key or way, than do write in comment and share with us.

Error: Android Library Project Cannot Be Launched

Error message: Android library projects cannot be launched. 

When I Run My application I encountered this error. I again checked the code, build target,  build path, library and everything was proper. I clean project and Run again but still this error occurred. I googled for Android library cannot be launched problem and got the solution, which solved My problem.

Solution:
  • In Package Explorer, Right Click on Project > Properties
  • Select Android from Properties pop up window
  • See "Is Library" check box, if it is checked than Unchecked "Is Library" check box
  • Click Apply and Ok.
The above solution worked for me. If you still encounter the problem write in comment for other solution.

How to import android sample project or code in eclipse

Ways to import android sample project or code in eclipse. If you are new to work on eclipse, than surely you have encounter this problem. Many new comer ask Me "How to import sample program / code in eclipse Package Explorer".

Given below are two way to do so.

1st:

Copy Sample Project to Android sample project folder.
i.e. "C:\Program Files\Android\android-sdk\samples\android-15"

From eclipse go to: File > New > Project.
"New Android Project" window will pop-up.

Select "Create project from existing sample" radio button and click Next.

Select Build Target i.e. Android 4 (or Target you are using) or Google APIs.

Select Sample project that need to open and click Finish.
    2nd:

    From Eclipse go to: File > Import
    "Import" pop window will open.

    General > Existing Project Into Workspace.

    Click on Browse button and select the location of sample project folder and click Ok.
       
      Related Search: