Older versions of Android don't build with newer versions of MacOS (the inverse works, you can build newer android versions with older MacOS versions, though that's not usually interesting except for CI servers)
If you really need to build a 4+ year old android version on your Mac, then your best bet is probably to use a Linux virtual machine. That may be faster anyways. - Dan On Wed, Feb 3, 2021 at 9:30 AM Abhijeet Salunke <abhisaheb0...@gmail.com> wrote: > I have setup my Mac OS X for building Android. I am able to execute > following commands > - source build/envsetup.sh > - lunch > But when I run "make" it gives me following error: > > *clang: error: invalid version number in '--mmacosx-version-min=11.1'* > > My configuration is as follows: > - Mac OS X El Capitan > - Xcode 12.4 > - Mac OS X 11.1 SDK > - JDK 1.8 > > I have been stuck on this issue for while can anyone help me with these. I > have also attached screenshot. > > This is my first time building a Android. > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to android-building@googlegroups.com > To unsubscribe from this group, send email to > android-building+unsubscr...@googlegroups.com > 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 android-building+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/4fdeb00d-070b-41a3-bcc6-90b8c61b2151n%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/4fdeb00d-070b-41a3-bcc6-90b8c61b2151n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com 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 android-building+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHdmmnDFLbFVB-eokPm6-12tXzsk1nFmpAuVqB4atN%2BGCGw%40mail.gmail.com.