Comments (5)
请检查是否正确加载插件:
根目录下:build.gradle
app目录下:build.gradle
请检查是否正确配置打印方法:
timeMethod = [
[
'time' : 100L,
'owner': 'com/google',
]
]
from fragmject.
请检查是否正确加载插件: 根目录下:build.gradle app目录下:build.gradle 请检查是否正确配置打印方法: timeMethod = [ [ 'time' : 100L, 'owner': 'com/google', ] ]
直接在你项目里测试的,新建了个module,build.gradle代码如下:
`plugins {
id 'com.android.application'
id 'miaow'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.android.asmtest"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
miaow {
//方法耗时打印
timeMethod = [
[
'time' : 0L,
'owner': 'com/android/asmtest',
],
// [
// 'time' : 100L,
// 'owner': 'com/google',
// ]
]
}`
期望可以打印onCreate的耗时,logcat筛选System.out,但没任何打印输出
from fragmject.
我在onMethodExit打印了下,执行到了的,但是就是没输出
from fragmject.
通过上述的信息我没有办法帮你排查到具体问题,你可以参考README中的字节码文章。
from fragmject.
哈喽,已经对AGP 7.0做适配,请拉取最新代码查看
from fragmject.
Related Issues (18)
- 列表分页查询后,每次重建Fragment 后LiveData缓存的数据都重复添加到list HOT 3
- 图片编辑,超长图会很模糊,原图是清晰的 HOT 1
- 图片编辑器功能,插入文字后再旋转一定角度(比如90度),这个时候就点击不到文字sticker HOT 1
- 图片编辑框架在项目中应该没有使用到吧 HOT 1
- 没人觉得app好卡吗 HOT 2
- 大佬,可以把如下方法集成到 SystemHelper中吗 HOT 2
- 大佬大佬,请教一下 WanViewModel 数据更新中的问题 HOT 1
- 运行master分支需要的as版本是什么? HOT 1
- 编译报错 HOT 1
- asm 插桩现在是失效了吗? HOT 1
- 如何设置下拉刷新的header部分在loading状态时,滑动列表可以使header部分跟随列表同步上下滚动 HOT 1
- 请求另外一个url地址的数据应该怎么弄? HOT 3
- 图片编辑框架1.2.4使用异常 HOT 3
- This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer. HOT 2
- 编译报错 HOT 2
- 这里的代码是不是写错了? HOT 1
- 编译报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fragmject.