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 各种xml资源的引用方式
  5. [置顶] Android学习博客和文章存档
  6. 那些年收藏的技术文章(一)-CSDN篇
  7. Android(安卓)驱动开发文章收录
  8. 转载——android 有用的知识
  9. android makefile(转载)

随机推荐

  1. 0425PHP编程作业
  2. 在 Delphi 中使用微软全文翻译的小例子
  3. 使用 IntraWeb (24) - 基本控件之 TIWFil
  4. 使用 IntraWeb (27) - 基本控件之 TIWAud
  5. Delphi 资源管理器套件
  6. 使用 IntraWeb (28) - 基本控件之 TIWTem
  7. Delphi 的链式代码
  8. Delphi 正则表达式语法(10): 选项
  9. 使用 IntraWeb (29) - 基本控件之 TIWAut
  10. 使用 IntraWeb (21) - 基本控件之 TIWTab