Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tinwritescode/75f62627d0c5cf9d57e46e8b381daa96 to your computer and use it in GitHub Desktop.
Save tinwritescode/75f62627d0c5cf9d57e46e8b381daa96 to your computer and use it in GitHub Desktop.
Lỗi lottie
> Task :lottie-react-native:androidJavadocs FAILED
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:8: error: package androidx.core.view does not exist
import androidx.core.view.ViewCompat;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:13: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.LottieAnimationView;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:14: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.RenderMode;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:15: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.Arguments;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:16: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReactContext;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:17: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableArray;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:18: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.WritableMap;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:19: error: package com.facebook.react.common does not exist
import com.facebook.react.common.MapBuilder;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:20: error: package com.facebook.react.uimanager does not exist
import com.facebook.react.uimanager.SimpleViewManager;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:21: error: package com.facebook.react.uimanager does not exist
import com.facebook.react.uimanager.ThemedReactContext;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:22: error: package com.facebook.react.uimanager.annotations does not exist
import com.facebook.react.uimanager.annotations.ReactProp;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:23: error: package com.facebook.react.uimanager.events does not exist
import com.facebook.react.uimanager.events.RCTEventEmitter;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:28: error: cannot find symbol
class LottieAnimationViewManager extends SimpleViewManager<LottieAnimationView> {
^
symbol: class SimpleViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:28: error: cannot find symbol
class LottieAnimationViewManager extends SimpleViewManager<LottieAnimationView> {
^
symbol: class LottieAnimationView
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:38: error: cannot find symbol
private Map<LottieAnimationView, LottieAnimationViewPropertyManager> propManagersMap = new WeakHashMap<>();
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:6: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.LottieAnimationView;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:7: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.LottieDrawable;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:8: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.LottieProperty;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:9: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.RenderMode;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:10: error: package com.airbnb.lottie does not exist
import com.airbnb.lottie.SimpleColorFilter;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:11: error: package com.airbnb.lottie.model does not exist
import com.airbnb.lottie.model.KeyPath;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:12: error: package com.airbnb.lottie.value does not exist
import com.airbnb.lottie.value.LottieValueCallback;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:13: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableArray;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:14: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableMap;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:15: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableType;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:16: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ColorPropConverter;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:50: error: cannot find symbol
@Override public LottieAnimationView createViewInstance(ThemedReactContext context) {
^
symbol: class ThemedReactContext
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:50: error: cannot find symbol
@Override public LottieAnimationView createViewInstance(ThemedReactContext context) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:73: error: cannot find symbol
private void sendOnAnimationFinishEvent(final LottieAnimationView view, boolean isCancelled) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:113: error: cannot find symbol
public void receiveCommand(final LottieAnimationView view, int commandId, final ReadableArray args) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:113: error: cannot find symbol
public void receiveCommand(final LottieAnimationView view, int commandId, final ReadableArray args) {
^
symbol: class ReadableArray
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:193: error: cannot find symbol
public void setSourceName(LottieAnimationView view, String name) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:206: error: cannot find symbol
public void setSourceJson(LottieAnimationView view, String json) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:211: error: cannot find symbol
public void setCacheComposition(LottieAnimationView view, boolean cacheComposition) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:216: error: cannot find symbol
public void setResizeMode(LottieAnimationView view, String resizeMode) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:229: error: cannot find symbol
public void setRenderMode(LottieAnimationView view, String renderMode) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:242: error: cannot find symbol
public void setProgress(LottieAnimationView view, float progress) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:247: error: cannot find symbol
public void setSpeed(LottieAnimationView view, double speed) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:252: error: cannot find symbol
public void setLoop(LottieAnimationView view, boolean loop) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:257: error: cannot find symbol
public void setImageAssetsFolder(LottieAnimationView view, String imageAssetsFolder) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:262: error: cannot find symbol
public void setEnableMergePaths(LottieAnimationView view, boolean enableMergePaths) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:267: error: cannot find symbol
public void setColorFilters(LottieAnimationView view, ReadableArray colorFilters) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:267: error: cannot find symbol
public void setColorFilters(LottieAnimationView view, ReadableArray colorFilters) {
^
symbol: class ReadableArray
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:272: error: cannot find symbol
protected void onAfterUpdateTransaction(LottieAnimationView view) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:277: error: cannot find symbol
private LottieAnimationViewPropertyManager getOrCreatePropertyManager(LottieAnimationView view) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:29: error: cannot find symbol
private final WeakReference<LottieAnimationView> viewWeakReference;
^
symbol: class LottieAnimationView
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:46: error: cannot find symbol
private ReadableArray colorFilters;
^
symbol: class ReadableArray
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:47: error: cannot find symbol
private RenderMode renderMode;
^
symbol: class RenderMode
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:49: error: cannot find symbol
public LottieAnimationViewPropertyManager(LottieAnimationView view) {
^
symbol: class LottieAnimationView
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:78: error: cannot find symbol
public void setRenderMode(RenderMode renderMode) {
^
symbol: class RenderMode
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewPropertyManager.java:90: error: cannot find symbol
public void setColorFilters(ReadableArray colorFilters) {
^
symbol: class ReadableArray
location: class LottieAnimationViewPropertyManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:3: error: package com.facebook.react does not exist
import com.facebook.react.ReactPackage;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:4: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.JavaScriptModule;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:5: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.NativeModule;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:6: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReactApplicationContext;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:7: error: package com.facebook.react.uimanager does not exist
import com.facebook.react.uimanager.ViewManager;
^
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:13: error: cannot find symbol
public class LottiePackage implements ReactPackage {
^
symbol: class ReactPackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:14: error: cannot find symbol
@Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
^
symbol: class ReactApplicationContext
location: class LottiePackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:14: error: cannot find symbol
@Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
^
symbol: class NativeModule
location: class LottiePackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:19: error: cannot find symbol
public List<Class<? extends JavaScriptModule>> createJSModules() {
^
symbol: class JavaScriptModule
location: class LottiePackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:24: error: cannot find symbol
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
^
symbol: class ReactApplicationContext
location: class LottiePackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottiePackage.java:24: error: cannot find symbol
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
^
symbol: class ViewManager
location: class LottiePackage
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:192: error: cannot find symbol
@ReactProp(name = "sourceName")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:205: error: cannot find symbol
@ReactProp(name = "sourceJson")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:210: error: cannot find symbol
@ReactProp(name = "cacheComposition")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:215: error: cannot find symbol
@ReactProp(name = "resizeMode")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:228: error: cannot find symbol
@ReactProp(name = "renderMode")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:241: error: cannot find symbol
@ReactProp(name = "progress")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:246: error: cannot find symbol
@ReactProp(name = "speed")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:251: error: cannot find symbol
@ReactProp(name = "loop")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:256: error: cannot find symbol
@ReactProp(name = "imageAssetsFolder")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:261: error: cannot find symbol
@ReactProp(name = "enableMergePathsAndroidForKitKatAndAbove")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java:266: error: cannot find symbol
@ReactProp(name = "colorFilters")
^
symbol: class ReactProp
location: class LottieAnimationViewManager
73 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lottie-react-native:androidJavadocs'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/trungtin/Coding/plats-mobile/node_modules/lottie-react-native/src/android/build/tmp/androidJavadocs/javadoc.options'
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4m 4s
2161 actionable tasks: 51 executed, 2110 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment