問題描述
我知道在安卓模擬器上安裝字體有很多問題.我正在分享對我有用的方法作為答案,如果有人有更好的方法,請分享.
當android找不到特定字符時,它會查找DroidSansFallback.ttf
,所以你需要做的是替換DroidSansFallback.ttf
通過將所需語言的 ttf 字體重命名為 DroidSansFallback.ttf
.執行以下步驟.
1.獲取市場支持的root android模擬器.您可以在這里找到:Rooted Market Enabled AVDp>
2.然后抓一個資源管理器應用,我更喜歡根資源管理器.
3.將免費的ttf字體(您要安裝的)重命名為DroidSansFallback.ttf.
4.從您在步驟 1 中下載的圖像創建一個 AVD.
通過 DDMS 中的文件資源管理器將 DroidSansFallback.ttf 推送到模擬器的 sdcard(我使用的是 Eclipse Indigo IDE).
安裝根資源管理器(您可以使用通過市場下載的其他資源管理器).
打開root explorer,點擊mount r/w.
然后到sd卡復制DroidSansFallback.ttf,然后到system,點擊mount r/w.
9.然后轉到字體并覆蓋現有的 DroidSansFallback.ttf.
- 然后通過權限選項將所有權限授予新的 DroidSansFallback.ttf.
就是這樣.我用這個方法回答了一個關于Bangla Font Insatallation一個>
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.
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.
Push DroidSansFallback.ttf to the sdcard of emulator via file explorer in DDMS (I'm using Eclipse Indigo IDE).
Install root explorer (you can use another explorer downloaded via market).
Open root explorer, click mount r/w.
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.
- 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
這篇關于將新字體安裝到 android 模擬器的最佳方法是什么?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!