Android中的清单文件是什么? [英] What is manifest file in Android?

查看:804
本文介绍了Android中的清单文件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以用简单的语言向我解释Manifest文件的用途是什么, Android中的R.java文件.

Can anybody explain me in simple words what is the use of Manifest file and R.java file in android.

为什么在制作应用程序时需要这些文件?

Why do we need these files while making an application?

推荐答案

选中此链接,

http://developer.android.com/guide/topics/manifest/manifest-intro.html

清单

每个应用程序都必须有一个 AndroidManifest.xml文件(带有 恰好是该名称) 目录.清单礼物 有关的基本信息 应用到Android系统, 系统必须具备的信息 才能运行任何 应用程序的代码

Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application's code

R.Java

它将具有我们项目中使用的所有资源的标识符

It will have identifier for all resource used in our project

谢谢.

这篇关于Android中的清单文件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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