i facing 1 problem related :app:compiledebugjavawithjavac message during application build. tried many solutions failed.
error log:
information:gradle tasks [:app:assembledebug] :app:prebuild up-to-date :app:predebugbuild up-to-date :app:checkdebugmanifest :app:prereleasebuild up-to-date :app:preparecomandroidsupportappcompatv72311library up-to-date :app:preparecomandroidsupportcardviewv72340library up-to-date :app:preparecomandroidsupportcustomtabs2340library up-to-date :app:preparecomandroidsupportdesign2311library up-to-date :app:preparecomandroidsupportrecyclerviewv72311library up-to-date :app:preparecomandroidsupportsupportv42340library up-to-date :app:preparecomfacebookandroidfacebookandroidsdk4140library up-to-date :app:preparecomjpardogomaterialtabstriplibrary110library up-to-date :app:preparedehdodenhofcircleimageview121library up-to-date :app:preparedebugdependencies :app:compiledebugaidl up-to-date :app:compiledebugrenderscript up-to-date :app:generatedebugbuildconfig up-to-date :app:generatedebugassets up-to-date :app:mergedebugassets up-to-date :app:generatedebugresvalues up-to-date :app:generatedebugresources up-to-date :app:mergedebugresources up-to-date :app:processdebugmanifest up-to-date :app:processdebugresources up-to-date :app:generatedebugsources up-to-date :app:processdebugjavares up-to-date :app:compiledebugjavawithjavac ..........\test.java error:(178, 75) error: incomparable types: object , int error:(180, 81) error: incomparable types: object , int note: input files use or override deprecated api. note: recompile -xlint:deprecation details. note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details. error:execution failed task ':app:compiledebugjavawithjavac'.
compilation failed; see compiler error output details. information:build failed information:total time: 14.073 secs information:3 errors information:0 warnings information:see complete output in console
build.gradle:
apply plugin: 'com.android.application'
android { compilesdkversion 23 buildtoolsversion "23.0.2"
defaultconfig { applicationid "com.test" minsdkversion 15 targetsdkversion 23 versioncode 2 versionname "1.1" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } }
}
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) testcompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.android.support:cardview-v7:23.1.1' }
jdk location: c:\program files\java\jdk1.8.0_101
Comments
Post a Comment