1. 程式人生 > >Android Studio正式版簽名打包出現問題

Android Studio正式版簽名打包出現問題

問題

Android Studio正式版簽名的時候出現:Android xxx is not translated in zh

原因

Umeng的包裡面的values-zh干擾導致問題。

暴力解決

強制不翻譯

<?xml version="1.0" encoding="utf-8"?>
<resources
  xmlns:tools="http://schemas.android.com/tools"
  tools:ignore="MissingTranslation" >
</resources>
問題2:APP除錯沒問題,但打包出現問題
//    打包出現錯誤不會停止打包
lintOptions{ checkReleaseBuilds false // 設定為true時,關閉lint分析進度 quiet true // 設定為true時,則在發生錯誤時停止gradle構建 abortOnError false // 設定為true時,則只報告錯誤 ignoreWarnings true }