To see more detailed structure of gn targets, the -split-projects flag can be used. If just one apk target is explicitly specified, then a single apk module is generated. File -> “Invalidate Caches / Restart.”īy default, only an _all module containing all java apk targets is generated.After gn clean you may need to restart Android Studio.
See android_test_instructions.md for more information about building and running emulators. Use “Import Project”, and select the directory containing the generated project, e.g.The above commands create a project dir gradle under your output directory. build / android / gradle / generate_gradle. Make sure you have followed android build instructions already.