本文介绍了Android软件包位置在Andorid Studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从初学者的快速问题

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

所以我研究了Android studio中的目录结构,它得到了应用程序(根目录),src目录(它有main和res目录),所以java目录应该有java包。上面列出的android包来自?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文件(仅限字节代码)。你不能修改它。

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.

这篇关于Android软件包位置在Andorid Studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 01:12