android - 将新字体安装到 Android 模拟器的最佳方法是什么?

标签 android android-emulator android-fonts

我知道关于 Android 模拟器上的字体安装有很多问题。我将分享对我有用的方法作为答案,如果有人有更好的方法,请分享。

最佳答案

当 android 无法找到特定字符时,它会查找 DroidSansFallback.ttf,因此您需要做的是通过重命名来替换模拟器的 DroidSansFallback.ttf将所需语言的 ttf 字体添加到 DroidSansFallback.ttf。执行以下步骤。

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.

就是这样。 我用这个方法回答了一个关于Bangla Font Insatallation的问题

关于android - 将新字体安装到 Android 模拟器的最佳方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10487976/

相关文章:

android以编程方式删除特定联系人

android - 旋转模拟器时屏幕被分割

android - 如何使用自定义字体设置 Spannable 对象字体

安卓火力地堡 : how get the message text component of notification message from firebase when app is in foreground

android - onPause 之后 AsyncTasks 会发生什么?

php - 使用php从数据库检索数据到android

Android 模拟器无法在 ubuntu 中启动

android - 如何停止在 Eclipse 下运行的程序?

android - 如何在android中使用不同的文本大小集?

android - android lollipop字体 "HelveticaNeue.ttf"偏差