增加Android可用内存
16lz
2021-12-04
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 4567Sponsored Links 注:文章转载于 http://www.idevlife.com/73633/
更多相关文章
- android 技术文章个人搜索集锦
- Android单元测试
- 【android】时间选择器
- 转载:android 各种xml资源的引用方式
- [置顶] Android学习博客和文章存档
- 那些年收藏的技术文章(一)-CSDN篇
- Android(安卓)驱动开发文章收录
- 转载——android 有用的知识
- android makefile(转载)