Android projects in Aspire #16402
Replies: 1 comment 1 reply
-
|
Hi @JuanFcoMiranda, Not natively. Aspire is designed for orchestrating server-side distributed services - it has no support for Android/Kotlin projects out of the box. That said, there are two practical approaches depending on your goal: If you want to run your backend + see it in the dashboard - just add your .NET backend services to Aspire as usual. Your Android app connects to them normally via HTTP, no Aspire integration needed on the Android side. If you want the Android emulator to appear as a resource in the AppHost - you can wrap it with builder.AddExecutable("android-app", "gradlew", workingDirectory: "../MyAndroidApp", "assembleDebug");This is a hack more than a supported pattern, but it lets you see the process in the dashboard and have it start alongside your other resources. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to run native android projects developed in Kotlin within Aspire?
Greetings.
Beta Was this translation helpful? Give feedback.
All reactions