gradle:3.6.1 has problems
Opened this issue · 0 comments
Android Studio updated my grade.
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
https://services.gradle.org/distributions/gradle-5.6.4-all.zip
Launching lib/main.dart on Android SDK built for x86 64 in debug mode...
Note: /home/steve/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:6: error: package com.fasterxml.jackson.core.type does not exist
import com.fasterxml.jackson.core.type.TypeReference;
^
/home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:7: error: package com.fasterxml.jackson.databind does not exist
import com.fasterxml.jackson.databind.ObjectMapper;
^
/home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:92: error: cannot find symbol
ObjectMapper objectMapper = new ObjectMapper();
^
symbol: class ObjectMapper
/home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:92: error: cannot find symbol
ObjectMapper objectMapper = new ObjectMapper();
^
symbol: class ObjectMapper
/home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:96: error: cannot find symbol
new TypeReference<List>() {
^
symbol: class TypeReference
Note: /home/steve/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.6/android/src/main/java/com/xiaofwang/epub_kitty/EpubKittyPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':epub_kitty: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. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 19s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)