¾È±Ô °øºÎ¹æ

Android > ¾îÇø®ÄÉÀÌ¼Ç °³¹ß ½ÃÀÛÇϱâ. SDK ¼³Ä¡ ¹× ½ÇÇà

µî·ÏÀÏ : 2017-07-05 10:56 Á¶È¸¼ö : 53,866

¾Èµå·ÎÀ̵åÀÇ °³¹ßÀº Å©°Ô µÎ ºÐ¾ß·Î ³ª´©¾î¼­ »ý°¢ÇÒ ¼ö ÀÖ½À´Ï´Ù.

1. ¾Èµå·ÎÀ̵å SDKÀ§¿¡¼­ ¾îÇø®ÄÉÀ̼ÇÀÇ °³¹ß
2. ¾Èµå·ÎÀ̵å Ç÷§ÆûÀÇ Æ÷Æà ¹× °³¹ß

1¹øÀº ÁÖ¼Ò·Ï, °ÔÀÓ, ¹ÂÁ÷Ç÷¹ÀÌ¾î µî°ú °°Àº °ÍµéÀ» °³¹ßÇÏ´Â °ÍÀÔ´Ï´Ù. ¾Èµå·ÎÀÌµå ¾îÇø®ÄÉÀ̼ÇÀº Java¾ð¾î·Î °³¹ßÀÌ µÇ±â ¶§¹®¿¡ Java¾ð¾î¸¦ ´Ù·ê ¼ö
ÀÖ´Â ´É·ÂÀÌ ÇÊ¿äÇÕ´Ï´Ù. ¸ÕÀú ÀÌŬ¸³½º °³¹ßȯ°æ°ú ¾Èµå·ÎÀ̵å SDK¸¦ ¼³Ä¡ÇÏ´Â °ÍÀ¸·Î ½ÃÀÛÀ» ÇÕ´Ï´Ù.

2¹øÀº ¾Èµå·ÎÀ̵带 »õ·Î¿î µð¹ÙÀ̽º¿¡ žÀçÇÏ°íÀÚ ÇÒ¶§ Áï ¾Èµå·ÎÀ̵带 Æ÷ÆÃÇÏ°íÀÚ ÇÒ ¶§ ¾Ë¾Æ¾ßÇÒ ºÎºÐÀÔ´Ï´Ù. ´ÙºñÀ̽º µå¶óÀ̹ö,

¸®´ª½º Ä¿³Î ±×¸®°í ¹Ìµé¿þ¾î´ÜÀ» ºÁ¾ß ÇÏ´Â ºÎºÐÀÔ´Ï´Ù. Á»´õ ¾Èµå·ÎÀÌµå ³»ºÎ ±í¼÷È÷ ¾Ë¾Æº¸°í ½ÍÀ¸½Ã´Ù¸é µµÀüÇغ¼ ¼ö ÀÖ½À´Ï´Ù.
ÀÏ´Ü ¼Ò½º ´Ù¿î·Îµå ¹Þ¾Æ¼­ ºôµåÇغ¸¸é¼­ ½ÃÀÛÀ» ÇÏ½Ã¸é µË´Ï´Ù. C/C++/¾î¼Àºí¸® ¾ð¾î °³¹ß´É·ÂÀÌ ÇÊ¿äÇÕ´Ï´Ù.

¾Èµå·ÎÀ̵带 ½ÃÀÛÇÏ½Ç ¶§ À§ µÎºÎºÐÁß ¾îµð¿¡ °ü½ÉÀ» °¡Áö°í ÀÖ´ÂÁö¸¦ ÆÇ´ÜÇÏ´Â°Ô ¿ì¼±ÀÔ´Ï´Ù. µÎ °³°¡ ¾î¶² Â÷ÀÌ°¡ ÀÖ´ÂÁöµµ Àß ¸ð¸£°Ú´Ù¶ó°í ÇϽôÂ
Ãʺ¸ ºÐÀº 1¹ø ¾îÇø®ÄÉÀÌ¼Ç °³¹ßÀ» ¸ÕÀú ½ÃÀÛÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù. ±×¸®°í ¾ÕÀ¸·Î Á¦°¡ ÇÏ´Â °­Á´ ¾îÇø®ÄÉÀÌ¼Ç °³¹ßÀ» À§ÁÖ·Î ±¸¼ºÀÌ µÉ °ÍÀÔ´Ï´Ù.

