Eclipse中创建Android应用 [英] Eclipse create android application

查看:78
本文介绍了Eclipse中创建Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建这样一个Android应用程序:的http:// developer.android.com/training/basics/firstapp/creating-project.html

但是当我创建应用程序的src文件夹是empty.Here可以看到: http://prntscr.com/3xm25c

和我也有一个问题:我应该选择API级别23(Android版L)或19(奇巧)


解决方案

您需要创建一个新的活动。
要做到这一点,


  

右键单击的的src 的文件 - >新建 - >其他 - > Android的 - > Android的活动


有关更多的,你可以看看这太问题:<一href=\"http://stackoverflow.com/questions/2337874/best-way-to-add-activity-to-an-android-project-in-eclipse\">Best的方式来增加活动在Eclipse中的Andr​​oid项目?
或本博客文章:如何创建的Andr​​oid

I am trying create an android application like this : http://developer.android.com/training/basics/firstapp/creating-project.html

But when I create the application the src folder is empty.Here you can see:http://prntscr.com/3xm25c

And also I have one more question:Should I select the api level 23(Android L) or 19 (Kitkat) ?

解决方案

You need to create a new activity. To do this,

Right click src folder -> new -> other -> Android -> Android Activity

For more you can look at this SO question : Best way to add Activity to an Android project in Eclipse? or this Blog post: How to create a new activity in Android?

这篇关于Eclipse中创建Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