2014년 1월 4일 토요일
setup android app development enviroment
1. Install JDK
Download JDK and install latest version
http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Install ADT (Android Development toolkit)
Download ADT and unzip , it does not need to install
http://developer.android.com/sdk/index.html
3. Run SDK Manager under ADT installed directory and install SW pacakges what you need
In my case, it located C:\adt-bundle-windows-x86-20131030\SDK Manager.exe and Android 4.3(API18) is installed
4. After installing package, run eclipse.
In my case, it loacated C:\adt-bundle-windows-x86-20131030\eclipse\eclipse.exe
5. Set up virtual device for debugging
Select menu > windows > android SDK manager then tools > manageADVs on android SDK manager dialog and create virtual device. If your PC is not good enough, vitual device can not run. In this case, select lpw option of vitual device
6. Make sample project
Select file > new > android application project.
Now just setup project name and use default others (just click next)
7. Build project
Right click Project name on Project ecplorer, then select debug as > android application
then application runs on ADV
8. Create APK If you want to install on the phone, you must create APK file
Right click Project name on Project ecplorer, then Android tools > export signed application package
There is unsigned application package, if you create unsigned package , it can not be intalled so you shoud be better install signed package
For creating signed package, you need keystore. If you already have keystore, select "use existing keystore", if not, select "Create new keystore"
9. Phone test
Copy Created APK file to youer phone and run
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기