What is the best way of installing new font to android emulator?

别来无恙 提交于 2019-11-26 14:44:12

问题


I know there are many questions regarding font installation on android emulator. I'm sharing the method that worked for me as an answer, if anyone have a better way please share it.


回答1:


Whenever android fails to find a specific character it looks to DroidSansFallback.ttf, so what you need to do is replace the DroidSansFallback.ttf of the emulator by renaming a ttf font of your required language to DroidSansFallback.ttf. Do the following steps.

1.Get a market enabled rooted android emulator. You can find one here: Rooted Market Enabled AVD

2.Then grab an explorer app, I prefer root explorer.

3.Rename a free ttf font(which you want to install) to DroidSansFallback.ttf.

4.Create an AVD from the image you downloaded in step 1.

  1. Push DroidSansFallback.ttf to the sdcard of emulator via file explorer in DDMS (I'm using Eclipse Indigo IDE).

  2. Install root explorer (you can use another explorer downloaded via market).

  3. Open root explorer, click mount r/w.

  4. Then go to sd card and copy DroidSansFallback.ttf, then go to system, click mount r/w.

9.Then go to fonts and overwrite the existing DroidSansFallback.ttf.

  1. Then give all permissions to the new DroidSansFallback.ttf from permissions option.

That's it. I used this method to answer a question about Bangla Font Insatallation



来源:https://stackoverflow.com/questions/10487976/what-is-the-best-way-of-installing-new-font-to-android-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!