Comments (3)
please provide me more logs with --stacktrace
thank you
from blockcanaryex.
When building it with IDE(Ctrl + F9) or grade command line everything works fine.
It only throw this error when try to install the app with IDE(Shift + F10), So there isn't any way to run it with --stacktrace
However I manage some how to get a more descriptive error message after some cleaning and building, Looks like it nags about a class uses an API from Marshmallow.
Executing tasks: [:app:assembleDebug]
Parallel execution with configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Android\sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
:app:buildInfoDebugLoader
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:prepareComAndroidDatabindingAdapters131Library
:app:prepareComAndroidDatabindingLibrary131Library
:app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:app:prepareComAndroidSupportAppcompatV72531Library
:app:prepareComAndroidSupportCardviewV72531Library
:app:prepareComAndroidSupportConstraintConstraintLayout102Library
:app:prepareComAndroidSupportDesign2531Library
:app:prepareComAndroidSupportRecyclerviewV72531Library
:app:prepareComAndroidSupportSupportCompat2531Library
:app:prepareComAndroidSupportSupportCoreUi2531Library
:app:prepareComAndroidSupportSupportCoreUtils2531Library
:app:prepareComAndroidSupportSupportFragment2531Library
:app:prepareComAndroidSupportSupportMediaCompat2531Library
:app:prepareComAndroidSupportSupportV42531Library
:app:prepareComAndroidSupportSupportVectorDrawable2531Library
:app:prepareComAndroidSupportTransition2531Library
:app:prepareComAurelhubertAhbottomnavigation206Library
:app:prepareComBluelinelabsConductor214SNAPSHOTLibrary UP-TO-DATE
:app:prepareComBluelinelabsConductorSupport214SNAPSHOTLibrary UP-TO-DATE
:app:prepareComGithubVarunestSparkbutton105Library
:app:prepareComGjiazheScrollparallaximageview10Library
:app:prepareComGoogleDaggerDaggerAndroid210Rc2Library
:app:prepareComInfstoryProguardAnnotations102Library
:app:prepareComJakewhartonRxbinding2Rxbinding200Library
:app:prepareComJakewhartonRxbinding2RxbindingAppcompatV7200Library
:app:prepareComJakewhartonRxbinding2RxbindingDesign200Library
:app:prepareComJakewhartonRxbinding2RxbindingRecyclerviewV7200Library
:app:prepareComLetvSarrsdesktopBlockCanaryExJRT0991Library
:app:prepareComXwrayGroupie111Library
:app:prepareIoReactivexRxjava2Rxandroid201Library
:app:prepareIoRequeryRequeryAndroid130Library
:app:prepareItSephirothAndroidLibraryBottomnavigationBottomNavigation201Rc1Library
:app:prepareJpWasabeefGlideTransformations202Library
:app:prepareDebugDependencies
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:dataBindingProcessLayoutsDebug UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:dataBindingExportBuildInfoDebug
:app:incrementalDebugJavaCompilationSafeguard
:app:javaPreCompileDebug
:app:transformClassesAndDataBindingWithDataBindingMergeArtifactsForDebug
:app:compileDebugJavaWithJavac
warning: View field context collides with a variable or import
file://C:\Users\ME\Documents\github\project\app\src\main\res\layout\controller_home.xml Line:6
warning: The following options were not recognized by any processor: '[autovaluegson.defaultCollectionsToEmpty]'
Note: C:\Users\ME\Documents\github\project\app\src\main\java\com\github\pedramrn\parent\App.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug
:app:packageInstantRunResourcesDebug
:app:fastDeployDebugExtractor
:app:generateDebugInstantRunAppInfo
:app:checkManifestChangesDebug
:app:transformClassesWithBlockCanaryExForDebug
:app:transformClassesWithExtractJarsForDebug
:app:transformClassesWithInstantRunVerifierForDebug
:app:transformClassesWithDependencyCheckerForDebug UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:mergeDebugJniLibFolders
:app:transformNativeLibsWithMergeJniLibsForDebug
:app:transformNativeLibsAndResourcesWithJavaResourcesVerifierForDebug UP-TO-DATE
:app:transformClassesWithInstantRunForDebug
Failed to find byte code for android/util/IntProperty
IncrementalVisitor parseParents could not locate android/util/IntProperty which is an ancestor of project class com/github/pedramrn/parent/ui/changehandler/AnimUtils$1.
com/github/pedramrn/parent/ui/changehandler/AnimUtils$1 is not eligible for hot swap.
If the class targets a more recent platform than 22, add a @TargetApi annotation to silence this warning.
Failed to find byte code for android/util/FloatProperty
IncrementalVisitor parseParents could not locate android/util/FloatProperty which is an ancestor of project class com/github/pedramrn/parent/ui/changehandler/AnimUtils$3.
com/github/pedramrn/parent/ui/changehandler/AnimUtils$3 is not eligible for hot swap.
If the class targets a more recent platform than 22, add a @TargetApi annotation to silence this warning.
:app:transformClassesWithInstantRunForDebug FAILED
:app:buildInfoGeneratorDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithInstantRunForDebug'.
> android/util/IntProperty
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 37.764 secs
The problem will go away if I change this:
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class AnimUtils { ... }
to
@TargetApi(Build.VERSION_CODES.M)
public class AnimUtils { ... }
from blockcanaryex.
I have notice this line :app:transformClassesWithInstantRunForDebug FAILED
After turning the Instant Run off the problem goes away.
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.