[英]Where is the 'dx' tool located in the Android SDK?
I have installed the latest Android SDK just now.我刚刚安装了最新的Android SDK。
But I can't find the dx tool (which is used to convert .class to .dex file).但是我找不到dx工具(用于将 .class 转换为 .dex 文件)。 Neither under
platform-tool/
nor under tools/
.既不在
platform-tool/
下也不在tools/
。 Where can I find my dx tool then?那么我在哪里可以找到我的dx工具?
(With Android SDK Manager in Eclipse, I have installed Android SDK Tools , Android SDK Platform Tools , Android SDK Build Tools , and All the Android platforms from API 3 to API 19.) (使用 Eclipse 中的 Android SDK Manager,我已经安装了Android SDK Tools 、 Android SDK Platform Tools 、 Android SDK Build Tools以及从 API 3 到 API 19 的所有 Android 平台。)
The dx
tool is located inside build-tools/android-{version}
. dx
工具位于build-tools/android-{version}
。
From the shell you can type ./dx
if you are inside the directory android-{version}
, and the whole path to dx
otherwise.如果您在目录
android-{version}
,则可以从 shell 键入./dx
否则键入dx
的整个路径。
我在“android-sdk\\build-tools\\any-sdk-build-tool-version”下找到了它。
您会在\\platforms\\any-platform\\tools\\dx.bat 中找到它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.