2013-06-15 19 views
13

एंड्रॉइड डेवलपमेंट टूल्स और एंड्रॉइड एसडीके टूल्स और एंड्रॉइड एसडीके प्लेटफार्म-टूल्स और एंड्रॉइड एसडीके बिल्ड-टूल्स के बीच क्या अंतर है?कुछ "एंड्रॉइड डेवलपमेंट/एसडीके टूल्स" के बीच क्या अंतर है?

और उनमें से कुछ को कम समूहों में क्यों नहीं मिला? जब मैं उन्हें डाउनग्रेड/अपग्रेड करता हूं तो 4 टूल्स ने मुझे भ्रमित कर दिया।

+0

इसे देखें: http://stackoverflow.com/questions/8817554/what-is-difference-between-platform-tools-and-sdk-tools –

उत्तर

5

खैर, Android विकास उपकरण (एडीटी) कि ग्रहण के साथ संयोजन में प्रयोग किया जाता है विकसित करने के लिए apps.There एक एडीटी बंडल एक पैकेज है कि सब कुछ होता है वह यह है कि एक प्लगइन आप का निर्माण शुरू करने की जरूरत है क्षुधा।

हालांकि एसडीके उपकरणएंड्रॉइड एसडीके के लिए एक डाउनलोड करने योग्य घटक है। इसमें एंड्रॉइड एसडीके के लिए विकास और डिबगिंग टूल का पूरा सेट शामिल है।

मैं क्या अनुशंसा करता हूं कि आप एडीटी बंडल डाउनलोड करें। इसमें आपको जो भी चाहिए वह शामिल है। आखिरी Google I/O एंड्रॉइड स्टूडियो पेश किया गया था लेकिन यह अभी भी इसके बीटा संस्करण में है। यह मूल रूप से करता है जो एडीटी करता है और आपको यह देखने की अनुमति देता है कि आपका ऐप कई अलग-अलग उपकरणों पर कैसा दिखाई देगा।

+0

धन्यवाद! मैं बाद में एडीटी बंडल आज़माउंगा। – herbertD

+1

अद्यतन: अब मैं एंड्रॉइड स्टूडियो 0.3.5 का उपयोग कर रहा हूं और यह ग्रहण से काफी बेहतर है, इसलिए मुझे अब एडीटी की आवश्यकता नहीं है। – herbertD

8

एसडीके उपकरण

एसडीके उपकरण एसडीके स्टार्टर पैकेज के साथ स्थापित कर रहे हैं और समय-समय पर अपडेट किया जाता है। यदि आप एंड्रॉइड एप्लिकेशन विकसित कर रहे हैं तो एसडीके टूल्स की आवश्यकता है। सबसे महत्वपूर्ण एसडीके उपकरण में एंड्रॉइड एसडीके मैनेजर (एंड्रॉइड एसडीके), एवीडी मैनेजर (एंड्रॉइड एवीडी) एमुलेटर (एमुलेटर), और डाल्विक डीबग मॉनिटर सर्वर (डीडीएमएस) शामिल हैं। कुछ बार उपयोग किए जाने वाले एसडीके उपकरणों का संक्षिप्त सारांश नीचे प्रदान किया जाता है।

एंड्रॉयड

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

Dalvik डीबग मॉनिटर सर्वर (डी डी एम एस)

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-रूपा

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 अपडेट किया जाता है सभी एक नया एसडीके मंच। प्लेटफ़ॉर्म टूल का प्रत्येक अपडेट पुराने प्लेटफॉर्म के साथ पिछड़ा संगत है। आम तौर पर, आप सीधे प्लेटफ़ॉर्म टूल-एंड्रॉइड डीबग ब्रिज (एडीबी) का उपयोग करते हैं। एंड्रॉइड डीबग ब्रिज एक बहुमुखी उपकरण है जो आपको एक एमुलेटर इंस्टेंस या एंड्रॉइड संचालित डिवाइस की स्थिति का प्रबंधन करने देता है। आप डिवाइस पर एंड्रॉइड एप्लिकेशन (.एपीके) फ़ाइल स्थापित करने के लिए इसका इस्तेमाल भी कर सकते हैं। इसलिए आपको शायद ही सीधे इन उपकरणों को लागू करने की जरूरत है इस तरह के AIDL, aapt, dexdump, और dx के रूप में

अन्य मंच उपकरण,, आम तौर पर एंड्रॉयड द्वारा कहा जाता है, उपकरण या एंड्रॉयड विकास उपकरण (एडीटी) का निर्माण। एक सामान्य नियम के रूप में, आपको आवश्यकतानुसार कॉल करने के लिए बिल्ड टूल्स या एडीटी प्लगइन पर भरोसा करना चाहिए।

नोट: एंड्रॉइड एसडीके अतिरिक्त खोल उपकरण प्रदान करता है जिसे एडीबी, जैसे बीएमग्री और लॉगकैट के माध्यम से एक्सेस किया जा सकता है।

संबंधित मुद्दे