0
に私はこの例外を得た私は
ContextCompat.getDrawable(this, android.support.v7.appcompat.R.drawable.abc_ic_ab_back_material);
// ofc i used full path to support-v7 library icon, but i hadnt access to my code right now :(
Gradleのバージョン2.1 Androidのサポート・ライブラリーのバージョンでは、このアイコンを取得しようと
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020016
24.2.0 例外がapi19(4.4.4)に表示されます
defaultConfigに追加この行は問題を解決しませんでした
私の描画可能ディレクトリへvectorDrawables.useSupportLibrary = true
コピーのアイコンがあまりにも
はたぶん、いくつかのトリックを知っている人、この例外を回避するために、問題解決didntは?
'useSupportLibrary'では、宣言は 'android.R.drawable.abc_ic_ab_back_material'ですか? – Shaishav
私は編集した質問をしました。 私はandroid.support.v7.appcompat.R.drawable.abc_ic_ab_back_materialを使用します。 私はandroid.R.drawable.abc_ic_ab_back_materialを使用する場合は解決されますか? 私の悪い英語のために申し訳ありません:( –
[これ](https://imgur.com/a/g7mdk)エラーもありますか? – Shaishav