[android-building] Re: andriod-4.2.2_r2 build error
Hi Ye Roger, Did you happen to found any solution on this problem, or the reason why this problem occurred? 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) >
[android-building] Re: andriod-4.2.2_r2 build error
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: