![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android学习
littlemumu
这个作者很懒,什么都没留下…
展开
-
Debug Native c/c++ Application for Android(Step by Step)
转自http://www.cppblog.com/luonjtu/archive/2009/02/19/74310.html 调试Android上的c/c++程序一直是个难题,以前我经常靠输出log来解决问题,对于稍复杂一些的工程,这几乎是个不可能完成的任务,尤其有些错误,在wincewindows下都没事,只在android上出现,就更难找了。后来看了些资料,知道可以用gdbserver来调试转载 2013-05-22 11:22:20 · 572 阅读 · 0 评论 -
android source code compile
练习编译android源代码。 第一步,下载。 这一步特别困难,google的网站总是断了,download好几天都没有把代码弄全了,最后到处打听,还好能从其他组的server上弄下来一个完整的代码包。 还是把下载的步骤贴下来吧,来源于google的网站: To install Repo: Make sure you have a bin/ directory in yo原创 2013-05-13 16:53:33 · 919 阅读 · 0 评论 -
关于android emulator的设置
下载了android源码后,编译,之后运行emulator,第一次启动正常,但关掉terminal后再次启动,发现如下错误: emulator: Error: You did not specify a virtual device name, and the system directory could not be found. If you are and Android SDK use原创 2013-05-13 14:45:19 · 2449 阅读 · 0 评论 -
android sdk编译
在源代码目录直接执行make是不包括make sdk的。make sdk用来生成SDK,这样,我们就可以用与源码同步的SDK来开发android了。 为什么要编译SDK呢? 进行android开发需要的SDK可以从以下三种方式获得: 1. 从网上下载的SDK( tools下有许多android工具,lib/images下有img映像) 2. 用make sdk编译出来的SDK( too原创 2013-05-14 15:00:45 · 652 阅读 · 0 评论 -
android emulator挂载SD卡和adb shell
现在emulator建好了,可以测试播放音乐了。先需要建立一个虚拟的sd卡,然后往SD卡里拷贝mp3文件测试。 建立sd卡的步骤 mksdcard 128M ***/android/sdcard/sdcard.img 启动emulator -sdcard ***/android/sdcard/sdcard.img 然后用android sdk下的monitor启动android devic原创 2013-05-15 10:39:50 · 966 阅读 · 0 评论