Mellon
Mellon

Reputation: 38832

Where is the 'dx' tool located in the Android SDK?

I have installed the latest Android SDK just now.

But I can't find the dx tool (which is used to convert .class to .dex file). Neither under platform-tool/ nor under tools/. Where can I find my dx tool then?

(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.)

Upvotes: 8

Views: 11856

Answers (4)

From future:

dx tool was replaced by d8 with several improvements, it can be found at

build-tools/{{version}}/d8

For more information about dx to d8 transition visit next link

Upvotes: 0

Infinite Recursion
Infinite Recursion

Reputation: 6557

You will find it in \platforms\any-platform\tools\dx.bat.

Upvotes: 0

Blackbelt
Blackbelt

Reputation: 157447

The dx tool is located inside 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.

Upvotes: 7

rajkabbur
rajkabbur

Reputation: 217

I found it under "android-sdk\build-tools\any-sdk-build-tool-version".

Upvotes: 1

Related Questions