You can delete the .externalNativeBuild dir, then run generateJsonModelDebug or generateJsonModelRelease, it will recreate the .externalNativeBuild dir.
在 2016年11月15日星期二 UTC+8上午10:54:41,Joe Bowbeer写道: > > I've been transitioning to the externalNativeBuild support in the stable > gradle plugin. > > I've noticed that command lines for ndkBuild are cached in a hidden, > ignored .externalNativeBuild folder that is *not* in the project's build > folder. > > This has been reported here: Issue 222274 > <https://code.google.com/p/android/issues/detail?id=222274> > > This is causing problems for me because I'm redefining project.buildDir. > > AFAICT, neither .externalNativeBuild nor its contents are removed by > gradle clean, and the command files in .externalNativeBuild are not being > regenerated when the project.buildDir changes. This is causing values to be > used for NDK_OUT and NDK_LIBS_OUT that do not correspond to the current > project.buildDir. > > Is there some way in build.gradle to force externalNativeBuild to use the > current project.buildDir? > > > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.