[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 ...
随机推荐
- Handler
1.1 继承AbstractController优点:能定制请求方式 package cn.happyl.controller; import javax.servlet.http.HttpServl ...
- 录像时调用MediaRecorder的start()时发生start failed: -19错误
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 ...
- CentOs7 +Jexus 5.8.2部署Asp.Net Core WebApi 1.0生产环境
Jexus 是一款运行于 Linux 平台,以支持 ASP.NET.PHP 为特色的集高安全性和高性能为一体的 WEB 服务器和反向代理服务器.最新版 5.8.2 已经发布,有如下更新: 1,现在大 ...
- 最新Angular2案例rebirth开源
在过去的几年时间里,Angular1.x显然是非常成功的.但由于最初的架构设计和Web标准的快速发展,逐渐的显现出它的滞后和不适应.这些问题包括性能瓶颈.滞后于极速发展的Web标准.移动化多平台应用, ...
- HTPC家庭娱乐和XBOX未来发展畅想<另:创业工作机会>
微软中国在上海举办新闻发布会,正式宣布Xbox One将于9月23日在中国开始销售,定价3699元起.这款早在2001年就发布的电视游戏机终于在经历了14年的等待后,进军中国大陆市场.此次Xbox O ...
- ASP.NET Web API Model-ValueProvider
ASP.NET Web API Model-ValueProvider 前言 前面一篇讲解了Model元数据,Model元数据是在Model绑定中很重要的一部分,只是Model绑定中涉及的知识点比较多 ...
- 跟我一起hadoop(1)-hadoop2.6安装与使用
伪分布式 hadoop的三种安装方式: Local (Standalone) Mode Pseudo-Distributed Mode Fully-Distributed Mode 安装之前需要 $ ...
- C++ std::deque
std::deque template < class T, class Alloc = allocator > class deque; Double ended queue deque ...
- ZooKeeper安装与配置
一. 单机安装.配置: 1. 下载zookeeper二进制安装包下载地址:http://apache.dataguru.cn/zookeeper/zookeeper-3.4.3/zookeeper-3 ...
- CentOS7下mysql5.6修改默认编码
参考原文教程:Centos7下修改mysql5.6编码方式 解决网站中文显示问号 解决办法: 修改MySQL数据库字符编码为UTF-8,UTF-8包含全世界所有国家需要用到的字符,是国际编码. 具体操 ...