gpt4 book ai didi

android - java.lang.System.array 复制错误([CI[CII)V

转载 作者:行者123 更新时间:2023-11-30 02:36:36 24 4
gpt4 key购买 nike

我遇到一个新问题,可能是由于版本更改,但我不知道。渲染过程中抛出的异常如下:

java.lang.System.array copy([CI[CII)V

异常详细信息记录在 Window > Show View > Error Log 中。

The following classes could not be found: - Edit Text (Change to android.widget.Edit Text, Fix Build Path, Edit XML)

它没有得到编辑文本的类。我从哪里获得/添加它?

最佳答案

来自 https://stackoverflow.com/a/24502370/826670 .看起来你正在使用 android Wear 来渲染它,在渲染中更改 android 版本。

Check the "Android version to use when rendering layouts" and make sure you're not using a version that ends in "W" for Android Wear (e.g. API 20: Android 4.4W). I don't believe Wear supports EditText.

In both Android Studio and Eclipse, it's the dropdown with the green android in the layout preview's toolbar. You may want to set it explicitly and not allow the IDE to choose the Android version automatically.

关于android - java.lang.System.array 复制错误([CI[CII)V,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26443601/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com