You should be able to just run `m mkstubs` from any build configuration to build mkstubs (as it's a host tool).
It'll be in out/host/linux-x86/framework/mkstubs.jar (or darwin-x86 if you're on a Mac) once built. - Dan On Tue, Dec 18, 2018 at 1:46 PM <konstantin.kara...@motorolasolutions.com> wrote: > Hey there, > > I am rather new to AOSP development and i am trying to build a sdk version > and a sdk_addon but it fails. > This is after i managed to build regularly successfully. > > I am using the *master branch* from google source. > *lunch option*: aosp-arm64 userdebug > > *commands tried*: > make sdk -j6 > make PRODUCT-sample_addon-sdk_addon -j6 > > I was trying to understand how and where i get the *mkstubs* development > tool to compile in P, as it is not being > built in the the normal build option. > After scouring the internet for answers but couldn't find any i thought > maybe using these options > will build them for me and i can get some more understanding on how to > control which tool is built. > > Can you please explain why those builds fail for me and how i can add such > development tools to the build? > > Thank you, > Konstantin > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- -- 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. For more options, visit https://groups.google.com/d/optout.