开发者

Launching a project downloaded from the android open source project in eclipse

开发者 https://www.devze.com 2023-03-20 20:24 出处:网络
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

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/Music


If 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号