Comments (10)
IPackageStatsObserver这个类实际上是隐藏的吧?代码里有用到这个类么?怎么使用这个类的?
from blockcanaryex.
另外希望给出一些详细的信息,比如compile sdk version,com.android.tools.build:gradle version等
from blockcanaryex.
确实有方法调用了IPackageStatsObserver,但是这个方法没有被调用,然后我把它注释了,但是现在出现了另外一个问题:
Error:Execution failed for task ':SkyMoviePlatform5.5:transformClassesWithBlockCanaryExFor_defaultDebug'.
> javassist.CannotCompileException: cannot find android.content.res.ConstantState
android.content.res.ConstantState
位于layoutlib.jar
,我设置的是不开启本地libs
方法采样。
项目的一些信息如下:
gradle:2.2.2
buildTools:23.0.3
compile sdk:23
from blockcanaryex.
这个也是android的隐藏类,你是通过provide jar包的方式来访问这些android隐藏类吧?我一会也这样试试。
from blockcanaryex.
嗯嗯,对,是通过provide的方式访问的,如果我把subProject true //开启子项目代码方法采样,默认为true
置为false
就不会有问题,但是我现在希望的是开启子项目代码采样
from blockcanaryex.
@tonycheng93 问题出在javaassit的classpath 没有引入provide的jar路径,0.9.8.3已经解决了,你试试。
from blockcanaryex.
@seiginonakama 非常感谢作者,0.9.8.2版本可以正常使用,最近刚好在做性能优化方面的工作,看到作者的这个库很有帮助,十分感谢!
from blockcanaryex.
@tonycheng93 不客气,谢谢你的issue,我以前还没注意到这个。其实0.9.8.3才是完美解决,0.9.8.2不能兼容library工程里的provide依赖。。
from blockcanaryex.
@seiginonakama 我的library里面没有provide依赖,所以更新了你的0.9.8.2就可以解决我的问题了
from blockcanaryex.
resolved in 0.9.9
from blockcanaryex.
Related Issues (20)
- After upgrade Android gradle plugin to 3.0.0, apply plugin blockcanaryex failed. HOT 5
- 貌似插件里的代码有错误! HOT 1
- 没有提示代码行数 HOT 1
- 集成后报空指针异常 HOT 1
- 使用MultiDex.install(this)后, 编译通过, 但项目运行不起来 HOT 5
- include的逻辑有问题!!!!!!! HOT 1
- 通知notification显示的卡顿次数数目不对
- Hook Trace部分的代码,在vivo X6s手机上crash HOT 1
- Not compat 'com.android.tools.build:gradle:3.1.0-alpha02'.
- 编译不通过 java.io.IOException: Could not delete path......\transforms\desugar\debug\10.jar'. HOT 2
- 编译不通过,org.gradle.api.plugins.PluginInstantiationException: Could not create plugin of type 'BlockCanaryExPlugin'. HOT 1
- Could not initialize class com.letv.sarrsdesktop.blockcanaryex.BlockCanaryExPlugin HOT 9
- android studio 3.0中在app的build.gradle中引入apply plugin: 'blockcanaryex'会报错 HOT 4
- Is it possible support android 27 and android 28?
- Looper.logging 被 TraceEvent 覆盖,导致失效
- gc-event:null,heavy-methods:null ,too-heavy-methods:null
- Could not initialize class com.letv.sarrsdesktop.blockcanaryex.BlockCanaryExPlugin Open File
- 为什么不维护了呢?枉费大家对你的信任。有如下问题:1、notification不通知2、不显示耗时的方法堆栈 HOT 1
- Failed to apply plugin [id 'blockcanaryex'] HOT 2
- gradle4.1.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 blockcanaryex.