In the development of TV applications, especially when dealing with images were more likely to feel the Android heap is too small.android heap can be changed as follows

Adb shell

2. Mount-o remount rw / system / / modify the permissions in the system directory

3.adb pull / system / build.prop d :/ /build.prop / / export file

4 edit d intraday D :/ build.prop in the final plus dalvk.vm.heapsize = 32m / / modify the heap size to save

5.adb push d :/ build.prop / system / build.prop / / replacement to the original file

6. Restart the machine

This method has no effect on the simulator

the port mapping of the the androi simulator pc

Start the emulator emulator-5554

2. Telnet localhost 5554

3.redir add udp: 4567:4567 / / pc-4567 port mapping to the emulator port 4567
Sponsored Links注:文章转载于http://www.idevlife.com/73633/

更多相关文章

  1. android 技术文章个人搜索集锦
  2. [置顶] Android学习博客和文章存档
  3. Android 驱动开发文章收录
  4. Android Property System | Android属性系统(文章写的很好。)
  5. [原]零基础学习在Android进行SDL开发系列文章
  6. 友盟—安卓巴士【Android开发原创教程大赛】精选参赛文章

随机推荐

  1. Linux ACL 权限之进阶篇
  2. MySQL 5.7 新备份工具mysqlpump 使用说明
  3. deepin mysql安装 用户创建
  4. Linux编程 18 安装软件程序(yum工具对软
  5. react系列(二)高阶组件-HOC
  6. Linux下自动清理超过指定大小文件的方法
  7. Windows 7平台静默安装11.2.0.4软件及静
  8. day46_Webservice学习笔记_02
  9. 【算法与数据结构专场】BitMap算法基本操
  10. 免费证书申请——Let's Encrypt的申请与