简体   繁体   English

有没有办法从UNITY 5.6.6发布API级别为26的Android应用程序?

[英]Is there a way for publishing an Android App with API level 26 from UNITY 5.6.6?

I made an AR app using UNITY 5.6.6 and I'm trying to publish my app to Google Play that need at least API Level 26 . 我使用UNITY 5.6.6创建了一个AR应用程序,我正在尝试将我的应用程序发布到至少需要API级别26的 Google Play。 I have tried different ways to achieve that targeted level of API but achieved nothing and the Google Console only recognize my app'S API as level 22 . 我尝试了不同的方法来实现API的目标级别但没有取得任何成果,Google控制台仅将我的应用程序的API识别为22级 Yes, it can be done easily if I use Unity earlier version (I am using Unity 2018 for my other published Apps), but I have to use this particular version because I'm using a little old plugin that only can be stable using those early versions of UNITY. 是的,如果我使用Unity早期版本(我将Unity 2018用于其他已发布的应用程序),则可以轻松完成,但我必须使用此特定版本,因为我使用的是一个只能使用这些版本才能保持稳定的旧插件早期版本的UNITY。

Here above some ways I've tried on Unity 5.6.6 : 以上是我在Unity 5.6.6上尝试过的一些方法:

  1. I have tried using SDK tools version 26.1 我尝试过使用SDK工具版本26.1

  2. I have tried using SDK tools version r25.2.5 sdkmanager 我尝试过使用SDK工具版本r25.2.5 sdkmanager

  3. Here is my configuration I've tried on Build Settings-Other Settings config 1 config 2 这是我在Build Settings-Other Settings config 1 config 2上尝试过的配置

Here is the message I received from Google Console google console message 以下是我从Google控制台谷歌控制台消息收到的消息

I hope someone have experienced this and solved the problem. 我希望有人经历过这个并解决了这个问题。 I appreciate your time and help alot! 我很感激你的时间和帮助! Thank you! 谢谢!

it seems unity 5.6 only goes up to api minimum of 25 (android 7.1) 似乎统一5.6只能达到api最小值25(android 7.1)

api level 26 was released march of 2017 and unity 2017 was released in February 2017 for comparison api level 26于2017年3月发布,2017年2月统一2017年进行比较

so unity 5.6 was done being updated before the release of api level 26 所以在发布api 26级之前,团结5.6已经完成了更新

Yes, this is possible. 是的,这是可能的。 If you set the Target API to "Automatic (highest installed)", Unity will use the highest version of the Android SDK that it detects on your system. 如果将Target API设置为“自动(最高安装)”,Unity将使用它在您的系统上检测到的最高版本的Android SDK。 For example, when I build using that setting in Unity 5.6, it uses API Level 28, since that is the highest version of the Android SDK that I have installed on my machine. 例如,当我在Unity 5.6中使用该设置构建时,它使用API​​ Level 28,因为这是我在我的机器上安装的Android SDK的最高版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM