简体   繁体   English

Android工作室:如何删除crashlytics插件

[英]Android studio: How to delete crashlytics plugin

I'm using Android Studio 1.0.2.我正在使用 Android Studio 1.0.2。

Due to some reason i have to uninstall the Crashlytics plugin/SDK from my Android studio.由于某些原因,我必须从我的 Android 工作室卸载 Crashlytics 插件/SDK。

I have tried going to File>Settings>Plugins to remove Crashlytics, but this has not helped me, as i cannot find it in the plugin list.我尝试转到“文件”>“设置”>“插件”以删除 Crashlytics,但这对我没有帮助,因为我在插件列表中找不到它。

Request if someone can provide a solution for this issue.请求是否有人可以为此问题提供解决方案。

You need to delete crashlytics in app/build.gradle .您需要删除app/build.gradle

buildscript {
    repositories {
        maven { url 'http://download.crashlytics.com/maven' }
    }

    dependencies {
        classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'
    }
}


compile 'com.crashlytics.android:crashlytics:1.+'

Delete line that show crashlytics in repositories and dependencies.删除在存储库和依赖项中显示 crashlytics 的行。
Delete file app/crashlytics.properties and app/main/assets/crashlytics-build.properties删除文件app/crashlytics.propertiesapp/main/assets/crashlytics-build.properties
Then build gradle again.然后再次构建gradle。

For plugins installed inside the Studio just go to File-Settings-Plugins and uninstall对于安装在 Studio 中的插件,只需转到 File-Settings-Plugins 并卸载在此处输入图片说明

In case you cannot delete a Plugin from Preferences->Plugins because is not on the list, navigate to如果您无法从 Preferences->Plugins 中删除插件,因为它不在列表中,请导航到

{User-Home}\\AppData\\Local\\JetBrains\\Toolbox\\apps\\AndroidStudio\\ch-0\\202.6787931.plugins

and simply delete its folder and restart Android Studio.只需删除其文件夹并重新启动Android Studio。

You may have to look up that path yourself, as mine is for a JetBrains Toolbox installation of Android Studio, but the process should be the same.您可能需要自己查找该路径,因为我的是用于 Android Studio 的 JetBrains Toolbox 安装,但过程应该是相同的。

Hint: In my case the plugin in question lived in a folder named "plugin", what I had to figure out first.提示:在我的例子中,有问题的插件位于一个名为“plugin”的文件夹中,我必须首先弄清楚什么。

You can go to the Preferences->Plugins on the search bar, you can search the plugin you want to remove or you can go >installed plugin tab and it will show you the list of installed plugin then select the plugin to remove just right click on it and it will show you the option>uninstall and then press on the Uninstall button.您可以转到搜索栏上的首选项->插件,您可以搜索要删除的插件,或者您可以转到>已安装的插件选项卡,它会显示已安装插件的列表,然后选择要删除的插件只需右键单击在它上面,它会显示选项>卸载,然后按卸载按钮。

File > Setting > plugins > installed plugins > right click on plugin > uninstall文件>设置>插件>已安装的插件>右键单击插件>卸载

For Mac User find plugin on below path.对于 Mac 用户,请在以下路径中找到插件。

/Users/ username /Library/Application Support/Google/AndroidStudio 2021.3 /Plugins /Users/用户名/Library/Application Support/Google/AndroidStudio 2021.3 /Plugins

Bold text would be different depending on computer environment + Android Studio version粗体字会因电脑环境不同而不同 + Android Studio版本

For the new Android Studio version (Android Studio Electric Eel | 2022.1.1).对于新的 Android Studio 版本(Android Studio Electric Eel | 2022.1.1)。 To delete or uninstall the Plugin, the steps are below:删除或卸载插件,步骤如下:

Settings -> Plugins -> Choose Tab Installed -> Select the Plugin you want -> Click Icon Setting (Right of Title) -> Uninstall设置->插件-> 选择已安装选项卡 -> Select 你想要的插件-> 点击图标设置(标题右侧) ->卸载

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM