I figured out that i my sdk version was incorrect.

In my case, i switched to oracle-6-java for java, javac, javaws but my 
javadoc was still using java-8. (javadoc -J-version was 1.8.xx)

On Saturday, June 4, 2016 at 12:27:18 AM UTC+9, Ye Roger wrote:
>
> I know that there may not have people interested in the old build. 
> However, I do need to build an emulator x86 version for 4.2.2. After I 
> setup up everything and launched the build, I got the following errors:
>
> ......
> out/target/common/obj/PACKAGING/public_api.txt:26471: error 4: Added 
> public constructor AnimationParameters()
> out/target/common/obj/PACKAGING/public_api.txt:26510: error 4: Added 
> public constructor AnimationParameters()
> out/target/common/obj/PACKAGING/public_api.txt:27462: error 4: Added 
> public constructor WebViewTransport()
> out/target/common/obj/PACKAGING/public_api.txt:27604: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:27605: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:27606: error 4: Added 
> public constructor LayoutParams(int,int,int)
> out/target/common/obj/PACKAGING/public_api.txt:27607: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:27664: error 4: Added 
> public constructor LayoutParams(int,int,int,int)
> out/target/common/obj/PACKAGING/public_api.txt:27665: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:27666: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:27721: error 4: Added 
> public constructor AdapterContextMenuInfo(View,int,long)
> out/target/common/obj/PACKAGING/public_api.txt:28215: error 4: Added 
> public constructor ExpandableListContextMenuInfo(View,long,long)
> out/target/common/obj/PACKAGING/public_api.txt:28251: error 4: Added 
> public constructor FilterResults()
> out/target/common/obj/PACKAGING/public_api.txt:28279: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28280: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28281: error 4: Added 
> public constructor LayoutParams(int,int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28282: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28283: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28305: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28306: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28307: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28353: error 4: Added 
> public constructor LayoutParams(Spec,Spec)
> out/target/common/obj/PACKAGING/public_api.txt:28354: error 4: Added 
> public constructor LayoutParams()
> out/target/common/obj/PACKAGING/public_api.txt:28355: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28356: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28357: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28358: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28541: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28542: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28543: error 4: Added 
> public constructor LayoutParams(int,int,float)
> out/target/common/obj/PACKAGING/public_api.txt:28544: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28545: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28651: error 4: Added 
> public constructor FixedViewInfo()
> out/target/common/obj/PACKAGING/public_api.txt:28693: error 4: Added 
> public constructor CommaTokenizer()
> out/target/common/obj/PACKAGING/public_api.txt:28902: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28903: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28904: error 4: Added 
> public constructor LayoutParams(int,int,float)
> out/target/common/obj/PACKAGING/public_api.txt:28905: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28906: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28969: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:28970: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:28971: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:28972: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:29038: error 4: Added 
> public constructor ActionException(Exception)
> out/target/common/obj/PACKAGING/public_api.txt:29039: error 4: Added 
> public constructor ActionException(String)
> out/target/common/obj/PACKAGING/public_api.txt:29456: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:29457: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:29458: error 4: Added 
> public constructor LayoutParams(int,int,float)
> out/target/common/obj/PACKAGING/public_api.txt:29459: error 4: Added 
> public constructor LayoutParams()
> out/target/common/obj/PACKAGING/public_api.txt:29460: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:29461: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:29472: error 4: Added 
> public constructor LayoutParams(Context,AttributeSet)
> out/target/common/obj/PACKAGING/public_api.txt:29473: error 4: Added 
> public constructor LayoutParams(int,int)
> out/target/common/obj/PACKAGING/public_api.txt:29474: error 4: Added 
> public constructor LayoutParams(int,int,float)
> out/target/common/obj/PACKAGING/public_api.txt:29475: error 4: Added 
> public constructor LayoutParams()
> out/target/common/obj/PACKAGING/public_api.txt:29476: error 4: Added 
> public constructor LayoutParams(int)
> out/target/common/obj/PACKAGING/public_api.txt:29477: error 4: Added 
> public constructor LayoutParams(LayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:29478: error 4: Added 
> public constructor LayoutParams(MarginLayoutParams)
> out/target/common/obj/PACKAGING/public_api.txt:30820: error 4: Added 
> public constructor GetField()
> out/target/common/obj/PACKAGING/public_api.txt:30880: error 4: Added 
> public constructor PutField()
> out/target/common/obj/PACKAGING/public_api.txt:31533: error 4: Added 
> public constructor Subset(String)
> out/target/common/obj/PACKAGING/public_api.txt:34526: error 4: Added 
> public constructor SinkChannel(SelectorProvider)
> out/target/common/obj/PACKAGING/public_api.txt:34531: error 4: Added 
> public constructor SourceChannel(SelectorProvider)
> out/target/common/obj/PACKAGING/public_api.txt:35157: error 4: Added 
> public constructor Builder()
> out/target/common/obj/PACKAGING/public_api.txt:35166: error 4: Added 
> public constructor CallbackHandlerProtection(CallbackHandler)
> out/target/common/obj/PACKAGING/public_api.txt:35178: error 4: Added 
> public constructor PasswordProtection(char)
> out/target/common/obj/PACKAGING/public_api.txt:35185: error 4: Added 
> public constructor PrivateKeyEntry(PrivateKey,Certificate)
> out/target/common/obj/PACKAGING/public_api.txt:35195: error 4: Added 
> public constructor SecretKeyEntry(SecretKey)
> out/target/common/obj/PACKAGING/public_api.txt:35200: error 4: Added 
> public constructor TrustedCertificateEntry(Certificate)
> out/target/common/obj/PACKAGING/public_api.txt:35380: error 4: Added 
> public constructor Service(Provider,String,String,String,List,Map)
> out/target/common/obj/PACKAGING/public_api.txt:35640: error 4: Added 
> public constructor CertPathRep(String,byte)
> out/target/common/obj/PACKAGING/public_api.txt:35753: error 4: Added 
> public constructor CertificateRep(String,byte)
> out/target/common/obj/PACKAGING/public_api.txt:37589: error 4: Added 
> public constructor Attribute(String)
> out/target/common/obj/PACKAGING/public_api.txt:37795: error 4: Added 
> public constructor Field(String,int)
> out/target/common/obj/PACKAGING/public_api.txt:37937: error 4: Added 
> public constructor Field(String)
> out/target/common/obj/PACKAGING/public_api.txt:37962: error 4: Added 
> public constructor Field(String)
> out/target/common/obj/PACKAGING/public_api.txt:38022: error 4: Added 
> public constructor Field(String)
> out/target/common/obj/PACKAGING/public_api.txt:38148: error 4: Added 
> public constructor SimpleEntry(K,V)
> out/target/common/obj/PACKAGING/public_api.txt:38149: error 4: Added 
> public constructor SimpleEntry(Entry)
> out/target/common/obj/PACKAGING/public_api.txt:38156: error 4: Added 
> public constructor SimpleImmutableEntry(K,V)
> out/target/common/obj/PACKAGING/public_api.txt:38157: error 4: Added 
> public constructor SimpleImmutableEntry(Entry)
> out/target/common/obj/PACKAGING/public_api.txt:39190: error 4: Added 
> public constructor Control()
> out/target/common/obj/PACKAGING/public_api.txt:40134: error 4: Added 
> public constructor AbortPolicy()
> out/target/common/obj/PACKAGING/public_api.txt:40139: error 4: Added 
> public constructor CallerRunsPolicy()
> out/target/common/obj/PACKAGING/public_api.txt:40144: error 4: Added 
> public constructor DiscardOldestPolicy()
> out/target/common/obj/PACKAGING/public_api.txt:40149: error 4: Added 
> public constructor DiscardPolicy()
> out/target/common/obj/PACKAGING/public_api.txt:40407: error 4: Added 
> public constructor ConditionObject()
> out/target/common/obj/PACKAGING/public_api.txt:40453: error 4: Added 
> public constructor ConditionObject()
> out/target/common/obj/PACKAGING/public_api.txt:40548: error 4: Added 
> public constructor ReadLock(ReentrantReadWriteLock)
> out/target/common/obj/PACKAGING/public_api.txt:40558: error 4: Added 
> public constructor WriteLock(ReentrantReadWriteLock)
> out/target/common/obj/PACKAGING/public_api.txt:40597: error 4: Added 
> public constructor Name(String)
> out/target/common/obj/PACKAGING/public_api.txt:41739: error 4: Added 
> public constructor PSpecified(byte)
> out/target/common/obj/PACKAGING/public_api.txt:46396: error 4: Added 
> public constructor ConnAdapter(PoolEntry,HttpRoute)
> out/target/common/obj/PACKAGING/public_api.txt:46400: error 4: Added 
> public constructor PoolEntry()
>
> ******************************
> 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.
> ******************************
>
>
>
> make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 
> Error 38
> /home/roger/src/aosp/frameworks/base/docs/html/guide/topics/ui/drag-drop.jd:-990:
>  
> error 101: Unresolved link/see tag 
> "android.view.View.DragShadowBuilder#View.DragShadowBuilder()" in [null]
> /home/roger/src/aosp/frameworks/base/docs/html/guide/topics/ui/drag-drop.jd:-990:
>  
> error 101: Unresolved link/see tag 
> "android.view.View.DragShadowBuilder#View.DragShadowBuilder(View)" in [null]
> frameworks/base/core/java/android/view/View.java:16165: error 101: 
> Unresolved link/see tag "#View.DragShadowBuilder()" in 
> android.view.View.DragShadowBuilder
> frameworks/base/core/java/android/view/View.java:16165: error 101: 
> Unresolved link/see tag "#View.DragShadowBuilder(View)" in 
> android.view.View.DragShadowBuilder
> frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java:1280:
>  
> error 114: @deprecated tag with no explanatory comment
> DroidDoc took 146 sec. to write docs to 
> out/target/common/docs/doc-comment-check
> 1 warning
> make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to