[Android Studio]SQLScout插件安装破解
以下内容为原创,欢迎转载,转载请注明
来自天天博客:http://www.cnblogs.com/tiantianbyconan/p/5972138.html
[Android Studio]SQLScout插件安装破解
0. 写在前面
想当初很长一段时间内不想用Android Studio而喜欢用Intellij IDEA(旗舰版)其中一个原因就是因为Intellij IDEA(旗舰版)自带Database Explorer功能便于调试,终于找到了这个Android Studio的插件可以用了,下载试用,满意!就是这个感觉!可惜需要付费,还有点小贵--,囊中羞涩,所以只好亲自手动破解,大家好孩子别轻易尝试。。。
1. 安装SQLScout插件
打开
Android StudioSettings(on Windows and Linux) orPreferences(Mac)PluginsBrowse Repositories...

选择
SQLScout并安装
2. 激活SQLScout
在试用期过后,需要购买一个商业证书来激活SQLScout。

通过这里 [购买商业证书] (https://www.idescout.com/secure/buy),然后点击Activate按钮。

3. 破解
注意:以下破解只供学习讨论,请勿传播
3.1 破解SQLScout 2.0.4
for Android Studio 2.1 and IntelliJ IDEA 2016.1
通过前面的方法安装SQLScout插件之后,进入Intellij IDEA插件安装目录:
~/Library/Application Support/AndroidStudio/SQLScout/lib/
反编译SQLScout.jar
进入com/idescout/sqlite/license/,修改License.class。
License.java如下:
package com.idescout.sqlite.license;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.Lists;
import com.intellij.ide.IdeEventQueue;
import com.intellij.openapi.components.ServiceManager;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.concurrent.TimeUnit;
public class License {
@NotNull
private final m a = new m();
@NotNull
private final k b = new k();
@NotNull
private final List<j> c = Lists.newArrayList();
@NotNull
private final LicenseCheck.Type d = LicenseCheck.Type.COMMERCIAL;
public static int e;
private static final String[] f = new String[4];
@NotNull
public static License getInstance() {
License license = null;
try {
if ((license = (License) ServiceManager.getService(License.class)) == null) {
throw new IllegalStateException(String.format(f[0], new Object[]{f[2], f[1]}));
}
} catch (IllegalStateException localIllegalStateException) {
throw localIllegalStateException;
}
return license;
}
private License() {
this.c.add(this.b);
this.c.add(this.a);
int i = (int) TimeUnit.MINUTES.toMillis(1L);
IdeEventQueue.getInstance().addIdleListener(new i(this), i);
}
private void a() {
}
private void a(@NotNull com.intellij.openapi.project.Project paramProject) {
}
boolean b() {
return false;
}
public boolean isValidLicense() {
return true;
}
public boolean isValidLicense(@Nullable com.intellij.openapi.project.Project arg1) {
return true;
}
@VisibleForTesting
void c() {
this.b.c();
}
void a(@NotNull String paramString)
throws Throwable {
}
void a(@NotNull Throwable paramThrowable, @org.jetbrains.annotations.Nullable com.intellij.openapi.project.Project paramProject) {
}
static void a(License paramLicense) {
paramLicense.a();
}
static m b(License paramLicense) {
return paramLicense.a;
}
static k c(License paramLicense) {
return paramLicense.b;
}
}
然后编译该文件复制License.class文件,替换原来的License.class。
然后jar cvf SQLScout.jar ./*打包jar。
最后替换~/Library/Application Support/AndroidStudio/SQLScout/lib/下的SQLScout.jar文件,重启Android Studio。
3.2 破解SQLScout 2.0.6
方法与破解2.0.4一样,License.class替换如下:
package com.idescout.sqlite.license;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.ArrayList;
import java.util.List;
public class License {
@NotNull
private final h a;
@NotNull
private final f b;
@NotNull
private final List<e> c;
@NotNull
private final LicenseCheck.Type d;
private static final String[] e = new String[11];
@NotNull
public static License getInstance() {
License license;
try {
license = (License) ServiceManager.getService((Class) License.class);
if (license == null) {
throw new IllegalStateException("error by wangjie");
}
} catch (IllegalStateException ex) {
throw ex;
}
return license;
}
private License() {
this.a = new h();
this.b = new f();
this.c = new ArrayList<e>();
this.d = LicenseCheck.Type.COMMERCIAL;
this.c.add(this.b);
this.c.add(this.a);
// IdeEventQueue.getInstance().addIdleListener(this::d, (int) TimeUnit.MINUTES.toMillis(1L));
}
private void a() {
}
private void a(@NotNull final Project project) {
}
boolean b() {
return false;
}
public boolean isValidLicense() {
return true;
}
public boolean isValidLicense(@Nullable final Project p0) {
return true;
}
@VisibleForTesting
void c() {
this.b.c();
}
void a(@NotNull final String s) throws Throwable {
}
void a(@NotNull final Throwable t, @Nullable final Project project) {
}
private void d() {
}
static h a(final License license) {
return license.a;
}
static f b(final License license) {
return license.b;
}
}
3.3 破解文件下载
使用方式,下载下面的
SQLScout.jar,替换~/Library/Application Support/AndroidStudio../SQLScout/lib/SQLScout.jar文件,重启AndroidStudio即可。
3.3.1 SQLScout 2.0.4:
支持Android Studio 2.1 和 IntelliJ IDEA 2016.1.
SQLScout.jar下载:
https://github.com/wangjiegulu/wangjiegulu.github.com/tree/master/file/SQLScout/2.0.4
3.3.2 SQLScout 2.0.6:
支持Android Studio 2.2
SQLScout.jar下载:
https://github.com/wangjiegulu/wangjiegulu.github.com/tree/master/file/SQLScout/2.0.6
[Android Studio]SQLScout插件安装破解的更多相关文章
- Android Studio常用插件续
这个月因为各种事情在忙,包括赶项目,回老家,还有准备旅游的事,所以应该写不了四篇博客了.今天介绍一下关于Android Studio 的几个好用的插件,都是我在用的,它们或能帮你节省时间,或者让你心情 ...
- Android studio 1.x 安装完毕后无法打开问题解决方案
Android Studio 1.0正式发布,给Android开发者带来了不小的惊喜,再也不用为繁琐的环境配置而烦恼,从某一层面上说这降低了android开发门槛. 不过貌似只能开心一会儿,因为and ...
- android studio 学习之一 安装和基本使用
一.简介 Android Studio 是一个Android集成开发工具,基于IntelliJ IDEA. 类似 Eclipse ADT,Android Studio 提供了集成的 Android 开 ...
- Android Studio加入插件(Genymotion)
官方模拟器的龟速已让我们无力吐槽.幸好有genymotion这款逆天的Android虚拟机,它有着高速的开启速度,良好的交互界面. 是Android开发必备的良品.甚至有些玩家已经用genymotio ...
- Android Studio入门(安装-->开发调试)
写在前面的话:本文来源:http://blog.csdn.net/yanbober/article/details/45306483 目标:Android Studio新手–>下载安装配置–&g ...
- Android Studio 工具插件
1.Android Studio 翻译插件,可以将英文翻译为中文. https://github.com/Skykai521/ECTranslation 2.Android Studio之Androi ...
- Android项目实战(十九):Android Studio 优秀插件: Parcelable Code Generator
Android Studio 优秀插件系列: Android Studio 优秀插件(一):GsonFormat Android Studio 优秀插件(二): Parcelable Code Gen ...
- Android开发实战(十八):Android Studio 优秀插件:GsonFormat
Android Studio 优秀插件系列: Android Studio 优秀插件(一):GsonFormat Android Studio 优秀插件(二): Parcelable Code Gen ...
- Windows环境下Android Studio v1.0安装教程
Windows环境下Android Studio v1.0安装教程 准备工具 JDK安装包. 要求:JDK 7以及以上版本. Android Studio安装文件. Windows: exe(包含SD ...
随机推荐
- 递归实现n(经典的8皇后问题)皇后的问题
问题描述:八皇后问题是一个以国际象棋为背景的问题:如何能够在8×8的国际象棋棋盘上放置八个皇后, 使得任何一个皇后都无法直接吃掉其他的皇后?为了达到此目的,任两个皇后都不能处于同一条横行.纵行或斜线上 ...
- 你所不知道的setTimeout
JavaScript提供定时执行代码的功能,叫做定时器(timer),主要由setTimeout()和setInterval()这两个函数来完成.它们向任务队列添加定时任务.初始接触它的人都觉得好简单 ...
- iOS 4s-6Plus屏幕自动适配及颜色转换为十六进制
iOS各种屏幕自动适配及颜色转换为十六进制 ★★★XLJMatchScreen自动适配屏幕★★★ 支持pod导入 pod 'XLJScreenMatching', '~> 1.0.3' 如果发现 ...
- ★Kali信息收集★8.Nmap :端口扫描
★Kali信息收集~ 0.Httrack 网站复制机 http://www.cnblogs.com/dunitian/p/5061954.html ★Kali信息收集~ 1.Google Hackin ...
- GroupData群数据库的还原与优化
一.背景 这个数据库的数据文件mdf大概有83G左右,当还原数据库之后感觉可以做很多性能方面上的调优,合并数据后mdf数据文件大概有59G左右,行压缩后mdf数据文件大概有39G左右,页压缩后mdf数 ...
- cookies如何成为全局变量以及设置,删除,获取
(一)cookie机制将信息存储于用户硬盘,因此可以作为全局变量 (1)保存用户登录状态.例如将用户id存储于一个cookie内,这样当用户下次访问该页面时就不需要重新登录了,现在很多论坛和社区都提供 ...
- The .NET of Tomorrow
Ed Charbeneau(http://developer.telerik.com/featured/the-net-of-tomorrow/) Exciting times lie ahead f ...
- Set容器--HashSet集合
Set容器特点: ① Set容器是一个不包含重复元素的Collection,并且最多包含一个null元素,它和List容器相反,Set容器不能保证其元素的顺序; ② 最常用的两个Set接口的实 ...
- Android开发之Activity的生命周期以及加载模式
本篇博客就来好好的搞一下Activity的生命周期,如果搞过iOS的小伙伴的话,Activity的生命周期和iOS中ViewController的生命周期非常类似.生命周期,并不难理解.一个人的生命周 ...
- Spring MVC学习
SpringMVC框架 转载请注明出处 目录 一:配置springMVC开发环境 1.1.配置文件的helloworld 1.2.基于注解的helloworld 二:@RequestMapping详解 ...