Closed dikevin0512 closed 8 years ago
可以看看这里,其实是一样的,这个类是由Dagger2自动升成的,不生成是因为编译出错了,如果不出错的情况下是会生成的,只需要Rebuild一下
我rebuild好多次了也不可以。是不是buildtools版本或者gradle版本有问题?我用的studio2.1版本。
版本应该没问题的,看看console有什么错误没有?
Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :easeui:generateDebugSources, :easeui:generateDebugAndroidTestSources, :easeui:mockableAndroidJar, :easeui:prepareDebugUnitTestDependencies, :easeui:compileDebugSources, :easeui:compileDebugAndroidTestSources, :easeui:compileDebugUnitTestSources]
Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :app:clean :easeui:clean :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:generateDebugBuildConfig :easeui:preBuild UP-TO-DATE :easeui:preReleaseBuild UP-TO-DATE :easeui:compileReleaseNdk UP-TO-DATE :easeui:compileLint :easeui:copyReleaseLint UP-TO-DATE :easeui:checkReleaseManifest :easeui:preDebugAndroidTestBuild UP-TO-DATE :easeui:preDebugBuild UP-TO-DATE :easeui:preDebugUnitTestBuild UP-TO-DATE :easeui:preReleaseUnitTestBuild UP-TO-DATE :easeui:prepareComAndroidSupportAnimatedVectorDrawable2320Library :app:mergeDebugShaders :app:compileDebugShaders :app:generateDebugAssets :app:generateDebugResValues UP-TO-DATE :app:preDebugAndroidTestBuild UP-TO-DATE :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:processDebugAndroidTestManifest :easeui:prepareComAndroidSupportAppcompatV72320Library :app:compileDebugAndroidTestRenderscript :app:generateDebugAndroidTestBuildConfig :app:mergeDebugAndroidTestShaders :app:compileDebugAndroidTestShaders :app:generateDebugAndroidTestAssets :app:mergeDebugAndroidTestAssets :app:generateDebugAndroidTestResValues UP-TO-DATE :app:generateDebugAndroidTestResources :app:mergeDebugAndroidTestResources :app:processDebugAndroidTestResources :app:generateDebugAndroidTestSources :app:mockableAndroidJar :easeui:prepareComAndroidSupportSupportV42330Library :easeui:prepareComAndroidSupportSupportVectorDrawable2320Library :easeui:prepareComJaegerStatusbaruitlLibrary100Library :easeui:prepareJpWasabeefGlideTransformations200Library :easeui:prepareReleaseDependencies :easeui:compileReleaseAidl :easeui:compileReleaseRenderscript :easeui:generateReleaseBuildConfig :easeui:mergeReleaseShaders :easeui:compileReleaseShaders :easeui:generateReleaseAssets :easeui:mergeReleaseAssets :easeui:generateReleaseResValues UP-TO-DATE :easeui:generateReleaseResources :easeui:mergeReleaseResources :easeui:processReleaseManifest :easeui:processReleaseResources :easeui:generateReleaseSources :easeui:incrementalReleaseJavaCompilationSafeguard :easeui:compileReleaseJavaWithJavac :easeui:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:preDebugUnitTestBuild UP-TO-DATE :app:incrementalDebugJavaCompilationSafeguard :app:compileDebugNdk UP-TO-DATE :app:incrementalDebugAndroidTestJavaCompilationSafeguard :app:compileDebugAndroidTestNdk UP-TO-DATE :app:incrementalDebugUnitTestJavaCompilationSafeguard UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:processDebugUnitTestJavaRes UP-TO-DATE
注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractReleaseAnnotations :easeui:mergeReleaseProguardFiles UP-TO-DATE :easeui:packageReleaseRenderscript UP-TO-DATE :easeui:packageReleaseResources :easeui:processReleaseJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForRelease :easeui:transformClassesAndResourcesWithSyncLibJarsForRelease ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/release/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=2d29daa125a37e19ce44c013e37357e9b9bee150, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/release, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :easeui:mergeReleaseJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForRelease :easeui:transformNative_libsWithSyncJniLibsForRelease :easeui:bundleRelease :app:prepareBabyMasterEaseuiUnspecifiedLibrary :easeui:checkDebugManifest :easeui:prepareDebugDependencies :easeui:compileDebugAidl :easeui:compileDebugRenderscript :easeui:generateDebugBuildConfig :easeui:mergeDebugShaders :easeui:compileDebugShaders :easeui:generateDebugAssets :easeui:mergeDebugAssets :easeui:generateDebugResValues UP-TO-DATE :easeui:generateDebugResources :easeui:mergeDebugResources :easeui:processDebugManifest :easeui:processDebugResources :app:prepareCnPedantSweetalertLibrary13Library :easeui:generateDebugSources :easeui:prepareDebugAndroidTestDependencies :easeui:compileDebugAndroidTestAidl :easeui:compileDebugNdk UP-TO-DATE :easeui:copyDebugLint UP-TO-DATE :easeui:incrementalDebugJavaCompilationSafeguard :app:prepareComAndroidSupportAnimatedVectorDrawable2330Library :easeui:compileDebugJavaWithJavac :easeui:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:prepareComAndroidSupportAppcompatV72330Library :app:prepareComAndroidSupportCardviewV72301Library :app:prepareComAndroidSupportDesign2330Library :app:prepareComAndroidSupportRecyclerviewV72330Library :app:prepareComAndroidSupportSupportV42330Library :app:prepareComAndroidSupportSupportVectorDrawable2330Library :app:prepareComFacebookShimmerShimmer010Library :app:prepareComGetkeepsafeRelinkerRelinker121Library :app:prepareComGithubJdAlexanderLikeButton020Library :app:prepareComGithubJkwiecienEasyImage121Library :app:prepareComGithubJorgecastilloprzFabprogresscircle101Library :app:prepareComGithubOrhanobutLogger112Library :app:prepareComGithubOzodrukhCircularReveal131Library :app:prepareComGithubShem8MaterialLogin130Library :app:prepareComJaegerStatusbaruitlLibrary100Library :app:prepareComPnikosisMaterialishProgress10Library :app:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library :app:prepareComTbruyelleRxpermissionsRxpermissions052Library :app:prepareComYalantisUcrop150Library :app:prepareIoReactivexRxandroid110Library :app:prepareIoRealmRealmAndroidLibrary0891Library :app:prepareJpWasabeefBlurry200Library :app:prepareJpWasabeefGlideTransformations200Library :app:prepareJpWasabeefRecyclerviewAnimators223Library 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:mergeDebugAssets :app:generateDebugResources :app:mergeDebugResources :easeui:extractDebugAnnotations :easeui:mergeDebugProguardFiles UP-TO-DATE :easeui:packageDebugRenderscript UP-TO-DATE :easeui:packageDebugResources :easeui:processDebugJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForDebug :easeui:transformClassesAndResourcesWithSyncLibJarsForDebug :app:processDebugManifest ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/debug/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=09549da09a0068b433ea0635daa27d8f023b1110, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/debug, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/AndroidManifest.xml:26:5-81 Warning: Element uses-permission#android.permission.RECEIVE_BOOT_COMPLETED at AndroidManifest.xml:26:5-81 duplicated with element declared at AndroidManifest.xml:15:5-81 :app:processDebugResources :easeui:mergeDebugJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForDebug :easeui:transformNative_libsWithSyncJniLibsForDebug :app:generateDebugSources :app:prepareComSquareupLeakcanaryLeakcanaryAndroidNoOp14Beta2Library :app:prepareDebugUnitTestDependencies :app:compileDebugJavaWithJavac :easeui:bundleDebug /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:16: 错误: RatioImageView在com.ozj.baby.widget中不是公共的; 无法从外部程序包中对其进行访问 import com.ozj.baby.widget.RatioImageView; ^ /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: 找不到符号 RatioImageView ivGallery; ^ 符号: 类 RatioImageView 位置: 类 GalleryAdapter.ViewHolder /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/BabyApplication.java:13: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerApplicationComponet; ^ 符号: 类 DaggerApplicationComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseActivity.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerActivityComponet; ^ 符号: 类 DaggerActivityComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseFragment.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerFragmentComponet; ^ 符号: 类 DaggerFragmentComponet 位置: 程序包 com.ozj.baby.di.component 注: Version 0.91.0 of Realm is now available: http://static.realm.io/downloads/java/latest 注: Processing class News 注: Creating DefaultRealmModule /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: @Bind fields must extend from View or be an interface. (com.ozj.baby.adapter.GalleryAdapter.ViewHolder.ivGallery) RatioImageView ivGallery; ^ 6 个错误
:app:compileDebugJavaWithJavac 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.
BUILD FAILED
Total time: 1 mins 18.964 secs Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :easeui:generateDebugSources, :easeui:generateDebugAndroidTestSources, :easeui:mockableAndroidJar, :easeui:prepareDebugUnitTestDependencies]
Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :app:clean :easeui:clean :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:generateDebugBuildConfig :app:mergeDebugShaders :app:compileDebugShaders :app:generateDebugAssets :app:generateDebugResValues UP-TO-DATE :app:preDebugAndroidTestBuild UP-TO-DATE :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:processDebugAndroidTestManifest :easeui:preBuild UP-TO-DATE :easeui:preReleaseBuild UP-TO-DATE :easeui:compileReleaseNdk UP-TO-DATE :easeui:compileLint :easeui:copyReleaseLint UP-TO-DATE :easeui:checkReleaseManifest :easeui:preDebugAndroidTestBuild UP-TO-DATE :easeui:preDebugBuild UP-TO-DATE :easeui:preDebugUnitTestBuild UP-TO-DATE :easeui:preReleaseUnitTestBuild UP-TO-DATE :easeui:prepareComAndroidSupportAnimatedVectorDrawable2320Library :app:compileDebugAndroidTestRenderscript :app:generateDebugAndroidTestBuildConfig :easeui:prepareComAndroidSupportAppcompatV72320Library :app:mergeDebugAndroidTestShaders :app:compileDebugAndroidTestShaders :app:generateDebugAndroidTestAssets :app:mergeDebugAndroidTestAssets :app:generateDebugAndroidTestResValues UP-TO-DATE :app:generateDebugAndroidTestResources :app:mergeDebugAndroidTestResources :app:processDebugAndroidTestResources :app:generateDebugAndroidTestSources :app:mockableAndroidJar :easeui:prepareComAndroidSupportSupportV42330Library :easeui:prepareComAndroidSupportSupportVectorDrawable2320Library :easeui:prepareComJaegerStatusbaruitlLibrary100Library :easeui:prepareJpWasabeefGlideTransformations200Library :easeui:prepareReleaseDependencies :easeui:compileReleaseAidl :easeui:compileReleaseRenderscript :easeui:generateReleaseBuildConfig :easeui:mergeReleaseShaders :easeui:compileReleaseShaders :easeui:generateReleaseAssets :easeui:mergeReleaseAssets :easeui:generateReleaseResValues UP-TO-DATE :easeui:generateReleaseResources :easeui:mergeReleaseResources :easeui:processReleaseManifest :easeui:processReleaseResources :easeui:generateReleaseSources :easeui:incrementalReleaseJavaCompilationSafeguard :easeui:compileReleaseJavaWithJavac :easeui:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractReleaseAnnotations :easeui:mergeReleaseProguardFiles UP-TO-DATE :easeui:packageReleaseRenderscript UP-TO-DATE :easeui:packageReleaseResources :easeui:processReleaseJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForRelease :easeui:transformClassesAndResourcesWithSyncLibJarsForRelease ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/release/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=2d29daa125a37e19ce44c013e37357e9b9bee150, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/release, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :app:preDebugUnitTestBuild UP-TO-DATE :easeui:mergeReleaseJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForRelease :easeui:transformNative_libsWithSyncJniLibsForRelease :easeui:bundleRelease :app:prepareBabyMasterEaseuiUnspecifiedLibrary :easeui:checkDebugManifest :easeui:prepareDebugDependencies :easeui:compileDebugAidl :easeui:compileDebugRenderscript :easeui:generateDebugBuildConfig :easeui:mergeDebugShaders :easeui:compileDebugShaders :easeui:generateDebugAssets :easeui:mergeDebugAssets :easeui:generateDebugResValues UP-TO-DATE :easeui:generateDebugResources :easeui:mergeDebugResources :easeui:processDebugManifest :easeui:processDebugResources :app:prepareCnPedantSweetalertLibrary13Library :easeui:generateDebugSources :easeui:prepareDebugAndroidTestDependencies :easeui:compileDebugAndroidTestAidl :easeui:compileDebugNdk UP-TO-DATE :easeui:copyDebugLint UP-TO-DATE :easeui:incrementalDebugJavaCompilationSafeguard :app:prepareComAndroidSupportAnimatedVectorDrawable2330Library :easeui:compileDebugJavaWithJavac :app:prepareComAndroidSupportAppcompatV72330Library :easeui:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:prepareComAndroidSupportCardviewV72301Library :app:prepareComAndroidSupportDesign2330Library :app:prepareComAndroidSupportRecyclerviewV72330Library :app:prepareComAndroidSupportSupportV42330Library :app:prepareComAndroidSupportSupportVectorDrawable2330Library :app:prepareComFacebookShimmerShimmer010Library :app:prepareComGetkeepsafeRelinkerRelinker121Library :app:prepareComGithubJdAlexanderLikeButton020Library :app:prepareComGithubJkwiecienEasyImage121Library :app:prepareComGithubJorgecastilloprzFabprogresscircle101Library :app:prepareComGithubOrhanobutLogger112Library :app:prepareComGithubOzodrukhCircularReveal131Library :app:prepareComGithubShem8MaterialLogin130Library :app:prepareComJaegerStatusbaruitlLibrary100Library :app:prepareComPnikosisMaterialishProgress10Library :app:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library :app:prepareComTbruyelleRxpermissionsRxpermissions052Library :app:prepareComYalantisUcrop150Library :app:prepareIoReactivexRxandroid110Library :app:prepareIoRealmRealmAndroidLibrary0891Library :app:prepareJpWasabeefBlurry200Library :app:prepareJpWasabeefGlideTransformations200Library :app:prepareJpWasabeefRecyclerviewAnimators223Library :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:mergeDebugAssets :app:generateDebugResources :app:mergeDebugResources 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractDebugAnnotations :easeui:mergeDebugProguardFiles UP-TO-DATE :easeui:packageDebugRenderscript UP-TO-DATE :easeui:packageDebugResources :easeui:processDebugJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForDebug :easeui:transformClassesAndResourcesWithSyncLibJarsForDebug :app:processDebugManifest ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/debug/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=09549da09a0068b433ea0635daa27d8f023b1110, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/debug, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/AndroidManifest.xml:26:5-81 Warning: Element uses-permission#android.permission.RECEIVE_BOOT_COMPLETED at AndroidManifest.xml:26:5-81 duplicated with element declared at AndroidManifest.xml:15:5-81 :app:processDebugResources :easeui:mergeDebugJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForDebug :easeui:transformNative_libsWithSyncJniLibsForDebug :app:generateDebugSources :app:prepareComSquareupLeakcanaryLeakcanaryAndroidNoOp14Beta2Library :app:prepareDebugUnitTestDependencies :easeui:bundleDebug :easeui:compileDebugSources :easeui:assembleDebug :easeui:processDebugAndroidTestManifest :easeui:compileDebugAndroidTestRenderscript :easeui:generateDebugAndroidTestBuildConfig :easeui:mergeDebugAndroidTestShaders :easeui:compileDebugAndroidTestShaders :easeui:generateDebugAndroidTestAssets :easeui:mergeDebugAndroidTestAssets :easeui:generateDebugAndroidTestResValues UP-TO-DATE :easeui:generateDebugAndroidTestResources :easeui:mergeDebugAndroidTestResources :easeui:processDebugAndroidTestResources :easeui:generateDebugAndroidTestSources :easeui:mockableAndroidJar :easeui:prepareDebugUnitTestDependencies
BUILD SUCCESSFUL
Total time: 34.908 secs Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :easeui:generateDebugSources, :easeui:generateDebugAndroidTestSources, :easeui:mockableAndroidJar, :easeui:prepareDebugUnitTestDependencies, :easeui:compileDebugSources, :easeui:compileDebugAndroidTestSources, :easeui:compileDebugUnitTestSources]
Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :app:clean :easeui:clean :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:generateDebugBuildConfig :app:mergeDebugShaders :app:compileDebugShaders :app:generateDebugAssets :app:generateDebugResValues UP-TO-DATE :app:preDebugAndroidTestBuild UP-TO-DATE :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:processDebugAndroidTestManifest :easeui:preBuild UP-TO-DATE :easeui:preReleaseBuild UP-TO-DATE :easeui:compileReleaseNdk UP-TO-DATE :easeui:compileLint :easeui:copyReleaseLint UP-TO-DATE :easeui:checkReleaseManifest :easeui:preDebugAndroidTestBuild UP-TO-DATE :easeui:preDebugBuild UP-TO-DATE :easeui:preDebugUnitTestBuild UP-TO-DATE :easeui:preReleaseUnitTestBuild UP-TO-DATE :easeui:prepareComAndroidSupportAnimatedVectorDrawable2320Library :app:compileDebugAndroidTestRenderscript :app:generateDebugAndroidTestBuildConfig :easeui:prepareComAndroidSupportAppcompatV72320Library :app:mergeDebugAndroidTestShaders :app:compileDebugAndroidTestShaders :app:generateDebugAndroidTestAssets :app:mergeDebugAndroidTestAssets :app:generateDebugAndroidTestResValues UP-TO-DATE :app:generateDebugAndroidTestResources :app:mergeDebugAndroidTestResources :app:processDebugAndroidTestResources :app:generateDebugAndroidTestSources :app:mockableAndroidJar :easeui:prepareComAndroidSupportSupportV42330Library :easeui:prepareComAndroidSupportSupportVectorDrawable2320Library :easeui:prepareComJaegerStatusbaruitlLibrary100Library :easeui:prepareJpWasabeefGlideTransformations200Library :easeui:prepareReleaseDependencies :easeui:compileReleaseAidl :easeui:compileReleaseRenderscript :easeui:generateReleaseBuildConfig :easeui:mergeReleaseShaders :easeui:compileReleaseShaders :easeui:generateReleaseAssets :easeui:mergeReleaseAssets :easeui:generateReleaseResValues UP-TO-DATE :easeui:generateReleaseResources :easeui:mergeReleaseResources :easeui:processReleaseManifest :easeui:processReleaseResources :easeui:generateReleaseSources :easeui:incrementalReleaseJavaCompilationSafeguard :easeui:compileReleaseJavaWithJavac :easeui:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractReleaseAnnotations :easeui:mergeReleaseProguardFiles UP-TO-DATE :easeui:packageReleaseRenderscript UP-TO-DATE :easeui:packageReleaseResources :easeui:processReleaseJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForRelease :easeui:transformClassesAndResourcesWithSyncLibJarsForRelease ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/release/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=2d29daa125a37e19ce44c013e37357e9b9bee150, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/release, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :easeui:mergeReleaseJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForRelease :app:preDebugUnitTestBuild UP-TO-DATE :app:incrementalDebugJavaCompilationSafeguard :app:compileDebugNdk UP-TO-DATE :app:incrementalDebugAndroidTestJavaCompilationSafeguard :app:compileDebugAndroidTestNdk UP-TO-DATE :app:incrementalDebugUnitTestJavaCompilationSafeguard UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:processDebugUnitTestJavaRes UP-TO-DATE :easeui:transformNative_libsWithSyncJniLibsForRelease :easeui:bundleRelease :app:prepareBabyMasterEaseuiUnspecifiedLibrary :easeui:checkDebugManifest :easeui:prepareDebugDependencies :easeui:compileDebugAidl :easeui:compileDebugRenderscript :easeui:generateDebugBuildConfig :easeui:mergeDebugShaders :easeui:compileDebugShaders :easeui:generateDebugAssets :easeui:mergeDebugAssets :easeui:generateDebugResValues UP-TO-DATE :easeui:generateDebugResources :easeui:mergeDebugResources :easeui:processDebugManifest :easeui:processDebugResources :app:prepareCnPedantSweetalertLibrary13Library :easeui:generateDebugSources :easeui:prepareDebugAndroidTestDependencies :easeui:compileDebugAndroidTestAidl :easeui:compileDebugNdk UP-TO-DATE :easeui:copyDebugLint UP-TO-DATE :easeui:incrementalDebugJavaCompilationSafeguard :easeui:compileDebugJavaWithJavac :app:prepareComAndroidSupportAnimatedVectorDrawable2330Library :easeui:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:prepareComAndroidSupportAppcompatV72330Library :app:prepareComAndroidSupportCardviewV72301Library :app:prepareComAndroidSupportDesign2330Library :app:prepareComAndroidSupportRecyclerviewV72330Library :app:prepareComAndroidSupportSupportV42330Library :app:prepareComAndroidSupportSupportVectorDrawable2330Library :app:prepareComFacebookShimmerShimmer010Library :app:prepareComGetkeepsafeRelinkerRelinker121Library :app:prepareComGithubJdAlexanderLikeButton020Library :app:prepareComGithubJkwiecienEasyImage121Library :app:prepareComGithubJorgecastilloprzFabprogresscircle101Library :app:prepareComGithubOrhanobutLogger112Library :app:prepareComGithubOzodrukhCircularReveal131Library :app:prepareComGithubShem8MaterialLogin130Library :app:prepareComJaegerStatusbaruitlLibrary100Library :app:prepareComPnikosisMaterialishProgress10Library :app:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library :app:prepareComTbruyelleRxpermissionsRxpermissions052Library :app:prepareComYalantisUcrop150Library :app:prepareIoReactivexRxandroid110Library :app:prepareIoRealmRealmAndroidLibrary0891Library :app:prepareJpWasabeefBlurry200Library :app:prepareJpWasabeefGlideTransformations200Library :app:prepareJpWasabeefRecyclerviewAnimators223Library :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:mergeDebugAssets :app:generateDebugResources :app:mergeDebugResources 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractDebugAnnotations :easeui:mergeDebugProguardFiles UP-TO-DATE :easeui:packageDebugRenderscript UP-TO-DATE :easeui:packageDebugResources :easeui:processDebugJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForDebug :app:processDebugManifest :easeui:transformClassesAndResourcesWithSyncLibJarsForDebug ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/debug/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=09549da09a0068b433ea0635daa27d8f023b1110, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/debug, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/AndroidManifest.xml:26:5-81 Warning: Element uses-permission#android.permission.RECEIVE_BOOT_COMPLETED at AndroidManifest.xml:26:5-81 duplicated with element declared at AndroidManifest.xml:15:5-81 :app:processDebugResources :easeui:mergeDebugJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForDebug :app:generateDebugSources :app:prepareComSquareupLeakcanaryLeakcanaryAndroidNoOp14Beta2Library :easeui:transformNative_libsWithSyncJniLibsForDebug :app:prepareDebugUnitTestDependencies :app:compileDebugJavaWithJavac :easeui:bundleDebug /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:16: 错误: RatioImageView在com.ozj.baby.widget中不是公共的; 无法从外部程序包中对其进行访问 import com.ozj.baby.widget.RatioImageView; ^ /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: 找不到符号 RatioImageView ivGallery; ^ 符号: 类 RatioImageView 位置: 类 GalleryAdapter.ViewHolder /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/BabyApplication.java:13: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerApplicationComponet; ^ 符号: 类 DaggerApplicationComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseActivity.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerActivityComponet; ^ 符号: 类 DaggerActivityComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseFragment.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerFragmentComponet; ^ 符号: 类 DaggerFragmentComponet 位置: 程序包 com.ozj.baby.di.component 注: Version 0.91.0 of Realm is now available: http://static.realm.io/downloads/java/latest 注: Processing class News 注: Creating DefaultRealmModule /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: @Bind fields must extend from View or be an interface. (com.ozj.baby.adapter.GalleryAdapter.ViewHolder.ivGallery) RatioImageView ivGallery; ^ 6 个错误
:app:compileDebugJavaWithJavac 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.
BUILD FAILED
Total time: 28.935 secs Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :easeui:generateDebugSources, :easeui:generateDebugAndroidTestSources, :easeui:mockableAndroidJar, :easeui:prepareDebugUnitTestDependencies, :easeui:compileDebugSources, :easeui:compileDebugAndroidTestSources, :easeui:compileDebugUnitTestSources]
Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :app:clean :easeui:clean :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:generateDebugBuildConfig :easeui:preBuild UP-TO-DATE :easeui:preReleaseBuild UP-TO-DATE :easeui:compileReleaseNdk UP-TO-DATE :easeui:compileLint :easeui:copyReleaseLint UP-TO-DATE :easeui:checkReleaseManifest :easeui:preDebugAndroidTestBuild UP-TO-DATE :easeui:preDebugBuild UP-TO-DATE :easeui:preDebugUnitTestBuild UP-TO-DATE :easeui:preReleaseUnitTestBuild UP-TO-DATE :easeui:prepareComAndroidSupportAnimatedVectorDrawable2320Library :app:mergeDebugShaders :easeui:prepareComAndroidSupportAppcompatV72320Library :app:compileDebugShaders :app:generateDebugAssets :app:generateDebugResValues UP-TO-DATE :app:preDebugAndroidTestBuild UP-TO-DATE :app:prepareDebugAndroidTestDependencies :app:compileDebugAndroidTestAidl :app:processDebugAndroidTestManifest :app:compileDebugAndroidTestRenderscript :app:generateDebugAndroidTestBuildConfig :app:mergeDebugAndroidTestShaders :app:compileDebugAndroidTestShaders :app:generateDebugAndroidTestAssets :app:mergeDebugAndroidTestAssets :app:generateDebugAndroidTestResValues UP-TO-DATE :app:generateDebugAndroidTestResources :app:mergeDebugAndroidTestResources :app:processDebugAndroidTestResources :easeui:prepareComAndroidSupportSupportV42330Library :app:generateDebugAndroidTestSources :app:mockableAndroidJar :easeui:prepareComAndroidSupportSupportVectorDrawable2320Library :easeui:prepareComJaegerStatusbaruitlLibrary100Library :easeui:prepareJpWasabeefGlideTransformations200Library :easeui:prepareReleaseDependencies :easeui:compileReleaseAidl :easeui:compileReleaseRenderscript :easeui:generateReleaseBuildConfig :easeui:mergeReleaseShaders :easeui:compileReleaseShaders :easeui:generateReleaseAssets :easeui:mergeReleaseAssets :easeui:generateReleaseResValues UP-TO-DATE :easeui:generateReleaseResources :easeui:mergeReleaseResources :easeui:processReleaseManifest :easeui:processReleaseResources :easeui:generateReleaseSources :easeui:incrementalReleaseJavaCompilationSafeguard :easeui:compileReleaseJavaWithJavac :easeui:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:preDebugUnitTestBuild UP-TO-DATE :app:incrementalDebugJavaCompilationSafeguard :app:compileDebugNdk UP-TO-DATE :app:incrementalDebugAndroidTestJavaCompilationSafeguard :app:compileDebugAndroidTestNdk UP-TO-DATE :app:incrementalDebugUnitTestJavaCompilationSafeguard UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:processDebugUnitTestJavaRes UP-TO-DATE
注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:easeui:extractReleaseAnnotations :easeui:mergeReleaseProguardFiles UP-TO-DATE :easeui:packageReleaseRenderscript UP-TO-DATE :easeui:packageReleaseResources :easeui:processReleaseJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForRelease :easeui:transformClassesAndResourcesWithSyncLibJarsForRelease ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/release/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=2d29daa125a37e19ce44c013e37357e9b9bee150, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/release, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :easeui:mergeReleaseJniLibFolders :easeui:transformNative_libsWithMergeJniLibsForRelease :easeui:transformNative_libsWithSyncJniLibsForRelease :easeui:bundleRelease :app:prepareBabyMasterEaseuiUnspecifiedLibrary :easeui:checkDebugManifest :easeui:prepareDebugDependencies :easeui:compileDebugAidl :easeui:compileDebugRenderscript :easeui:generateDebugBuildConfig :easeui:mergeDebugShaders :easeui:compileDebugShaders :easeui:generateDebugAssets :easeui:mergeDebugAssets :easeui:generateDebugResValues UP-TO-DATE :easeui:generateDebugResources :easeui:mergeDebugResources :easeui:processDebugManifest :easeui:processDebugResources :app:prepareCnPedantSweetalertLibrary13Library :app:prepareComAndroidSupportAnimatedVectorDrawable2330Library :app:prepareComAndroidSupportAppcompatV72330Library :easeui:generateDebugSources :easeui:prepareDebugAndroidTestDependencies :easeui:compileDebugAndroidTestAidl :easeui:compileDebugNdk UP-TO-DATE :easeui:copyDebugLint UP-TO-DATE :easeui:incrementalDebugJavaCompilationSafeguard :easeui:compileDebugJavaWithJavac :easeui:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :app:prepareComAndroidSupportCardviewV72301Library :app:prepareComAndroidSupportDesign2330Library :app:prepareComAndroidSupportRecyclerviewV72330Library :app:prepareComAndroidSupportSupportV42330Library :app:prepareComAndroidSupportSupportVectorDrawable2330Library :app:prepareComFacebookShimmerShimmer010Library :app:prepareComGetkeepsafeRelinkerRelinker121Library :app:prepareComGithubJdAlexanderLikeButton020Library :app:prepareComGithubJkwiecienEasyImage121Library :app:prepareComGithubJorgecastilloprzFabprogresscircle101Library :app:prepareComGithubOrhanobutLogger112Library :app:prepareComGithubOzodrukhCircularReveal131Library :app:prepareComGithubShem8MaterialLogin130Library :app:prepareComJaegerStatusbaruitlLibrary100Library :app:prepareComPnikosisMaterialishProgress10Library :app:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library :app:prepareComTbruyelleRxpermissionsRxpermissions052Library :app:prepareComYalantisUcrop150Library :app:prepareIoReactivexRxandroid110Library :app:prepareIoRealmRealmAndroidLibrary0891Library :app:prepareJpWasabeefBlurry200Library 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:app:prepareJpWasabeefGlideTransformations200Library :app:prepareJpWasabeefRecyclerviewAnimators223Library :app:prepareDebugDependencies :app:compileDebugAidl :easeui:extractDebugAnnotations :app:compileDebugRenderscript :app:mergeDebugAssets :app:generateDebugResources :app:mergeDebugResources :easeui:mergeDebugProguardFiles UP-TO-DATE :easeui:packageDebugRenderscript UP-TO-DATE :easeui:packageDebugResources :easeui:processDebugJavaRes UP-TO-DATE :easeui:transformResourcesWithMergeJavaResForDebug :easeui:transformClassesAndResourcesWithSyncLibJarsForDebug ImmutableJarInput{name=main, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/transforms/mergeJavaRes/debug/jars/2/3/main.jar, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, status=NOTCHANGED} ImmutableDirectoryInput{name=09549da09a0068b433ea0635daa27d8f023b1110, file=/Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/easeui/build/intermediates/classes/debug, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :app:processDebugManifest /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/AndroidManifest.xml:26:5-81 Warning: Element uses-permission#android.permission.RECEIVE_BOOT_COMPLETED at AndroidManifest.xml:26:5-81 duplicated with element declared at AndroidManifest.xml:15:5-81 :easeui:mergeDebugJniLibFolders :app:processDebugResources :easeui:transformNative_libsWithMergeJniLibsForDebug :easeui:transformNative_libsWithSyncJniLibsForDebug :app:generateDebugSources :app:prepareComSquareupLeakcanaryLeakcanaryAndroidNoOp14Beta2Library :easeui:bundleDebug :app:prepareDebugUnitTestDependencies :app:compileDebugJavaWithJavac :easeui:compileDebugSources :easeui:assembleDebug :easeui:processDebugAndroidTestManifest :easeui:compileDebugAndroidTestRenderscript :easeui:generateDebugAndroidTestBuildConfig :easeui:mergeDebugAndroidTestShaders :easeui:compileDebugAndroidTestShaders :easeui:generateDebugAndroidTestAssets :easeui:mergeDebugAndroidTestAssets :easeui:generateDebugAndroidTestResValues UP-TO-DATE :easeui:generateDebugAndroidTestResources :easeui:mergeDebugAndroidTestResources :easeui:processDebugAndroidTestResources /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:16: 错误: RatioImageView在com.ozj.baby.widget中不是公共的; 无法从外部程序包中对其进行访问 import com.ozj.baby.widget.RatioImageView; ^ /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: 找不到符号 RatioImageView ivGallery; ^ 符号: 类 RatioImageView 位置: 类 GalleryAdapter.ViewHolder /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/BabyApplication.java:13: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerApplicationComponet; ^ 符号: 类 DaggerApplicationComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseActivity.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerActivityComponet; ^ 符号: 类 DaggerActivityComponet 位置: 程序包 com.ozj.baby.di.component /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/base/BaseFragment.java:12: 错误: 找不到符号 import com.ozj.baby.di.component.DaggerFragmentComponet; ^ 符号: 类 DaggerFragmentComponet 位置: 程序包 com.ozj.baby.di.component 注: Processing class News 注: Creating DefaultRealmModule /Users/cimi/Desktop/Projects/GameloeAnthony/Perfect_IM_SNS-master/Baby-master/app/src/main/java/com/ozj/baby/adapter/GalleryAdapter.java:65: 错误: @Bind fields must extend from View or be an interface. (com.ozj.baby.adapter.GalleryAdapter.ViewHolder.ivGallery) RatioImageView ivGallery; ^
:easeui:generateDebugAndroidTestSources :easeui:mockableAndroidJar :easeui:prepareDebugUnitTestDependencies :easeui:incrementalDebugAndroidTestJavaCompilationSafeguard :easeui:compileDebugAndroidTestJavaWithJavac :easeui:compileDebugAndroidTestJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
6 个错误
:app:compileDebugJavaWithJavac 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.
BUILD FAILED
Total time: 1 mins 5.3 secs
@dikevin0512 你试试下载最新的看看? RatioImageview是公有的 不是私有的,你是不是自己修改了sm
@dikevin0512 在我Github里下载
你好,我是在你的github里面下载的,直接down的master.zip
可以直接发那个类给我吗?
@dikevin0512 看来你还没明白我的意思,这个是编译时生成的,你无法生成证明是有错误的,就算我把类文件给你,你错误还是存在阿,还有Bulid不成功最好,看Gradle Console和Event Log输出什么
OK,我在研究下。
@dikevin0512 今天也遇到这种情况我把Realm去掉了就好了
@dikevin0512 很奇怪Realm只要有新版本不更新就会出错
@rogerou 我的可以了,classpath "io.realm:realm-gradle-plugin:0.91.0" 更新了realm也没问题。我也没改什么。就是项目关闭了,重新打开,改了这些 package : "com.ozj.baby", buildToolsVersion: "23.0.3", compileVersion : 23, minSdk : 19, targetSdk : 23, version_code : 20160511, version_name : "1.2",
@dikevin0512 :)好
@rogerou 看了你的项目发现,真的是要不断学习新技术。我做了快两年开发了。一直都用一些刚开始做开发时候的框架什么的,看了你的项目发现好多东西我都不知道。。。依赖注入,MVP,Realm,RxJava,RxAndroid,LeanCloud,Butterknife、Ucrop等等。。。都怀疑自己适不适合做开发了。。。
@dikevin0512 学无止境嘛,慢慢来,有心不怕迟
不会生成这个类。。。求指点。