error: unexpected element <library> found in <manifest> So this is the case

Recently, I created a new project and found an error when I ran it. I couldn’t find the direction for a while, and then I tried dependencies one by one. Ha~ I found the problem so cute.
Question:
insert image description here
insert image description here

Android resource linking failed
F:\XXX\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:24: 
error: unexpected element <library> found in <manifest>.

This problem is due to the dependency on the third party. There is a library project that has been moved and cannot be relied upon. If it cannot be found, then the comments are excluded one by one. What appears on my side is the following

implementation 'com.microsoft.projectoxford:vision:1.0.374'

Just comment it out for now

Guess you like

Origin blog.csdn.net/L_201607/article/details/129757613