您的位置:首页 > 产品设计 > UI/UE

Building Android develop environment in Ubuntu

2013-09-23 00:00 295 查看
Gotolinkhttp://developer.android.com/sdk/index.htmlanddownloadtheadt-bundle-linux-x86-20130917.zip

unzipit.

runeclipseintheeclipsedirectory,butitcannotrun.

InstallitasUbuntutellme:sudoapt-getinstalleclipse-platform

Afterinstallingeclipsesuccessful,IaddADTPluginwithlink:
https://dl-ssl.google.com/android/eclipse/
Unfortunately,itfailed.

SoItriedAndroidstudioinstead.
Iaddthislinein~/.bashrc
exportJAVA_HOME=/usr/lib/jvm/default-java

OpenAndroidStudiowithcommandinandroid_studio/bin/
./sudio.sh

Newaproject,butcannotbuildtheprojectandnotknowhowtoforward.

ItriedtouseEclipseagain:
1)firstunzipitto~/
2)AddADTPluginbydownloadzippackagevia:http://developer.android.com/sdk/installing/installing-adt.html#Download
Therearesometroubleshootingonthebottomofthepage.


2013-10-02

http://livecode.com/across-platformtooltodevelopment

HelloworldrunonAVDsuccessfully.

Todo:runondevice.

AfterrunonAVD,theapkfileisalreadygeneratedinbin/directory.Copyittoandroiddeviceandinstallit.



2013-10-05

continueonAndroidonWindowswithADT

AddanewTextFieldandButtononthehelloworldprojecthttp://developer.android.com/training/basics/firstapp/building-ui.html#Weight

Modifythedefaulttargettoruntheproject:Run->Runconfigurations->Target,Therearethreeoptionsonthepage.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: