Error compiling android zxing release not debug -
Error compiling android zxing release not debug -
i don't figure out why error. compiling on computer , release compilation went ok, on computer, :
relying on packaging define extension of main artifact has been deprecated , scheduled removed in gradle 2.0 :app:prebuild :app:prereleasebuild :app:checkreleasemanifest :app:predebugbuild :app:preparecomandroidsupportappcompatv71910library up-to-date :app:preparecomgoogleandroidgmsplayservices4323library up-to-date :app:preparereleasedependencies :app:compilereleaseaidl :app:compilereleaserenderscript :app:generatereleasebuildconfig :app:mergereleaseassets :app:processreleasemanifest :app:crashlyticscleanupresourcesrelease :app:crashlyticsuploadstoreddeobsrelease :app:crashlyticsgenerateresourcesrelease :app:generatereleaseresvalues up-to-date :app:generatereleaseresources :app:mergereleaseresources :app:processreleaseresources :app:generatereleasesources :app:compilereleasejava /users/wimha/wimhaandroidapp/app/src/main/java/com/google/zxing/client/android/camera/autofocusmanager.java:63: error: method executeonexecutor in class asynctask<params,progress,result> cannot applied given types; outstandingtask.executeonexecutor(asynctask.thread_pool_executor); ^ required: executor,cap#1[] found: executor reason: formal varargs element type cap#1 not accessible class autofocusmanager params,progress,result type-variables: params extends object declared in class asynctask progress extends object declared in class asynctask result extends object declared in class asynctask cap#1 fresh type-variable: cap#1 extends object capture of ? /users/wimha/wimhaandroidapp/app/src/main/java/com/google/zxing/client/android/inactivitytimer.java:52: error: method executeonexecutor in class asynctask<params,progress,result> cannot applied given types; inactivitytask.executeonexecutor(asynctask.thread_pool_executor); ^ required: executor,cap#1[] found: executor reason: formal varargs element type cap#1 not accessible class inactivitytimer params,progress,result type-variables: params extends object declared in class asynctask progress extends object declared in class asynctask result extends object declared in class asynctask cap#1 fresh type-variable: cap#1 extends object capture of ? /users/wimha/wimhaandroidapp/app/src/main/java/com/google/zxing/client/android/share/apppickeractivity.java:35: error: method executeonexecutor in class asynctask<params,progress,result> cannot applied given types; backgroundtask.executeonexecutor(asynctask.thread_pool_executor); ^ required: executor,cap#1[] found: executor reason: formal varargs element type cap#1 not accessible class apppickeractivity params,progress,result type-variables: params extends object declared in class asynctask progress extends object declared in class asynctask result extends object declared in class asynctask cap#1 fresh type-variable: cap#1 extends object capture of ? 3 errors :app:compilereleasejava failed failure: build failed exception. * went wrong: execution failed task ':app:compilereleasejava'. > compilation failed; see compiler error output details. * try: run --stacktrace alternative stack trace. run --info or --debug alternative more log output. build failed total time: 1 mins 56.213 secs
any thought ?
you don't need uninstall java 8. open "project structure" (ctrl+alt+shift+s), select "sdk location" , set "jdk location" path, whith jdk 7.
android release zxing
Comments
Post a Comment