ImageView imageview = (ImageView) findViewById(R.id.iv);
ImageView imageview0 = (ImageView) findViewById(R.id.iv0);
ImageView imageview1 = (ImageView) findViewById(R.id.iv1);
ImageView imageview2 = (ImageView) findViewById(R.id.iv2);
ImageView imageview3 = (ImageView) findViewById(R.id.iv3);
File file =new File(Environment.getExternalStorageDirectory().getPath(),"test.jpg");
//本地
Glide.with(this).load(R.mipmap.ic_launcher).into(imageview);
//assets资产目录
Glide.with(this).load("file:///android_asset/test.jpg").into(imageview0);
//sd卡
Glide.with(this).load("file:///storage/emulated/0/test.jpg").into(imageview1);
Glide.with(this).load(file).into(imageview2);
Glide.with(this).load("file://"+ Environment.getExternalStorageDirectory().getPath()+"/test.jpg").into(imageview3);
ImageView imageview0 = (ImageView) findViewById(R.id.iv0);
ImageView imageview1 = (ImageView) findViewById(R.id.iv1);
ImageView imageview2 = (ImageView) findViewById(R.id.iv2);
ImageView imageview3 = (ImageView) findViewById(R.id.iv3);
File file =new File(Environment.getExternalStorageDirectory().getPath(),"test.jpg");
//本地
Glide.with(this).load(R.mipmap.ic_launcher).into(imageview);
//assets资产目录
Glide.with(this).load("file:///android_asset/test.jpg").into(imageview0);
//sd卡
Glide.with(this).load("file:///storage/emulated/0/test.jpg").into(imageview1);
Glide.with(this).load(file).into(imageview2);
Glide.with(this).load("file://"+ Environment.getExternalStorageDirectory().getPath()+"/test.jpg").into(imageview3);