5

I have an Android project in Android-studio with different build variants for both x86 and ARM.

I was wondering if there is a way to create different "run/debug configurations" for each build variant?

Jose Gonzalez
  • 1,491
  • 3
  • 25
  • 51

2 Answers2

2

You can change build command for your build configurations by modifying Gradle-aware Make command:

Change Run Configuration

but then you still have to change build variant in Build Variants tool window to deploy correct APK to your device.

Blackhex
  • 1,694
  • 3
  • 21
  • 45
-1

Yes, you can create different configurations.

Read this document: https://developer.android.com/studio/build/build-variants.html

Barış Söbe
  • 470
  • 4
  • 7
  • 2
    The questions is not if you can have different configurations, It's if you can configure the Android-studio "run/build configuration" to point at an specific build variant. – Jose Gonzalez Oct 14 '16 at 15:12