GithubHelp home page GithubHelp logo

Comments (3)

seiginonakama avatar seiginonakama commented on August 10, 2024

please provide me more logs with --stacktrace
thank you

from blockcanaryex.

MRezaNasirloo avatar MRezaNasirloo commented on August 10, 2024

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.

MRezaNasirloo avatar MRezaNasirloo commented on August 10, 2024

I have notice this line :app:transformClassesWithInstantRunForDebug FAILED
After turning the Instant Run off the problem goes away.

from blockcanaryex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.