看板 AndroidDev 關於我們 聯絡資訊
因為需要用到一些hide class以及internal API, 所以依照以下網址下載了包含了hide class以及internal API的檔案, 並將<SDK location>/platforms/中的 android.jar 以新檔案取代。 https://hant.helplib.com/GitHub/article_137578 重新建構專案後, 卻出現了以下的問題... ERROR: Failed to transform file 'android.jar' to match attributes {artifactType= android-mockable-jar, returnDefaultValues=false} using transform MockableJarTran sform Google了一下, 看到可能是gradle版本問題 我原本的版本是3.3.0 試過改成其他版本依然無法解決, 請問有人知道如何解決嗎? 謝謝各位大大 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.217.227.83 ※ 文章網址: https://www.ptt.cc/bbs/AndroidDev/M.1555663419.A.7AA.html