Slackbot
04/24/2023, 4:20 PMVampire
04/24/2023, 4:34 PMMatheus Finatti
04/24/2023, 5:21 PMmicroapps.mylibraryapp or <http://androidapp.app|androidapp.app> but only <http://androidapp.app|androidapp.app> works.Vampire
04/24/2023, 8:51 PMmicroapps.mylibraryapp runs fine on the emulator.
<http://androidapp.app|androidapp.app> though fails to build.Vampire
04/24/2023, 8:52 PMMatheus Finatti
04/25/2023, 8:11 AMmicroapps.mylibraryapp from the IDE.
I don’t see how I could how with --scan if gradle fails to find the task?
Cannot locate tasks that match ':microapps:mylibraryapp:assembleDebug' as project 'microapps' not found in root project 'GradleMismatch'.Vampire
04/25/2023, 8:36 AMBut if you observed the same issue on IJI did not. Unless your description was wrong.
then it’s probably an issue with Gradle rather than AS.Why? AS is just a customized IJ.
I’ve tried downgrading to Gradle 7.6 and the behavior changed.Hm, bad, then I cannot help, maybe someone else can.
I don’t see how I could how withif gradle fails to find the task?--scan
--scan should almost always work.Matheus Finatti
04/25/2023, 9:04 AMCannot locate tasks that match ':androidApp:microapps:mylibraryapp:assembleDebug' as project 'androidApp' not found in root project 'microapps'.
It’s searching for the correct path :androidapp:microapps:mylibraryapp: but in the wrong root project.
It doesn’t when I try to run this specific task, just errors the same as before, since it doesn’t exist. Unless there’s another task I can run withshould almost always work.--scan
--scanVampire
04/25/2023, 9:08 AMYou managed to get it working,Well, the one you said is not working worked, the one you said working did not build
which IJ version are you using2022.2.3
It’s searching for the correct pathIf you have multiple builds imported and want to run that task path in a specific build, you have to select which build, depending on how you run the task. For example in the "Run Anything" dialog (but in the wrong root project.:androidapp:microapps:mylibraryapp:
Ctrl-Ctrl) you can select the execution context in the upper left.