I am building an plugin for Intellij Idea / Android Studio and I am unable to debug it on Android Studio.
As i've seen in the documentation that in order to debug it in Android studio the alternativeIdePath needs to be set with the path to Android Studio. I did that but it seems that the path is not corect.
I did some research and I found how it sould be on mac and linux but not on Windows.
the values I tried are :
alternativeIdePath 'C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe'
and
alternativeIdePath 'C:\\Program Files\\Android\\Android Studio\\bin'
the error I got for the first variant is : Directory 'C:\Program Files\Android\Android Studio\bin\studio64.exe' specified for property 'ideaDirectory' is not a directory.
and for the second is: C:\Program Files\Android\Android Studio\bin\build.txt (The system cannot find the file specified)
Do you know how it should be set for windows?
You should change alternativeIdePath to:
alternativeIdePath 'C:\\Program Files\\Android\\Android Studio'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With