RK3588S-PC编译问题
本帖最后由 风火轮用户Ps2D1 于 2023-4-7 22:59 编辑编译报错如下:
FAILED: out/soong/.intermediates/system/tools/xsdc/tests/resources/simple_complex_content/xsdc_simple_complex_content_tests.docs/android_common/metalava/check_current_api.timestamp( true && diff -u -F '{ *$' system/tools/xsdc/tests/resources/simple_complex_content/api/current.txt out/soong/.intermediates/system/tools/xsdc/tests/resources/simple_complex_content/xsdc_simple_complex_content_tests.docs/android_common/metalava/api/current.txt && diff -u -F '{ *$' system/tools/xsdc/tests/resources/simple_complex_content/api/removed.txt out/soong/.intermediates/system/tools/xsdc/tests/resources/simple_complex_content/xsdc_simple_complex_content_tests.docs/android_common/metalava/api/removed.txt && touch out/soong/.intermediates/system/tools/xsdc/tests/resources/simple_complex_content/xsdc_simple_complex_content_tests.docs/android_common/metalava/check_current_api.timestamp ) || ( echo -e "\n******************************\nYou have tried to change the API from what has been previously approved.\n\nTo make these errors go away, you have two choices:\n 1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc)\n to the new methods, etc. shown in the above diff.\n\n 2. You can update current.txt and/or removed.txt by executing the following command:\n m xsdc_simple_complex_content_tests.docs-update-current-api\n\n To submit the revised current.txt to the main Android repository,\n you will need approval.\n******************************\n" ; exit 38 ) # hash of input list: 8947d0b6052d4eb78490672f8f898de5b6ba76e5af1795a92a73bc32e60ba235--- system/tools/xsdc/tests/resources/simple_complex_content/api/current.txt 2023-04-04 19:04:24.533808784 +0800+++ out/soong/.intermediates/system/tools/xsdc/tests/resources/simple_complex_content/xsdc_simple_complex_content_tests.docs/android_common/metalava/api/current.txt 2023-04-07 21:55:42.437954007 +0800@@ -1,89 +0,0 @@-// Signature format: 2.0-package simple.complex.content {--@Deprecated public class Address {- ctor @Deprecated public Address();- method @Deprecated public String getCity();- method @Deprecated public final String getName();- method @Deprecated public String getStreet();- method @Deprecated public boolean hasCity();- method @Deprecated public boolean hasName();- method @Deprecated public boolean hasStreet();- method @Deprecated public void setCity(String);- method @Deprecated public final void setName(String);- method @Deprecated public void setStreet(String);-}--public class KRAddress extends simple.complex.content.Address {- ctor public KRAddress();-}--public class Person {- ctor public Person();- method public simple.complex.content.KRAddress getKRAddress();- method public String getName();- method public simple.complex.content.SubAddress getSubAddress();- method public simple.complex.content.USAddressP getUSAddressP();- method public boolean hasKRAddress();- method public boolean hasName();- method public boolean hasSubAddress();- method public boolean hasUSAddressP();- method public void setKRAddress(simple.complex.content.KRAddress);- method public void setName(String);- method public void setSubAddress(simple.complex.content.SubAddress);- method public void setUSAddressP(simple.complex.content.USAddressP);-}--public class Person2 {- ctor public Person2();- method public simple.complex.content.KRAddress getKRAddress();- method public String getName();- method @NonNull public simple.complex.content.SubAddress getSubAddress();- method public simple.complex.content.USAddressP getUSAddressP();- method public boolean hasKRAddress();- method public boolean hasName();- method public boolean hasSubAddress();- method public boolean hasUSAddressP();- method public void setKRAddress(simple.complex.content.KRAddress);- method public void setName(String);- method public void setSubAddress(@NonNull simple.complex.content.SubAddress);- method public void setUSAddressP(simple.complex.content.USAddressP);-}--public class SubAddress {- ctor public SubAddress();- method @Nullable public final String getChoice1_optional();- method @NonNull public final String getChoice2_optional();- method public boolean hasChoice1_optional();- method public boolean hasChoice2_optional();- method public final void setChoice1_optional(@Nullable String);- method public final void setChoice2_optional(@NonNull String);-}--public final class USAddressP extends simple.complex.content.Address {- ctor public USAddressP();- method public String getState();- method public java.math.BigInteger getZipcode();- method public boolean hasState();- method public boolean hasZipcode();- method public void setState(String);- method public void setZipcode(java.math.BigInteger);-}--public class XmlParser {- ctor public XmlParser();- method public static simple.complex.content.Person readPerson(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException;- method public static simple.complex.content.Person2 readPerson2(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException;- method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;- method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;-}--public class XmlWriter implements java.io.Closeable {- ctor public XmlWriter(java.io.PrintWriter);- method public void close();- method public static void write(simple.complex.content.XmlWriter, simple.complex.content.Person) throws java.io.IOException;- method public static void write(simple.complex.content.XmlWriter, simple.complex.content.Person2) throws java.io.IOException;-}--}--e ******************************You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices: 1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc) to the new methods, etc. shown in the above diff.
2. You can update current.txt and/or removed.txt by executing the following command: m xsdc_simple_complex_content_tests.docs-update-current-api
To submit the revised current.txt to the main Android repository, you will need approval.******************************
页:
[1]