2013-06-15 11 views
13

Android開発ツールとAndroid SDKツール、Android SDKプラットフォームツールとAndroid SDKビルドツールの違いは何ですか?「Android Development/SDK tools」の違いは何ですか?

なぜそれらをいくつかのグループに結合しないでください。 4つのツールは私がダウングレード/アップグレードするときに私を混乱させました。

+0

これを参照してください:http://stackoverflow.com/questions/8817554/what-is-difference-between-platform-tools-and-sdk-tools –

答えて

5

まあ、Androidの開発ツール(ADT) apps.Thereを開発するEclipseのと組み合わせて使用​​されているプラ​​グインは、あなたが作成を開始するために必要なすべてを含むパッケージですADTバンドルですアプリ。

SDKツールは、Android SDKのダウンロード可能なコンポーネントです。これには、Android SDKの開発ツールとデバッグツールが含まれています。

ADTバンドルをダウンロードすることをお勧めします。それはあなたが必要とするすべてを含んでいます。まもなくGoogle I/O Android Studioが導入されましたが、まだベータ版です。基本的にADTの機能を果たし、さまざまなデバイスでのアプリの表示方法を確認することができます。

+0

ありがとう!私は後でADTバンドルを試してみます。 – herbertD

+1

アップデート:Androidスタジオ0.3.5を使用しています。これはEclipseよりはるかに優れているので、ADTは必要ありません。 – herbertD

8

SDKツール

SDKツールはSDKスターターパッケージと一緒にインストールされており、定期的に更新されます。 Androidアプリケーションを開発する場合は、SDKツールが必要です。最も重要なSDKツールには、Android SDKマネージャ(android sdk)、AVDマネージャ(android avd)、エミュレータ(エミュレータ)、Dalvikデバッグモニタサーバ(ddms)があります。頻繁に使用されるSDKツールの簡単な概要を以下に示します。

アンドロイド

Lets you manage AVDs, projects, and the installed components of the SDK. 

のDalvikデバッグモニタサーバ(DDMS)

Lets you debug Android applications. 

dmtracedump

Generates graphical call-stack diagrams from trace log files. The tool uses the Graphviz Dot utility to create the graphical output, so you need to install Graphviz before running dmtracedump. For more information on using dmtracedump, see Profiling with Traceview and dmtracedump 

ドロー9パッチ

Allows you to easily create a NinePatch graphic using a WYSIWYG editor. It also previews stretched versions of the image, and highlights the area in which content is allowed. 

アンドロイドエミュレータ(エミュレータ)

A QEMU-based device-emulation tool that you can use to design, debug, and test your applications in an actual Android run-time environment. 

階層ビューア(hierarchyviewer)

Lets you debug and optimize an Android application's user interface. 

HPROF-CONV

Converts the HPROF file that is generated by the Android SDK tools to a standard format so you can view the file in a profiling tool of your choice. 

layoutopt

Lets you quickly analyze your application's layouts in order to optimize them for efficiency. 

メートルksdcard

Helps you create a disk image that you can use with the emulator, to simulate the presence of an external storage card (such as an SD card). 

モンキー

Runs on your emulator or device and generates pseudo-random streams of user events such as clicks, touches, or gestures, as well as a number of system-level events. You can use the Monkey to stress-test applications that you are developing, in a random yet repeatable manner. 

monkeyrunner

Provides an API for writing programs that control an Android device or emulator from outside of Android code. 

ProGuardの

Shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods with semantically obscure names. 

SYSTRACE

Lets you analyze the execution of your application in the context of system processes, to help diagnose display and performance issues. 

sqlite3の

Lets you access the SQLite data files created and used by Android applications. 

traceview

Provides a graphical viewer for execution logs saved by your application. 

zipalign

Optimizes .apk files by ensuring that all uncompressed data starts with a particular alignment relative to the start of the file. This should always be used to align .apk files after they have been signed. 

プラットフォームツール

プラットフォーム・ツールは、一般的に、あなたがINSTたびに更新されていますすべての新しいSDKプラットフォームプラットフォームツールの各更新は、古いプラットフォームとの下位互換性があります。通常、Androidデバッグブリッジ(adb)のプラットフォームツールの1つだけを直接使用します。 Android Debug Bridgeは、エミュレータインスタンスまたはAndroid搭載デバイスの状態を管理できる多目的ツールです。また、Androidアプリケーション(.apk)ファイルをデバイスにインストールすることもできます。

aidl、aapt、dexdump、およびdxなどの他のプラットフォームツールは、通常AndroidビルドツールまたはAndroid開発ツール(ADT)によって呼び出されるため、これらのツールを直接呼び出す必要はほとんどありません。原則として、ビルドツールやADTプラグインを使用して、必要に応じて呼び出す必要があります。

注:Android SDKは、bmgrやlogcatなど、adbからアクセスできる追加のシェルツールを提供します。

関連する問題