How to find ADB root path programatically? Follow
I am developing a plugin for Android Studio. For that, I need adb support.
If the development machine configured with ADb (setting environment variable), it is easy to execute commands. But the system is not configured with ADB, I need the root path for ADB.
So how to find the ADB path that Android Studio is using by programmatically?
Please sign in to leave a comment.
It is not resolved in my project. Maybe the jar is not with me. Can you please help me to find out the jar?
It is part of Android Studio, nothing special.
I am developing in IntelliJ IDEA CE. There is no package with org.jetbrains.android.*
The external libs
Then you didn't include Android plugin as required dependency or did not choose AS as target IDE.
my plugin.xml looks like
Previously I only have
<depends>com.intellij.modules.lang</depends>. But I have added
And I rebuild my code, But there is no change
<depends>com.intellij.modules.androidstudio</depends> This one is getting error.
You must either add Android plugin to classpath of your IntelliJ Platform SDK or use Android Studio as Platform SDK instead of IntelliJ CE.
So how can I convert this existing source to Android Plugin?
http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies this website is not available
Sorry, correct link is www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html. It has all instructions how to setup/modify setup your project.