requery: Project Broken after update android studio and gradle version

hello, I was using requery succesfully after an android tools and gradle update, now can’t generate classes: I’ve tried everything.

this is my console output after full rebuild:

` Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources]

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 /home/devquilla/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.

:clean :app:clean :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:prepareComAndroidDatabindingAdapters131Library :app:prepareComAndroidDatabindingLibrary131Library :app:prepareComAndroidSupportAnimatedVectorDrawable2520Library :app:prepareComAndroidSupportAppcompatV72520Library :app:prepareComAndroidSupportSupportCompat2520Library :app:prepareComAndroidSupportSupportCoreUi2520Library :app:prepareComAndroidSupportSupportCoreUtils2520Library :app:prepareComAndroidSupportSupportFragment2520Library :app:prepareComAndroidSupportSupportMediaCompat2520Library :app:prepareComAndroidSupportSupportV42520Library :app:prepareComAndroidSupportSupportVectorDrawable2520Library :app:prepareIoReactivexRxandroid121Library :app:prepareIoRequeryRequeryAndroid120Library :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig :app:generateDebugResValues :app:generateDebugResources :app:mergeDebugResources :app:dataBindingProcessLayoutsDebug :app:processDebugManifest :app:processDebugResources :app:generateDebugSources :app:preDebugAndroidTestBuild UP-TO-DATE :app:prepareComAndroidSupportTestEspressoEspressoCore222Library :app:prepareComAndroidSupportTestEspressoEspressoIdlingResource222Library :app:prepareComAndroidSupportTestExposedInstrumentationApiPublish05Library :app:prepareComAndroidSupportTestRules05Library :app:prepareComAndroidSupportTestRunner05Library :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:processDebugAndroidTestManifest :app:compileDebugAndroidTestRenderscript UP-TO-DATE :app:generateDebugAndroidTestBuildConfig :app:generateDebugAndroidTestResValues :app:generateDebugAndroidTestResources :app:mergeDebugAndroidTestResources :app:processDebugAndroidTestResources :app:generateDebugAndroidTestSources :app:mockableAndroidJar :app:preDebugUnitTestBuild UP-TO-DATE :app:prepareDebugUnitTestDependencies :app:dataBindingExportBuildInfoDebug :app:incrementalDebugJavaCompilationSafeguard :app:javaPreCompileDebug :app:transformClassesAndDataBindingWithDataBindingMergeArtifactsForDebug :app:compileDebugJavaWithJavac /home/devquilla/AndroidStudioProjects/Wayuu/app/build/generated/source/apt/debug/main/zlab/com/wayuu/repository/model/DictionaryEntity.java:235: error: cannot find symbol notifyPropertyChanged(main.zlab.com.wayuu.repository.model.BR.word); ^ symbol: class BR location: package main.zlab.com.wayuu.repository.model /home/devquilla/AndroidStudioProjects/Wayuu/app/build/generated/source/apt/debug/main/zlab/com/wayuu/repository/model/DictionaryEntity.java:246: error: cannot find symbol notifyPropertyChanged(main.zlab.com.wayuu.repository.model.BR.definition); ^ symbol: class BR location: package main.zlab.com.wayuu.repository.model /home/devquilla/AndroidStudioProjects/Wayuu/app/build/generated/source/apt/debug/main/zlab/com/wayuu/repository/model/DictionaryEntity.java:257: error: cannot find symbol notifyPropertyChanged(main.zlab.com.wayuu.repository.model.BR.letra); ^ symbol: class BR location: package main.zlab.com.wayuu.repository.model 3 errors

FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

  • 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: 5.578 secs

`

also after --info i did notice:

` Executing task ‘:app:compileDebugJavaWithJavac’ (up-to-date check took 0.004 secs) due to: No history is available. All input files are considered out-of-date for incremental task ‘:app:compileDebugJavaWithJavac’. Compiling with source level 1.7 and target level 1.7. file or directory ‘/home/devquilla/AndroidStudioProjects/Wayuu/app/src/debug/java’, not found file or directory ‘/home/devquilla/AndroidStudioProjects/Wayuu/app/build/generated/source/rs/debug’, not found Compiling with JDK Java compiler API.

`

Any help would be appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 5
  • Comments: 19 (7 by maintainers)

Most upvoted comments

@consp1racy Just pinging for a status update because I’m going to make some local changes and didn’t want to waste time doing duplicate work. No harm, no foul.

Also, I work weekends.