¾Èµå·ÎÀ̵å SDK ¼³Ä¡ ¹× ½ÇÇà
¾Èµå·ÎÀ̵å SDKÀÇ ¼³Ä¡´Â ÀÌŬ¸³½º 3.4 ¹öÀüÀ» ±âÁØÀ¸·Î ¼³¸íÇÕ´Ï´Ù. 

1. Java SDK ¼³Ä¡
http://java.sun.com/javase/downloads/index.jsp
Java SE Development Kit (JDK) 6 ¸¦ ¼³Ä¡ÇÕ´Ï´Ù.

2. ÀÌŬ¸³½º ¼³Ä¡
http://www.eclipse.org/downloads/
Eclipse IDE for Java Developers ¹öÁ¯À» ´Ù¿î·Îµå ¹Þ½À´Ï´Ù. ¾Èµå·ÎÀ̵忡¼­ WST¸¦ »ç¿ëÇϴµ¥ ±âº»À¸·Î WST°¡ Æ÷ÇԵǾîÀÖÀ¸´Ï »õ·Î ¼³Ä¡ÇϽŴٸé
À§ ¹öÀüÀ» ÃßõÇÕ´Ï´Ù. ¼³Ä¡ÇÒ µð·ºÅ丮¿¡ ¾ÐÃàÀ» DZ´Ï´Ù.

3. Android SDK ¼³Ä¡
http://developer.android.com/sdk
¾à°ü¿¡ µ¿ÀÇÇϽŠÈÄ Android 1.0 SDK Áß¿¡ ÀÚ½ÅÀÇ Ç÷§Æû¿¡ ¸Â°Ô ¾ÐÃàµÈ SDK ÆÄÀÏÀ» ´Ù¿î·Îµå ¹Þ½À´Ï´Ù.
SDK¼³Ä¡ ÇÒ µð·ºÅ丮¸¦ ¸¸µé°í ¾ÐÃàÀ» ÇØÁ¦ÇÏ´Ï´Ù.
µð·ºÅ丮 À§Ä¡¿¡ ÇѱÛÀÌ Æ÷ÇԵǾî ÀÖÀ¸¸é ¾ÈµË´Ï´Ù.

4. ¾Èµå·ÎÀ̵å Eclipse Ç÷¯±×ÀÎ ¼³Ä¡ (ADT)

¹æ¹ý1 - ÀÎÅͳݿ¡¼­ ¼³Ä¡

Eclipse 3.5 (Galileo)
Help/Install New Software
Add ¹öÆ° Ŭ¸¯
Name¿£ Àû´çÈ÷ Android PlugInÀ̶ó°í ä¿ì½Ã°í, Location¿¡ https://dl-ssl.google.com/android/eclipse/ ³ÖÀ½
OK¸¦ ´©¸£°í
¸®½ºÆ®¿¡ Ç¥½ÃµÈ Developer Tools ¶ó°í µÇ¾îÀִ üũ¹Ú½º¸¦ üũÇÑÈÄ Next, Next, ¾à°ü µ¿ÀÇ, Finish

À§ URLÀÌ ¾ÈµÈ´Ù¸é http://dl-ssl.google.com/android/eclipse/·Îµµ ½ÃµµÇغ¸¼¼¿ä. (https -> http)

