DroidAssist icon indicating copy to clipboard operation
DroidAssist copied to clipboard

A lightweight Android Studio gradle plugin based on Javassist for editing bytecode in Android.

Results 14 DroidAssist issues
Sort by recently updated
recently updated
newest added

boolean android.os.Handler.sendMessageAtTime(android.os.Message,java.lang.Long) $_= xxx.xx.xx.MyHandler.sendMessageAtTime($$); 打印了一下,没有替换成功,不知道是啥原因

`private String getApp_ConfigSpPath() { String spPath = App.getInstance().getDir("config", Context.MODE_PRIVATE).getAbsolutePath(); StringBuilder pathBuilder = new StringBuilder(spPath); if (!spPath.endsWith("/")) { pathBuilder.append('/'); } pathBuilder.append(App.getInstance().getPackageName()).append("_preferences.xml"); Log.d(TAG, String.format("getApp_ConfigSpPath path: %s", pathBuilder)); return pathBuilder.toString(); }` 这样的代码被扫描到后,插件就报错

升级了agp8.0,由于8.0移除了Transform api导致DroidAssist无法运行

如果我需要替换的方法是抛异常的,那么就无法替换,或者插入log等。 比如我想创建文件方法前后添加log 方法如下 public boolean createNewFile() throws IOException { SecurityManager security = System.getSecurityManager(); if (security != null) security.checkWrite(path); if (isInvalid()) { throw new IOException("Invalid file path"); } return fs.createFileExclusively(path); }...