error: resource drawable/ic_launcher (aka com.example.androidhive:drawable/ic_launcher) not found. e

Android resource linking failed
C:\Users\25371\Desktop\AS\Androidhive\app\build\intermediates\merged_manifests\debug\AndroidManifest.xml:14: error: resource drawable/ic_launcher (aka com.example.androidhive:drawable/ic_launcher) not found.
error: failed processing manifest.

由于SDK更新问题,资源文件位置发生了变化drawable/ic_launcher应该改为mipmap/ic_launcher

运行的时候出现找不到包的情况,
error: resource drawable/ic_launcher (aka com.example.androidhive:drawable/ic_launcher) not found. e_第1张图片

直接导入相应的包就行了,比如少了下面的包,在build.gradle文件下添加下面的一句话:
useLibrary'org.apache.http.legacy'error: resource drawable/ic_launcher (aka com.example.androidhive:drawable/ic_launcher) not found. e_第2张图片

你可能感兴趣的:(Android,Android,Studio)