添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Unity Account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Unity Account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • To reproduce this issue:
    - Install either Unity Editor 2019.3 or 2019.2 using the HUB
    - install the Android Module and the Android SDK and NDK with the module
    - start a new project
    - set the platform to Android
    - Open Player Settings
    - Open the Other Settings section
    - Inspect the Minimum API Level and Target API Level fields

    Expected Result:
    You can change the API levels and no errors appear in the console.

    Actual Result:
    The fields display "Getting API Levels..." and an error appears in the console:

    CommandInvokationFailure: Failed to update Android SDK package list.
    E:/Unity/Unity Versions/2019.2.0b1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK\tools\bin\sdkmanager.bat --list

    stderr[
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
    at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
    at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
    at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
    at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
    at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
    Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 5 more

    Reproducible in 2019.2.0a4, 2019.2.0b1, 2019.2.0b10 and 2019.3.0a10
    Cannot reproduce in 2019.1.8f1

    Hi, is the ticket already reopened?
    Here I just upgraded to 2019.2.2f1, the problem remains.

    regards.

    Still an problem in 2019.2.2f1. Updated two projects to 2019.2.2f1 today, and the projects settings dosn't work and I still get the error in the console.

    Was able to see the projects settings after manually setting the android versions after opening the ProjectSettings file in a texteditor.

    AndroidMinSdkVersion: 19
    AndroidTargetSdkVersion: 28

    The android versions dropdowns will still not show up in projects settings, but I can atleast adjust all other settings.

    Latest issues

  • Crash on Undo_CUSTOM_AddComponent when selecting a Prefab in the Project window
  • [WebGL] Video stutters when played on iOS
  • Unrelated Objects/Metadata are assigned to samples past the last one with valid Object/Metadata information as observed in CPU Usage Timeline
  • Scene is marked as dirty when opening the Project
  • ManagedReference fields with a custom PropertyDrawer aren't refreshed properly when changing properties
  • See all new issues