Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omnirom compiling broken #28

Open
MartinX3 opened this issue May 24, 2019 · 0 comments
Open

Omnirom compiling broken #28

MartinX3 opened this issue May 24, 2019 · 0 comments

Comments

@MartinX3
Copy link

7373ed1
https://gerrit.omnirom.org/#/c/android_frameworks_base/+/34034/

[  0% 9/2002] Checking API:  checkpublicapi-current
FAILED: /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp 
/bin/bash -c "(( /home/developer/android/omniROM90/out/host/linux-x86/bin/apicheck -JXmx1024m -J\"classpath /home/developer/android/omniROM90/out/host/linux-x86/framework/doclava.jar:/home/developer/android/omniROM90/out/host/linux-x86/framework/jsilver.jar:prebuilts/jdk/jdk8/linux-x86/lib/tools.jar:)\"  -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 -error 26 -error 27  frameworks/base/api/current.txt  /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt  frameworks/base/api/removed.txt  /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/removed.txt || (  cat build/make/core/apicheck_msg_current.txt ; exit 38 ) ) ) && (mkdir -p /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/ ) && (touch /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp )"
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32074: error 5: Added public field android.os.BatteryManager.BATTERY_PLUGGED_MOD
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32079: error 5: Added public field android.os.BatteryManager.BATTERY_PROPERTY_CHARGE_FULL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32083: error 5: Added public field android.os.BatteryManager.BATTERY_PROPERTY_MOD_CHARGE_FULL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32094: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_FLAG
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32095: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_LEVEL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32096: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_POWER_SOURCE
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32097: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_STATUS
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32098: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_TYPE
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32100: error 5: Added public field android.os.BatteryManager.EXTRA_PLUGGED_RAW

******************************
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 to the methods, etc. listed in the
      errors above.

   2) You can update current.txt by executing the following command:
         make update-api

      To submit the revised current.txt to the main Android repository,
      you will need approval.
******************************

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant