Uninstall Android Studio + SDK
I am using linux arch. I installed android according to ArchWiki.
I uninstalled every skd component and android studio using pacman -Rs
. Also, I removed every hidden folder in the home directory that had something to do with android such .android
, .gradle
, AndroidStudio. But the environment variable ANDROID_HOME
is still set and the following command
ps aux | grep 'adb'
returns adb -L tcp:5037 fork-server server --reply-fd 4
Where is the environment variable ANDROID_HOME set and what means adb -L tcp:5037 fork-server server --reply-fd 4
? Is android not properly uninstalled?
The command adb
returns bash: adb: command not found
EDIT:
In a /proc/pid/environ, there are still things like
/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin
arch-linux environment-variables android adb
add a comment |
I am using linux arch. I installed android according to ArchWiki.
I uninstalled every skd component and android studio using pacman -Rs
. Also, I removed every hidden folder in the home directory that had something to do with android such .android
, .gradle
, AndroidStudio. But the environment variable ANDROID_HOME
is still set and the following command
ps aux | grep 'adb'
returns adb -L tcp:5037 fork-server server --reply-fd 4
Where is the environment variable ANDROID_HOME set and what means adb -L tcp:5037 fork-server server --reply-fd 4
? Is android not properly uninstalled?
The command adb
returns bash: adb: command not found
EDIT:
In a /proc/pid/environ, there are still things like
/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin
arch-linux environment-variables android adb
add a comment |
I am using linux arch. I installed android according to ArchWiki.
I uninstalled every skd component and android studio using pacman -Rs
. Also, I removed every hidden folder in the home directory that had something to do with android such .android
, .gradle
, AndroidStudio. But the environment variable ANDROID_HOME
is still set and the following command
ps aux | grep 'adb'
returns adb -L tcp:5037 fork-server server --reply-fd 4
Where is the environment variable ANDROID_HOME set and what means adb -L tcp:5037 fork-server server --reply-fd 4
? Is android not properly uninstalled?
The command adb
returns bash: adb: command not found
EDIT:
In a /proc/pid/environ, there are still things like
/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin
arch-linux environment-variables android adb
I am using linux arch. I installed android according to ArchWiki.
I uninstalled every skd component and android studio using pacman -Rs
. Also, I removed every hidden folder in the home directory that had something to do with android such .android
, .gradle
, AndroidStudio. But the environment variable ANDROID_HOME
is still set and the following command
ps aux | grep 'adb'
returns adb -L tcp:5037 fork-server server --reply-fd 4
Where is the environment variable ANDROID_HOME set and what means adb -L tcp:5037 fork-server server --reply-fd 4
? Is android not properly uninstalled?
The command adb
returns bash: adb: command not found
EDIT:
In a /proc/pid/environ, there are still things like
/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin
arch-linux environment-variables android adb
arch-linux environment-variables android adb
edited Jun 21 '17 at 20:07
asked Jun 21 '17 at 19:51
tumbler
64
64
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
My system has android-studio, android-tools, and a few other android related packages installed. The variable ANDROID_HOME
is not set at all. This leads me to believe that you have manually set it somewhere. Have a look in places like .profile
, .bashrc
, and friends. If you have no luck you could try something like grep -r 'ANDROID_HOME' ~/
(this is not a good pattern to use due to its inefficiency). There are better ways to do this.
The adb command you are seeing is simply and adb server that has been forked and is thus running in the background, it is listening for TCP connections on port 5037. It is likely just something left over you have forgotten to terminate. It should be fine to just run pkill adb
to end this process.
With all of this said, I think it's likely that your android related packages are fully uninstalled. you can check what android packages are installed by using pacman -Qs android
. If you are sure you really want to purge all traces of android from your system consider running something like sudo pacman -Rn $(pacman -Qsq android
)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f372563%2funinstall-android-studio-sdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
My system has android-studio, android-tools, and a few other android related packages installed. The variable ANDROID_HOME
is not set at all. This leads me to believe that you have manually set it somewhere. Have a look in places like .profile
, .bashrc
, and friends. If you have no luck you could try something like grep -r 'ANDROID_HOME' ~/
(this is not a good pattern to use due to its inefficiency). There are better ways to do this.
The adb command you are seeing is simply and adb server that has been forked and is thus running in the background, it is listening for TCP connections on port 5037. It is likely just something left over you have forgotten to terminate. It should be fine to just run pkill adb
to end this process.
With all of this said, I think it's likely that your android related packages are fully uninstalled. you can check what android packages are installed by using pacman -Qs android
. If you are sure you really want to purge all traces of android from your system consider running something like sudo pacman -Rn $(pacman -Qsq android
)
add a comment |
My system has android-studio, android-tools, and a few other android related packages installed. The variable ANDROID_HOME
is not set at all. This leads me to believe that you have manually set it somewhere. Have a look in places like .profile
, .bashrc
, and friends. If you have no luck you could try something like grep -r 'ANDROID_HOME' ~/
(this is not a good pattern to use due to its inefficiency). There are better ways to do this.
The adb command you are seeing is simply and adb server that has been forked and is thus running in the background, it is listening for TCP connections on port 5037. It is likely just something left over you have forgotten to terminate. It should be fine to just run pkill adb
to end this process.
With all of this said, I think it's likely that your android related packages are fully uninstalled. you can check what android packages are installed by using pacman -Qs android
. If you are sure you really want to purge all traces of android from your system consider running something like sudo pacman -Rn $(pacman -Qsq android
)
add a comment |
My system has android-studio, android-tools, and a few other android related packages installed. The variable ANDROID_HOME
is not set at all. This leads me to believe that you have manually set it somewhere. Have a look in places like .profile
, .bashrc
, and friends. If you have no luck you could try something like grep -r 'ANDROID_HOME' ~/
(this is not a good pattern to use due to its inefficiency). There are better ways to do this.
The adb command you are seeing is simply and adb server that has been forked and is thus running in the background, it is listening for TCP connections on port 5037. It is likely just something left over you have forgotten to terminate. It should be fine to just run pkill adb
to end this process.
With all of this said, I think it's likely that your android related packages are fully uninstalled. you can check what android packages are installed by using pacman -Qs android
. If you are sure you really want to purge all traces of android from your system consider running something like sudo pacman -Rn $(pacman -Qsq android
)
My system has android-studio, android-tools, and a few other android related packages installed. The variable ANDROID_HOME
is not set at all. This leads me to believe that you have manually set it somewhere. Have a look in places like .profile
, .bashrc
, and friends. If you have no luck you could try something like grep -r 'ANDROID_HOME' ~/
(this is not a good pattern to use due to its inefficiency). There are better ways to do this.
The adb command you are seeing is simply and adb server that has been forked and is thus running in the background, it is listening for TCP connections on port 5037. It is likely just something left over you have forgotten to terminate. It should be fine to just run pkill adb
to end this process.
With all of this said, I think it's likely that your android related packages are fully uninstalled. you can check what android packages are installed by using pacman -Qs android
. If you are sure you really want to purge all traces of android from your system consider running something like sudo pacman -Rn $(pacman -Qsq android
)
answered Jun 22 '17 at 18:46
rlf
463111
463111
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f372563%2funinstall-android-studio-sdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown