Closed ghost closed 4 years ago
then i got such an error.
/Users/furkan/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.0/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;
^
/Users/furkan/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.0/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;
^
/Users/furkan/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.0/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:92: error: cannot find symbol
ObjectMapper objectMapper = new ObjectMapper();
^
symbol: class ObjectMapper
/Users/furkan/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.0/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:92: error: cannot find symbol
ObjectMapper objectMapper = new ObjectMapper();
^
symbol: class ObjectMapper
/Users/furkan/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/epub_kitty-0.1.0/android/src/main/java/com/xiaofwang/epub_kitty/Reader.java:96: error: cannot find symbol
new TypeReference<List
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
BUİLD FAILED in 6s Exception: Gradle task assembleDebug failed with exit code 1
it shows com.fasterxml.jackson.core.type does not exist.
Mybe the plugin not installed correctly in android, try to use android studio to load the epub plugin.
Launching lib/main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugResources'.
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
BUİLD FAILED in 4s The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility. Building plugin epub_kitty... Running Gradle task 'assembleAarRelease'...
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'epub_kitty'.
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
BUİLD FAILED in 0s
Exception: The plugin epub_kitty could not be built due to the issue above.
Plugin working ios device,not working android device. what is the problem?