---
# System prepended metadata

title: 'App Inventor 出狀況, 打包 APK 出現莫名其妙的錯誤'
tags: [FM613A, App Inventor, FM627A]

---

###### tags: `FM613A` `FM627A` `App Inventor`

# App Inventor 出狀況, 打包 APK 出現莫名其妙的錯誤

## App 名稱有中文

如果最近你有使用 App Inventor, 在打包 APK 時如果看到以下的錯誤：

![](https://i.imgur.com/y5hujjk.png)

那很可能只是因為 AppName 使用中文的關係, 像是上面的圖中, 我的 AppName 就是『測試』, 只要把 AppName 改為全英文, 像是 "test", 一切就正常了：

![](https://i.imgur.com/6W8ghP5.png)

我目前測試的版本是：

![](https://i.imgur.com/vmvExuZ.png)

這看起來應該是改版過程中的錯誤, 希望不久後就可以修正。這個問題不是只有我們遇到, 在 App Inventor 的論壇上[也有人遇到](https://community.appinventor.mit.edu/t/the-app-is-not-building-yail-compiler-aapt-execution-failed-error/39797)了。

:::info
這個問題官方已修正, 可參考 App Inventor Github 的[這一筆提交記錄](https://github.com/mit-cml/appinventor-sources/commit/0744d21c299c270dbe31a62d1ffc166ef260936f), 此修正已在 187b 版本釋出：

![](https://i.imgur.com/0F7Td2Y.png)

:::

## 繁體中文版卻顯示簡體中文

我們自己還有遇到一個多螢幕的舊專案, 用英文語系的 App Inventor 可以正常匯入 aia 檔, 打包後安裝也可以正常使用：

但是切換成繁體中文語系, 在匯入 aia 檔時就會出現錯誤訊息, 而且許多程式積木不見了：

![](https://community.appinventor.mit.edu/uploads/default/original/3X/7/6/76ef550914b4b4230eebf3b419fe584c2739c314.png)

雖然還是可以打包, 但安裝後卻不正常。

:::info
這看起來是已知的臭蟲, 從介面上可以看到, 雖然選的是繁體中文, 但卻顯示簡體中文, 論壇上的回覆可見[這裡](https://community.appinventor.mit.edu/t/cannot-import-my-old-aia-file-correctly-in-traditional-chinese-setting/39886/2?u=meebox****)。
:::
