We have seen Cid’s stink eye, and now we have seen a quail star. Check out the error:

[CODE]
[ 3% 1534/40974] Checking API: checkpublicapi-current
FAILED: /bin/bash -c “(( /home/alaskalinuxuser/compile/build_rr7/out/host/linux-x86/bin/apicheck -JXmx1024m -J\”classpath /usr/lib/jvm/java-8-openjdk-amd64/bin/../lib/tools.jar:/home/alaskalinuxuser/compile/build_rr7/out/host/linux-x86/framework/doclava.jar:/home/alaskalinuxuser/compile/build_rr7/out/host/linux-x86/framework/jsilver.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/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt frameworks/base/api/removed.txt /home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/removed.txt || ( cat build/core/apicheck_msg_current.txt ; exit 38 ) ) ) && (mkdir -p /home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/ ) && (touch /home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp )”
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:1764: error 17: Field android.R.id.monitor_box has changed value from 16908334 to 16908353
….EDITED FOR SPACE….
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:32729: error 5: Added public field android.provider.Settings.System.TRANSLUCENT_NOTIFICATIONS_PRECENTAGE_PREFERENCE_KEY
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:32730: error 5: Added public field android.provider.Settings.System.TRANSLUCENT_NOTIFICATIONS_PREFERENCE_KEY
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:32731: error 5: Added public field android.provider.Settings.System.TRANSLUCENT_QUICK_SETTINGS_PRECENTAGE_PREFERENCE_KEY
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:32732: error 5: Added public field android.provider.Settings.System.TRANSLUCENT_QUICK_SETTINGS_PREFERENCE_KEY
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:43151: error 5: Added public field android.view.ViewConfiguration.DEFAULT_OVERFLING_DISTANCE
/home/alaskalinuxuser/compile/build_rr7/out/target/common/obj/PACKAGING/public_api.txt:43152: error 5: Added public field android.view.ViewConfiguration.DEFAULT_OVERSCROLL_DISTANCE

******************************
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

^^^^^^^^^^^^^^^^^^
CONGRATS YOU EARNED A QUAIL STAR!

M
MM
MMM
M.MM
MM M
7M MM
MMMMM MMMMM
MMMMM .MMMMM
MMMM MMMM
MM M
MM M .M
M+M MMMM
.M++MM .MM
MM+++MM MM
8NNNNN MM+++++MM
NNNN $Z8. MM+++++MM MM
MM $Z8M7IMNN+++++MM MM
.$$$D ~NNMNN+++++MM MMMM
INNNNM NMNM++++++M M M
NNO:NI=MM+++++++MM MM MM
8M$MMMMMD?+++++++MM .MMMMMMMMMMMMMMM MMMMN MMMMM
M$$NMMMMMM$++++++++MMMMMMM=+++++++++++++MM MMMMM MMMMM
M77$IMMMMMN.,+++++++++++++++++++++++++++MM .MMMMM MMMMM
.??I8,?M777OM.?+++++++++++++++++++++++++MM MM MM
O==?M7MM$MMI7$.~M+++++++++++++++++++++++MM .M M
NMMM+~M??MMMMMMMMMMMI$$++++++++++++++++++++MM MMMM
MMMM++++MM~=+I$OMMMOO?7M$Z$$$+++++++++++++++++MM MM
NMMM++++++++~~MO~7$OM8O8OMZZ$Z$M$$M++++++++++++++MM7MMM MM
MMMM++++++++++++==D~M~:8N88MMOMMZDM$$Z$$M+++++++++++MM77777MMM
MMM+++++++++++++++~MM~~M $O,NM88MOMMZ$$MM$$$+++++++++MM777777777MMMM
MMM++++++++++++M~M~IMMMO888NMOMMOZM$ZZDZ$$+++++++MM7777777777777OMMZ
MMM+++++++++++~~M~~MDOOMMO8NOOOOZZ$$Z.Z$$M++++MM77777777777777777MMM
MMM++++++++M.Z, D+ 8O88M8D,OOMDZZ$D.$$$N+++M7MMMMMD77777777777777MMM
.MM+++++++MM:.D:ZMMM8888OOOOOOZZ$ND$$$M++MM777777MMMM7777777777777MMD
MMM+++++~M.$.M~,~7M8?MON MOOZZ$$N$$$M++MD777777777MMMM77777777777MMM
MM=+++=ZMZ.MM MMZOOOO88OOZM$M.$$$$+++M7777777777777MMMM7777777777MM
MMM++MM~,,$M.+~M$OOMOOMZMI$$$$$$$++MM7777777777777777MMM777777777MM
MM++++=. ~$$.$.M~M$MZOM7MMZ$$$$$$++MMMMMMD7777777777777MMMI7777777MMM
.M++++++MM+OMI$7M??N+OZM8MMMD$$M$$++M77777MMMMN77777777777MMM7777777MMM
M++++++++M+=?+++++++++++MNMZN$$N$$+MM777777777MMMM7777777777MMM777777MM,
M+++++M=?7$$M+++++++++++++++$NO$$$$+M7777777777777MMMM777777777MMM77777MM
M++~M$M$M+++++M++MMM++++++++++M=$$D$MMMMMMMM7777777777MMM$7777777MMM77777MM
M+M$$$M+++++++++MM MMMMM+++++++M$Z$$M MMMMMI7777777MMMM7777777MM77777MM
M++7NMIN++Z++NMM MMMMM+++N$M$M MMMM7777777MMM777777MM$777MM
M=++8+++++++MM MMMMMZ$M$M MMMM777777MMM77777MMZ777MM
MM++++++++MM MM$ MMM77777MMM77777MM7777MM
MM++++++MM MMMM7777MMM7777MM777MM
MM++++MMM .MMM7777MM7777MM77$M
MM+++MM M MMM777MMN777MM77MM
NM+MM M MMM77MMM77NMM7MM
MM MM MMM77MMM77MM77M
.MMM MMM7MMM7IMM7MM
MM M MMM7MMM7MM7MM
M MM MM7MMN7MMMM
MMMM MMMM MMMMMIMMMM
MMMM. MMMMM MMMMMMMMM
MMMMM MMMMM MMMMMMMM
MM MM OMMMMMM
M MM MMMMMM
MM M MMMMM
MMM MMM
MM MM
M

NO. NO. STOP BEING LAZY. SERIOUSLY.
DO NOT DO THIS in CM. THIS IS A LIE. IT WILL BREAK THINGS.

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

ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (18:57 (mm:ss)) ####

alaskalinuxuser@alaskalinuxuser-PowerEdge-1950:~/compile/build_rr7$
[/CODE]

To which I tried running

$ make update-api

But, just as was the case for Cid’s stink eye, that did not solve the problem. I had to go through each error and mark them per option #1. What a pain! It was over 40 lines! In the end, the rom didn’t work, so I don’t think that is really the way to fix them. To be honest, I don’t know what the “right” out of this problem is….

Linux – keep it simple.

Leave a Reply

Your email address will not be published. Required fields are marked *