• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

"Android library projects cannot be launched"?

Hi all,
Now I am totally confused by this error message: Android library projects cannot be launched. I carefully checked build path and library, everything is OK. And there is no error in Problems view. However, when I tried to run my application as a Android project, it failed and showed this message.
What does really happen in my code? Any ideas?
Thank you in advance!
 
Done the following things
  1. In the Package Explorer, right-click the library project and select Properties.
  2. In the Properties window, select the "Android" properties group at left and locate the Library properties at right.
  3. Select the "is Library" checkbox and click Apply.
  4. Click OK to close the Properties window.

So, you open your project properties and "unselect" "is Library" checkbox and click Apply to make your project a normal Android project (not a library project).
 
Back
Top Bottom