0

My project contains a service that expose data for other applications.

Currently I have two build types:

  • Release - contains the service, no UI (Launch Options -> Launch -> Nothing)
  • Debug - contain all that we have in release and UI to allow debugging capabilities (Launch Options -> Launch -> DebugActivity)

I want to know if there is a simple way to change the launch options for each build type, without creating a new configuration.

I tried creating a new config for every build type and specify the appropriate Gradle task (according to this), but it seems it's not working - getting no suggestions for Gradle task code completion. Tried also manually (:app:installRelease) but the studio don't even give the option the run the app (play icon is grayed)

Ofir A.
  • 3,112
  • 11
  • 57
  • 83

0 Answers0