android monitor 汉化
作者:韩梦飞沙
Author:han_meng_fei_sha
邮箱:313134555@qq.com
E-mail: 313134555 @qq.com
===
==








=============

====
.class反编译
jd-gui
java 编译成 .class
javac HI.java”(javac后面加空格),敲回车,这时如图所示,java文件上方会多出一个class文件(如果没有class文件说明编译不成功)。
this.mActivityToTraceText.addModifyListener(new GLTraceOptionsDialog.5(this));
this.mActivityToTraceText.addModifyListener(new GLTraceOptionsDialog(this));
GLTraceOptionsDialog
===========
No Connected Devices

直接修改 会报错。
=====
jclasslib bytecode viewer
JClassLib

点击软件的 File -- Open Class File 打开你刚解压出来的class文件
4)点击methods--getAllDataBase--Code
methods是表示方法不用说吧
getAllDataBase是刚在jd-gui里面找到的方法名
Code包含了getAllDataBase方法里所有的信息
找到"不能打开数据库连接,请检查!"
----
首先创建一个工程,把刚刚下载jclasslib文件夹下bin目录下jclasslib.jar引入
android studio java工程
android studio run debug configuration
点击菜单栏的“Run”->“Edit Configurations...”。然后会打开Run/Debug Configuration窗口。



没有任何与配置相关的挠文件
no scratch file associated with configuration

导入中文包后编译时出现报错:

报错是没有scratch file(临时文件),然后需要配置scratch file。
先把edit configure窗口关闭,打开工具(tools),选择新建scratch文件:

选java语言

接下来在重新编译,在弹出的edit configuration窗口中的path to scratch file:输入scratch文件路径:(一般可以直接看到,没有就在 X盘\...\.IdeaIC2016\config\scratches\scratch_1)
图片参考图片一,我的设成默认scratch file没法复现过程。
然后是编译成功:
===
Android Gradle 构建目标:org.gradle.工具。
Gradle连接异常:无法创建工具API实现的一个实例 使用指定的 Gradle安装“C:\ \用户管理员\ .gradle \包装\ dist \ Gradle - 3.3 \ 55 gk2rcmfc6p2dg9u9ohc3hw9 \ Gradle - 3.3”。
错误:Android Gradle Build Target: org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle installation 'C:\Users\Administrator\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9\gradle-3.3'.
只要
然后对这个plugin禁用后,对关联项全钩子去掉,然后重启。

import java.io.*;
import org.gjt.jclasslib.io.ClassFileWriter;
import org.gjt.jclasslib.structures.CPInfo;
import org.gjt.jclasslib.structures.ClassFile;
import org.gjt.jclasslib.structures.constants.ConstantUtf8Info; /**
* Created by Administrator on 2017/8/10.
*/
public class Test {
public static void main(String arg[]) throws Exception{
System.out.println("韩梦飞沙");
String filePath = "D:\\DevicePanel.class";
FileInputStream fis = new FileInputStream(filePath); DataInput di = new DataInputStream(fis);
ClassFile cf = new ClassFile();
cf.read(di);
CPInfo[] infos = cf.getConstantPool(); int count = infos.length;
for (int i = 0; i < count; i++) {
if (infos[i] != null) {
System.out.print(i);
System.out.print(" = ");
System.out.print(infos[i].getVerbose());
System.out.print(" = ");
System.out.println(infos[i].getTagVerbose());
if(i == 236){
ConstantUtf8Info uInfo = (ConstantUtf8Info)infos[i];
uInfo.setBytes("没有连接的设备 no connected device!999".getBytes());
infos[i]=uInfo;
}
}
}
cf.setConstantPool(infos);
fis.close();
File f = new File(filePath);
ClassFileWriter.writeToFile(f, cf);
}
}


=====
android monitor 汉化的更多相关文章
- android monitor 汉化 ddms
作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 313134555 @qq.com android.jar\com\androi ...
- 第五章:Reminders实验:第一部分[Learn Android Studio 汉化教程]
Learn Android Studio 汉化教程 By now you are familiar with the basics of creating a new project, program ...
- [Learn Android Studio 汉化教程]第四章 : Refactoring Code
[Learn Android Studio 汉化教程]第四章 : Refactoring Code 第四章 Refactoring Code 重构代码 在Android Studio中开发,解决 ...
- [Learn Android Studio 汉化教程]第三章:使用 Android Studio 编程
[Learn Android Studio 汉化教程]第三章:使用 Android Studio 编程 本章包含如何在 Android Studio 中书写或生成代码. Android Studio ...
- [Learn Android Studio 汉化教程]第一章 : Android Studio 介绍
注:为了看上去比较清晰这里只转载了中文 原地址: [Learn Android Studio 汉化教程]第一章 : Android Studio 介绍 本章将引导您完成安装和设置开发环境,然后你就可 ...
- android studio 汉化 svn插件汉化。布局文件 属性 汉化 public.xml
android studio 汉化 SvnBundle.properties D:\Android Studio\plugins\svn4idea\lib resources_en.jar\org\j ...
- 安卓工作室 android studio 汉化后,报错。 设置界面打不开。Can't find resource for bundle java.util.PropertyResourceBundle, key emmet.bem.class.name.element.separator.label
安卓工作室 android studio 汉化后,报错. 设置界面打不开. Android studio has been sinified and reported wrong.The setup ...
- 第七章 : Git 介绍 (下)[Learn Android Studio 汉化教程]
Learn Android Studio 汉化教程 Let’s reset even further to remove all traces of your work on the deprecat ...
- 第七章 : Git 介绍 (上)[Learn Android Studio 汉化教程]
Learn Android Studio 汉化教程 [翻译]Git介绍 Git版本控制系统(VCS)快速成为Android应用程序开发以及常规的软件编程领域内的事实标准.有别于需要中心服务器支持的早期 ...
随机推荐
- wget安装pip和pip3
pip的安装 1.1 pip下载 wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2 ...
- secureCRT连接linux系统
linux和secureCRT利用ssh协议22端口进行远程连接的 连接如果没有成功,请检查远程主机的端口和ssh是否开启 一.检查看SSH服务是否开启 当然有的linux系统使用的命令是/etc/i ...
- 阿里云服务器搭建FTP
操作系统:Windows Server 2008 R2企业版. 首先,创建一个用户组:ftpUsers,创建一个用户:ftpAdmin.并将ftpAdmin隶属于ftpUsers组 其次,需要安装ft ...
- NTFS文件系统简介
原文地址:http://www.cnblogs.com/watertao/archive/2011/11/28/2266595.html 1.简介 NTFS(New Technology File S ...
- certificate expired
最近在测试802.1x,测试过程中,radius服务器端一直显示如下错误: (5) authenticate {(5) eap: Expiring EAP session with state 0 ...
- 转载:分布式文件系统 - FastDFS 在 CentOS 下配置安装部署(1)
原文:http://blog.mayongfa.cn/192.html 一.安装 libfastcommon 和 FastDFS 1.下载安装 libfastcommon ,这里是通过wget下载(我 ...
- tomcat8配置SSL
参考网址:http://www.micmiu.com/enterprise-app/sso/sso-cas-sample/#viewSource 1.生成证书 keytool -genkey -ali ...
- 配置_DruidDataSource参考配置
配置_DruidDataSource参考配置 <!-- 数据库驱动 --> <property name="driverClassName" value=&quo ...
- CSS Zoom属性
CSS中 Zoom属性 介绍 其实Zoom属性是IE浏览器的专有属性,Firefox等浏览器不支撑.它可以设置或检索对象的缩放比例.除此之外,它还有其他一些小感化,比如触发ie的hasLayout属性 ...
- poj3696 欧拉函数引用
不知道错在哪里,永远T /* 引理:a,n互质,则满足a^x=1(mod n)的最小正整数x0是φ(n)的约数 思路:求出d=gcd(L,8) 求出φ(9L/d)的约数集合,再枚举约数x,是否满足10 ...