In a new android project with oxygen when we add a new resource for example colors the compiler throws an error…
Android SDK found in ‘C:\Program Files (x86)\android-sdk’.
Android Build Tools found in ‘C:\Program Files (x86)\android-sdk\build-tools\29.0.3’.
Android ApkBuilder found in ‘C:\Program Files (x86)\android-sdk\tools\lib\sdklib-26.0.0-dev.jar;
C:\Program Files (x86)\android-sdk\tools\lib\sdk-common-26.0.0-dev.jar;
C:\Program Files (x86)\android-sdk\tools\lib\common-26.0.0-dev.jar’.
No exact platform version was specified for target ‘Cooper-Android’, using android-28.
E: More than one Android manifest file specified for target ‘Cooper-Android’.
Project ‘org.me.nnnn’ failed to build.
Solution ‘org.me.nnnn’ failed to build project ‘org.me.nnnn’.
Create a new project.
2.on the resource-value folder right click add new file.
3.Select android- and in templates values resource fileorg.me.test.7z (94.1 KB) .
4.Name a new file in my case colors for example.
5.Ctrl-B.
And below is the error:
also i add a zip with example project.
@mihm002 check your project file for <AndroidManifest /> entries. This error happened to me a few weeks ago, and it turned out a resource was added as an <AndroidManifest include="" /> resource instead of <Content include="" />. I assumed I’d added the item incorrectly, but perhaps it is a bug in Water. Regardless, if you change the incorrect <AndroidManifest include="" /> to <Content include="" /> it should build correctly.