ninja: error: unknown target 'otatools', did you mean 'obbtool'?

1,400 views
Skip to first unread message

aadi

unread,
Jun 9, 2017, 1:20:30 PM6/9/17
to Android Building
my repo does not have otatools what to do ?

Starting build with ninja
ninja: Entering directory `.'
ninja: error: unknown target 'otatools', did you mean 'obbtool'?
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (24 seconds) ####

Dan Willemsen

unread,
Jun 9, 2017, 1:37:23 PM6/9/17
to Android Building
The otatools target is only defined if `build_ota_package` is set to true. There are a number of ways it could be false: https://android.googlesource.com/platform/build/+/master/core/Makefile#1844

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@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-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages