在Andorid的工作室Android包的位置位置、工作室、Andorid、Android

2023-09-04 07:36:31 作者:呗

这是一个初学者快速的问题

Quick question from a beginner

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

于是我研究了机器人工作室的目录结构,它得到了应用程序(根目录),src目录(有主,资源目录),因此Java目录应该对Java packages.Where是上面列出的Andr​​oid包从?res目录来临了我听到了非Java文件。(如XML)。

So I studied the directory structure in Android studio,its got the app (root directory),src directory(which has main and res directories),so the java directory should have the java packages.Where are the above listed android packages coming from ?res directory i heard has non java files.(like xml).

推荐答案

快速解答,以快速入门

这一切都从的android.jar (您选择适合您的项目平台),这些都是 .class文件(字节到来班只有code)。您不能修改它。

This all classes coming from android.jar (The platform that you selected for your project) and these all are .class files (Byte code only). You can't modify it.