darkmoon_uk
01/20/2020, 7:36 AMLarten
01/20/2020, 9:14 AMdarkmoon_uk
01/20/2020, 8:36 PMLarten
01/20/2020, 8:41 PMdarkmoon_uk
01/21/2020, 4:38 AMLarten
01/21/2020, 5:40 AMagta1991
01/21/2020, 9:33 AMthach.do
10/28/2020, 7:00 AMincludeBuild
to the mpp project as usual.
2. Let the preBuild
task of the host module depend on the assembleDebug
task of the mpp module. The purpose is to generate aar
file beforehand.
3. implementation files(path_to_generated_aar_file)
instead of implementation 'some_group_id:some_lib_name:some_version'
Doing that way the IDE can resolve dependencies by using `.class`s from the aar file. Yet, we still have the ability to jump to definition of classes from the mpp project when debugging.
BTW, I use Android Studio 4.1
, gradle plugin 4.0.1
, and gradle 6.5
. Hope it’s helpful.