How to run External Tools in Android Studio programmatically?

1.1k Views Asked by At

I) Situation

I have a problem regarding External tools execution in Android Studio 3.5. I can do this from Tools > External Tools (configured from File > Settings > Tools > External Tools) and it works perfectly fine.

My goal is to programmatically run it, looking like this: run.externalTools("toolName");

Unfortunatelly, I did not find such command.

II) Subsidiary question

Will the external tool be exported together with the app?

III) Environment:

Android Studio 3.5

Build #AI-191.8026.42.35.5791312, built on August 9, 2019

JRE: 1.8.0_202-release-1483-b03 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Windows 10 10.0

Thanks for helping,

Nyozha.

0

There are 0 best solutions below