@SuppressWarnings("ResourceType")即可實現打包apk。
Androidstudio下打包apk提示Error: Expected resource of type id [ResourceType]解決辦法
解決辦法很簡單,只需要在報錯位置所在的類上面添加一句話:
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Androidstudio安裝GsonFormat快速生成實體類插件
liulinghuidage
2020-06-28 20:53:17
androidstudio錯誤集錦
liulinghuidage
2020-02-23 15:55:32
Androidstudio的gradle過大內存溢出解決
liulinghuidage
2020-02-23 15:55:12
as下刪除無用的圖片
liulinghuidage
2020-02-23 15:55:12
finished with non-zero exit value 2
liulinghuidage
2020-02-23 15:55:02
在studio中遇見 解決Gradle DSL method not found: ‘android()’
liulinghuidage
2020-02-23 15:55:02
Androidstudio安裝GsonFormat快速生成實體類插件
liulinghuidage
2020-06-28 20:53:17
androidstudio錯誤集錦
liulinghuidage
2020-02-23 15:55:32
Androidstudio的gradle過大內存溢出解決
liulinghuidage
2020-02-23 15:55:12
as下刪除無用的圖片
liulinghuidage
2020-02-23 15:55:12
finished with non-zero exit value 2
liulinghuidage
2020-02-23 15:55:02
在studio中遇見 解決Gradle DSL method not found: ‘android()’
liulinghuidage
2020-02-23 15:55:02
This app has been built with an incorrect configuration. Please configure your build for VectorDraw
liulinghuidage
2018-09-04 13:15:37
as報錯UnsupportedOperationException
liulinghuidage
2018-09-04 13:15:37
AS導入GitHub上下載下來的項目特別慢,卡在Build Gradler
liulinghuidage
2018-09-04 13:15:36