java 如何检查我是否正确安装了 Android SDK?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17384422/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to check if I have properly installed Android SDK?
提问by Little Child
I have installed Android SDK and Eclipse ADT plug-in for Android by following the directions from their website. I have also added the latest API and system images from the SDK manager. I have also made an AVD.
我已经按照他们网站上的说明安装了适用于 Android 的 Android SDK 和 Eclipse ADT 插件。我还添加了来自 SDK 管理器的最新 API 和系统映像。我也做了一个AVD。
However, what I would like to know is how do I confirm if I have done it right and that my future programs will work properly?
但是,我想知道的是我如何确认我是否做得对,以及我未来的程序是否能正常运行?
What would be a HelloWorldof an Android project ?
Android 项目的HelloWorld是什么?
Update:
As instructed, I tried making a blank activity and running it. Here is my console log:
更新:
按照指示,我尝试制作一个空白活动并运行它。这是我的控制台日志:
[2013-06-30 02:12:55 - Hi] ------------------------------
[2013-06-30 02:12:55 - Hi] Android Launch!
[2013-06-30 02:12:55 - Hi] adb is running normally.
[2013-06-30 02:12:55 - Hi] Performing com.example.hi.MainActivity activity launch
[2013-06-30 02:12:55 - Hi] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2013-06-30 02:12:59 - Hi] Launching a new emulator with Virtual Device 'Trial'
[2013-06-30 02:13:07 - Hi] New emulator found: emulator-5556
[2013-06-30 02:13:07 - Hi] Waiting for HOME ('android.process.acore') to be launched...
采纳答案by dsw88
I just went through this process the other day! Here's the tutorial I used to do a "Hello World" Android app:
前几天我刚刚经历了这个过程!这是我用来制作“Hello World”Android 应用程序的教程:
http://developer.android.com/training/basics/firstapp/creating-project.html
http://developer.android.com/training/basics/firstapp/creating-project.html