Eclipse 3.4 (Ganymede)
¼³Ä¡µÈ ÀÌŬ¸³½º¸¦ ½ÇÇà½ÃŲ ÈÄ, ¸Þ´ºÀÇ Help/Software Update ½ÇÇà
Available Software ÅÇÀ¸·Î À̵¿
Add Site : https://dl-ssl.google.com/android/eclipse/
»õ·ÎÃß°¡µÈ »çÀÌÆ® ¹Ø¿¡ Developer Tools ¶ó°í µÇ¾îÀִ üũ¹Ú½º¸¦ üũÇÑÈÄ Install
Android Development Tools¿Í Android Editors°¡ üũµÇ¾îÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù.
¾à°ü¿¡ µ¿ÀÇÇÑÈÄ Finish¸¦ Ŭ¸¯Çϸé ÀνºÅç µË´Ï´Ù.

À§ URLÀÌ ¾ÈµÈ´Ù¸é http://dl-ssl.google.com/android/eclipse/·Îµµ ½ÃµµÇغ¸¼¼¿ä.


¹æ¹ý2 - ÆÄÀÏÀ» ¹Þ¾Æ¼­ ¼³Ä¡


ÀÎÅͳݿ¡¼­ ¼³Ä¡°¡ ¿¡·¯°¡ ³ª´Â °æ¿ì°¡ Àæ½À´Ï´Ù. ±× °æ¿ì ÆÄÀÏÀ» Á÷Á¢ ¹Þ¾Æ¼­ ¼³Ä¡ÇÕ´Ï´Ù.

http://developer.android.com/sdk/adt_download.html

ÇöÀç SDK¿¡ ¸Â´Â Ç÷¯±×ÀÎ ¹öÀü ¼±ÅÃÇÏ¿© Çϵåµð½ºÅ©¿¡ ÀúÀå
Add ±îÁö´Â ¹æ¹ý1°ú µ¿ÀÏ
Archive ¼±ÅÃ
´Ù¿î·Îµå ¹ÞÀº Ç÷¯±×ÀÎ zip ÆÄÀÏ ¼±ÅÃ
³ª¸ÓÁö´Â ¹æ¹ý1 °úÁ¤°ú µ¿ÀÏ

5. ÀÌŬ¸³½º ¾Èµå·ÎÀ̵å SDK ¼³Á¤

ÀÌŬ¸³½ºÀÇ ¸Þ´º Windows/Preference ½ÇÇà
¿ÞÂÊ ÅÇ¿¡¼­ Android ¼±ÅÃ
Browse¸¦ ÇÑÈÄ SDK¸¦ ¼³Ä¡ÇÑ µð·ºÅ丮 ¼±Åà (µð·ºÅ丮 Æнº¿¡ ÇѱÛÀÌ µé¾î°¡ ÀÖÀ¸¸é ¾ÈµË´Ï´Ù.)
ApplyÈÄ OK

6. ¾Èµå·ÎÀÌµå ¹öÀüº° ´Ù¿î·Îµå

¾Èµå·ÎÀ̵å 2.0 SDK ºÎÅÍ »õ·Î »ý±ä ¹æ½ÄÀÔ´Ï´Ù. °¢ ¹öÀüº° ¿¡¹Ä·¹ÀÌÅÍ ¹× SDK¸¦ º°µµ·Î ´Ù¿î·Îµå ¹Þ°Ô µÇ¾îÀÖ½À´Ï´Ù.




Window/Android SDK and AVD Manager ½ÇÇà


Available ÆÐÅ°Áö¿¡¼­ ¼³Ä¡¸¦ ¿øÇÏ´Â API ¹öÀü ¼±ÅÃ

(ÇöÀç https·Î ½ÃÀ۵Ǵ °ÍÀº ¿¡·¯°¡ ³ª´Â °æ¿ì°¡ Á¾Á¾ ÀÖ½À´Ï´Ù. ÀÌ°æ¿ì http://·Î ½ÃÀÛÇÏ´Â ÁÖ¼Ò¸¦ Add Site·Î Ãß°¡ÇÕ´Ï´Ù.

Install Selected

¼³Ä¡°¡ ¸ðµÎ ¿Ï·áµÇ¾ú½À´Ï´Ù.


¿¡¹Ä·¹ÀÌÅÍ AVDÀÇ ¼³Á¤

Android SDK 1.5 ºÎÅÍ AVD¶ó´Â »õ·Î¿î °³³äÀÌ »ý°å½À´Ï´Ù.  http://www.androidpub.com/35413 ¿¡ ¼³¸íÀ» Ãß°¡ÇßÀ¸´Ï µû¶ó¼­ ¼³Á¤ÇØÁֽñ⠹ٶø´Ï´Ù. 


¾Èµå·ÎÀ̵å ÇÁ·ÎÁ§Æ® »ý¼º ¹× ½ÇÇà


ÀÌŬ¸³½º ½ÇÇà
¸Þ´º¿¡¼­ File / New / Project¼±ÅÃ
Android ¼±ÅÃ
Project Name¼³Á¤

¿¹)
Project Name : MobilePlace Lecture
Package Name : kr.mobileplace.lecture
Activity Name : Main
Application Name : MobilePlace

¸Þ´º Run/Run Configurations ½ÇÇà
¾Èµå·ÎÀÌµå ¾îÇø®ÄÉÀ̼ǿ¡¼­ ¿À¸¥ÂÊ ¸¶¿ì½º Ŭ¸¯ÈÄ New ¼±ÅÃ
Configuration Name º¯°æ
BrowseÈÄ Test Project¼±ÅÃ
Apply ÈÄ Run ½ÇÇà

¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÇÇàµÇ¸ç Hello World¸¦ Ç¥½ÃÇÑ ¾îÇø®ÄÉÀ̼ÇÀÌ ½ÇÇàµË´Ï´Ù.

SDK¹®¼­¿Í APIDemos

¾Èµå·ÎÀ̵å SDK¿¡ ´ëÇÑ ¹®¼­´Â ¼³Ä¡ÇÑ SDKµð·ºÅ丮 ¹Ø¿¡ doc/¿¡ Á¸ÀçÇÕ´Ï´Ù. ±×·¯³ª ±×°Í¸¸ º¸°í ÇÁ·Î±×·¡¹ÖÇÒ ¼ö ÀÖ´Â »ç¶÷Àº ¸¹Áö ¾Ê½À´Ï´Ù.
¸¹Àº APIÀÇ °æ¿ì ½ÇÁ¦ ¾î¶»°Ô »ç¿ëµÇ´ÂÁö Sample Code¸¦ º¸°í È°¿ëÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.

ÄÚµùÇÒ ¶§ Âü°í¿ë ¼Ò½º·Î °¡Àå ÁÁÀº °ÍÀº SDK¼³Ä¡½Ã °°ÀÌ Ã·ºÎµÇ´Â ApiDemos ÇÁ·ÎÁ§Æ® ÀÔ´Ï´Ù. SDKµð·ºÅ丮 ¹Ø¿¡ sample/ApiDemos¿¡ À§Ä¡Çϸç
Ç×»ó ÀÌŬ¸³½º ÇÁ·ÎÁ§Æ®¿¡ ³Ö¾î³õ°í Âü°íÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù. Android ÇÁ·ÎÁ§Æ®¸¦ ¸¸µé¶§ Create project from existing source¸¦ ¼±ÅÃÇÏ°í
LocationÀ» BrowseÇؼ­ samples¹Ø¿¡ ApiDemo¸¦ ¼±ÅÃÇÑ ÈÄ¿¡ È®ÀÎÀ» ´©¸£½Ã¸é ÀÌŬ¸³½º¿¡¼­ ·ÎµåµË´Ï´Ù.

°ÅÀÇ ¸ðµç APIÀÇ »ç¿ë¹ý, XMLÀÇ »ç¿ë¹ýÀÌ ÃÑ ¸Á¶óµÇ¾îÀÖÀ¸´Ï API¸¦ »ç¿ëÇÒ ¶§´Â JavaDoc°ú ÇÔ²² ¸ÕÀú ApiDemosÇÁ·ÎÁ§Æ®ÀÇ ¼Ò½º¸¦ ²Ä²ÄÈ÷ »ìÆ캸½Ã±â ¹Ù¶ø´Ï´Ù.

 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.