Launching a project downloaded from the android open source project in eclipse
I'm just starting to developing for the android platform. I'm still in "reading lots of code" phase. I downloaded the source code from android's music player into eclipse, now I want to run it on the emulator but eclipse tells me that the "selection cannot be launched".
Is there something missing? I used this tutorial to get the code: http://www.vogella.de/articles/EGit/article.htm开发者_JS百科l and the git repository is: https://android.googlesource.com/platform/packages/apps/MusicIf you want to run a project you have to put into the eclipse
first put you project in your workspace.
then go to Eclipse-> file-> import and find your project.
when you have your project into eclipse open AndroidManifest.xml file and find the number of android:minSdkVersion.
Finally and go to... Eclipse-> Window-> Android SDK and AVD manager and create you SDK with the number of android:minSdkVersion
Now you are ready to run your application.
精彩评论