﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-积木-随笔分类-Android 开发</title><link>http://www.cppblog.com/Tongy0/category/20973.html</link><description>No sub title</description><language>zh-cn</language><lastBuildDate>Fri, 19 Sep 2014 07:48:44 GMT</lastBuildDate><pubDate>Fri, 19 Sep 2014 07:48:44 GMT</pubDate><ttl>60</ttl><item><title>【转载】Android 开发 之 JNI入门 - NDK从入门到精通</title><link>http://www.cppblog.com/Tongy0/archive/2014/09/19/208355.html</link><dc:creator>Jacc.Kim</dc:creator><author>Jacc.Kim</author><pubDate>Fri, 19 Sep 2014 02:17:00 GMT</pubDate><guid>http://www.cppblog.com/Tongy0/archive/2014/09/19/208355.html</guid><wfw:comment>http://www.cppblog.com/Tongy0/comments/208355.html</wfw:comment><comments>http://www.cppblog.com/Tongy0/archive/2014/09/19/208355.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Tongy0/comments/commentRss/208355.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Tongy0/services/trackbacks/208355.html</trackback:ping><description><![CDATA[<div><font style="background-color: #c7edcc">原文转载自：<a href="http://blog.csdn.net/shulianghan/article/details/18964835">http://blog.csdn.net/shulianghan/article/details/18964835</a><br /><br />一篇非常不错的，讲解 java与c++交互、以及使用ndk编并最终用eclipse链接成最终包的流程。原文太长，在此，仅留下原文链接。<br /></font></div><img src ="http://www.cppblog.com/Tongy0/aggbug/208355.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Tongy0/" target="_blank">Jacc.Kim</a> 2014-09-19 10:17 <a href="http://www.cppblog.com/Tongy0/archive/2014/09/19/208355.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转载】一个不错的介绍配置Android SDK Manager安装的教程与注意事项</title><link>http://www.cppblog.com/Tongy0/archive/2014/09/18/208351.html</link><dc:creator>Jacc.Kim</dc:creator><author>Jacc.Kim</author><pubDate>Thu, 18 Sep 2014 07:44:00 GMT</pubDate><guid>http://www.cppblog.com/Tongy0/archive/2014/09/18/208351.html</guid><wfw:comment>http://www.cppblog.com/Tongy0/comments/208351.html</wfw:comment><comments>http://www.cppblog.com/Tongy0/archive/2014/09/18/208351.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Tongy0/comments/commentRss/208351.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Tongy0/services/trackbacks/208351.html</trackback:ping><description><![CDATA[<div><font style="background-color: #c7edcc">原文转载自：<a href="https://software.intel.com/zh-cn/blogs/2013/12/17/android-android-sdk-manager">https://software.intel.com/zh-cn/blogs/2013/12/17/android-android-sdk-manager</a><br /><br />
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">在<a style="box-sizing: border-box; color: rgb(0,113,197); text-decoration: none" href="http://software.intel.com/zh-cn/blogs/2013/12/17/android-android">跟燕青一起学Android应用开发（一）：安装Android开发环境</a>一文中，笔者简单的介绍了如何安装Android开发环境。将安装环境搭建好之后，我们需要配置Android SDK Manager，本篇博客将着重解说如何配置Android SDK Manager。</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Android SDK Manager是Eclipse的一个重要配置，在安装目录下打开eclipse/eclipse.exe执行文件，选择&#8220;Windows&#8221;菜单下的子菜单项&#8220;Android SDK Manager&#8221;，如图1所示。</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center"><a style="box-sizing: border-box; color: rgb(0,113,197); text-decoration: none" href="https://software.intel.com/sites/default/files/managed/0c/b7/Android%20SDK%20Manager01.png"><img style="box-sizing: border-box; border-bottom: 0px; border-left: 0px; width: auto; max-width: 100%; height: auto; border-top: 0px; border-right: 0px" alt="" src="https://software.intel.com/sites/default/files/managed/0c/b7/Android%20SDK%20Manager01.png" /></a></p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center">图1</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">在Android SDK Manager中，Android SDK Tools, Android SDK Platform-tools和Android SDK Platform是必须要安装的，如图2所示，其他的项目可以自选。</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center"><a style="box-sizing: border-box; color: rgb(0,113,197); text-decoration: none" href="https://software.intel.com/sites/default/files/managed/df/53/Android%20SDK%20Manager02.png"><img style="box-sizing: border-box; border-bottom: 0px; border-left: 0px; width: auto; max-width: 100%; height: auto; border-top: 0px; border-right: 0px" alt="" src="https://software.intel.com/sites/default/files/managed/df/53/Android%20SDK%20Manager02.png" /></a></p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center">图2</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">在本篇博客中，Android4.4（API19）做为安装项目，读者选择它，点击右下角的安装按钮可以开始安装。</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">在安装的时候，我们可能会遇到一个错误，类似信息是: &#8221;<span class="Apple-converted-space">&nbsp;</span><strong style="box-sizing: border-box; font-weight: bold">Missing SDK platform Android, API 19</strong>&#8221;，笔者折腾很很久才发现，这个主要的原因是ADT太老。什么？！在<a style="box-sizing: border-box; color: rgb(0,113,197); text-decoration: none" href="http://software.intel.com/zh-cn/blogs/2013/12/17/android-android">跟燕青一起学Android应用开发（一）：安装Android开发环境</a>一文中，笔者不是下载了最新的ADT，怎么可能太老呢？！没错，笔者也为此思考了半天，后来发现虽然ADT是最新的，但是里面的部分内容还是陈旧的。<strong style="box-sizing: border-box; font-weight: bold">那么如何搞定呢？</strong></p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">不急，很简单，只要升级一下eclipse就可以了，如图3所示。打开&#8220;Help&#8220;菜单中的&#8220;Check for Updates&#8221;子菜单，耐心等待一下吧。</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center"><a style="box-sizing: border-box; color: rgb(0,113,197); text-decoration: none" href="https://software.intel.com/sites/default/files/managed/9c/6c/Android%20SDK%20Manager03.png"><img style="box-sizing: border-box; border-bottom: 0px; border-left: 0px; width: auto; max-width: 100%; height: auto; border-top: 0px; border-right: 0px" alt="" src="https://software.intel.com/sites/default/files/managed/9c/6c/Android%20SDK%20Manager03.png" /></a></p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="center">图3</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Content.jar包会在耐心的等待中被升级完毕，现在在试试看能否安装了？</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">哈哈哈，估计某人一脸的微笑了吧J</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="box-sizing: border-box; widows: 2; text-transform: none; text-indent: 0px; margin: 0px 0px 20px; font: 14px/16px Arial, SimHei, SimSun, 宋体, Tahoma, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(102,102,102); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">对于其他包的安装，只要在Android SDK Manager中选中它们，点击右下角的安装按钮，你就可以泡杯咖啡，翘起二郎腿慢慢享受一段快乐时光了J。</p><br /></font></div><img src ="http://www.cppblog.com/Tongy0/aggbug/208351.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Tongy0/" target="_blank">Jacc.Kim</a> 2014-09-18 15:44 <a href="http://www.cppblog.com/Tongy0/archive/2014/09/18/208351.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>