Everyplay / everyplay-unity-sdk

Everyplay Unity plugin
71 stars 16 forks source link

Unity error in Android build #21

Closed developer-celmar closed 7 years ago

developer-celmar commented 7 years ago

ENV Unity 5.5 OSX

Version control = Hidden Meta files

Attached is the screenshot screen shot 2016-12-08 at 6 28 56 pm

Your help is highly appreciated.

Regards, Celmar

JustinFincher commented 7 years ago

I got the same error, and I removed the maxSdkVersion attribute in AndroidManifest.xml. Hope this helps.

ullatussimo commented 7 years ago

Hello,

Yep, the merging failure is indeed caused by the maxSdkVersion attribute in our AndroidManifest.xml.

We only require the WRITE_EXTERNAL_STORAGE permission until Android API level 18, so we added the attribute to our AndroidManifest in order to bring down the amount of permissions requested on newer systems. This can unfortunately cause conflicts if some other plugin uses the same permission but does not have the maxSdkVersion -attribute set.

In order to make the game build in such a case, the fix is indeed to remove the maxSdkVersion -attribute from the AndroidManifest.xml provided by us.

Hope this helps.

Cheers, Simo

developer-celmar commented 7 years ago

Hello,

I tried to build on another machine and it works. Still probing the cause.

Thanks, Celmar

On Mon, Jan 23, 2017 at 5:56 PM, Simo Pöllänen notifications@github.com wrote:

Hello,

Yep, the merging failure is indeed caused by the maxSdkVersion attribute in our AndroidManifest.xml.

We only require the WRITE_EXTERNAL_STORAGE permission until Android API level 18, so we added the attribute to our AndroidManifest in order to bring down the amount of permissions requested on newer systems. This can unfortunately cause conflicts if some other plugin uses the same permission but does not have the maxSdkVersion -attribute set.

In order to make the game build in such a case, the fix is indeed to remove the maxSdkVersion -attribute from the AndroidManifest.xml provided by us.

Hope this helps.

Cheers, Simo

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Everyplay/everyplay-unity-sdk/issues/21#issuecomment-274443967, or mute the thread https://github.com/notifications/unsubscribe-auth/AGDa1AwAN9PDqp2XdOeZNiE4pM0aCTPcks5rVHkxgaJpZM4LHrHc .

sooperpop commented 7 years ago

Hello,

As @ullatussimo suggested, I removed maxSdkVersion from everyplay's manifest. But still getting the same error. Is there anything I am missing out?

Please help.

Thanks, Sooperpop

ullatussimo commented 7 years ago

Hello @sooperpop,

Thanks for your response.

Is the error message you are getting exactly the same error? Can you post a screenshot of the error you are seeing? Which other AndroidManifest.xml -files do you have in the project apart from ours?

Cheers, Simo

paugit commented 7 years ago

Closing since no activity for over 5 months.