方式

android studio 直接导入整个工程,同步

错误 SDK location not found

配置 local.properties

是否包含子模块

git pull --recurse-submodules

不知道编译目标

gradlew tasks在这里插入代码片
确定是否有增加 task
编译, 如 gradlew assembledebug

assemble - Assemble main outputs for all the variants.
assembleAndroidTest - Assembles all the Test applications.
assembleBeater - Assembles main outputs for all Beater variants.
assembleDebug - Assembles main outputs for all Debug variants.
assembleJym - Assembles main outputs for all Jym variants.
assembleRelease - Assembles main outputs for all Release variants.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
bundle - Assemble bundles for all the variants.
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