Your main manifest has set the targetSDK to 24, but another library (Cotc.PushNotifications and Cotc.InAppPurchase) set it to 25.
Do you have a main manifest in your project (under Assets/Plugins/Android/AndroidManifest.xml) ?
If you don’t have one, i believe that the target SDK is set according to the minSDK version (the one you choose under Player settings). You should make sure that all libraries and your main manifest set it to the same value, otherwise these merge issues occur (Unity cannot figure out which is the correct value to use).
Yes, but when I build locally Unity 5.5.0p4 do the job. The manifest is not accessible because builtin .aar file. it is a 3rd party.
Then Unity should use latest targetSdkVersion as on local build. I build with build-tools 25 but on Unity Cloud build-tools is 23.
I think build-tools 23 of Android SDK is the problem.
Check out the log from your cloud build (full log). It should mention the version of the android tools it picks up when executing in the cloud. Compare that with the log when you’re running locally to see the difference.
Once you understand why the merge issue occurs (tools version in cloud vs. local), manually set the target sdk to whatever you want to see if it has any effect.
Note: If you need my consultation on this, you can always contact me via the link in my signature below.
Thank you liortal. I am testing with a simple app without 3rd party plugin. Ok compil well.
Now I add the 3rd party plugin I have a compil error in the cloud.
I have tried with the exact same configuration locally (Build-tools 23.0.2 and Unity 5.5.0p4) and that works. In cloud not.
Unity Cloud Build use Android API level 24 (7.0). 3Rd party plugin use API Level 25 (7.1.1) the latest Android API. Locally I have this API installed but in the cloud I think not.
Great dannyd. By the way I have ask to 3rd party plugin I used to not include sdkTargetVersion is their .aar and his solve the issue.
Thank you for the update to.