cesardeazevedo / react-native-bottom-sheet-behavior

react-native wrapper for android BottomSheetBehavior
MIT License
1.16k stars 114 forks source link

Task :react-native-bottom-sheet-behavior:compileDebugJavaWithJavac FAILED #57

Open neerajemorphis opened 5 years ago

neerajemorphis commented 5 years ago

AndroidX seems not supported

Task :react-native-bottom-sheet-behavior:compileDebugJavaWithJavac FAILED /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/ main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:10: error: package android.support.annotation d oes not exist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:11: error: package android.support.design.widget does not exist import android.support.design.widget.AppBarLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:12: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:13: error: package android.support.v4.content does not exist import android.support.v4.content.ContextCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:14: error: package android.support.v4.widget does not exist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:44: error: package AppBarLayout does not exist public class ScrollingAppBarLayoutBehavior extends AppBarLayout.ScrollingViewBehavior { ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:6: error: package android.support.annotation does not exist import android.support.annotation.IntDef; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:7: error: package android.support.annotation does not exist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:8: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:9: error: package android.support.v4.view does not exist import android.support.v4.view.MotionEventCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:10: error: package android.support.v4.view does not exist import android.support.v4.view.NestedScrollingChild; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:11: error: package android.support.v4.view does not exist import android.support.v4.view.ViewCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:12: error: package android.support.v4.widget does not exist import android.support.v4.widget.ViewDragHelper; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:28: error: package CoordinatorLayout does not exist public class RNBottomSheetBehavior extends CoordinatorLayout.Behavior { ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:69: error: cannot find symbol public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:81: error: cannot find symbol public boolean onDependentViewChanged(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:92: error: cannot find symbol public Parcelable onSaveInstanceState(CoordinatorLayout parent, View child) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:97: error: cannot find symbol public void onRestoreInstanceState(CoordinatorLayout parent, View child, Parcelable state) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:103: error: cannot find symbol private boolean init(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:125: error: cannot find symbol public void setAppBarVisible(final AppBarLayout appBarLayout, final boolean visible){ ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutBehavior.java:204: error: cannot find symbol private void getBottomSheetBehavior(@NonNull CoordinatorLayout coordinatorLayout) { ^ symbol: class CoordinatorLayout location: class ScrollingAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:113: error: cannot find symbol private ViewDragHelper mViewDragHelper; ^ symbol: class ViewDragHelper location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:144: error: cannot find symbol public Parcelable onSaveInstanceState( CoordinatorLayout parent, V child ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:149: error: cannot find symbol public void onRestoreInstanceState( CoordinatorLayout parent, V child, Parcelable state ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:163: error: cannot find symbol public boolean onLayoutChild( CoordinatorLayout parent, V child, int layoutDirection ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:201: error: cannot find symbol public boolean onInterceptTouchEvent( CoordinatorLayout parent, V child, MotionEvent event ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:262: error: cannot find symbol public boolean onTouchEvent( CoordinatorLayout parent, V child, MotionEvent event ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:294: error: cannot find symbol public boolean onStartNestedScroll( CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:326: error: cannot find symbol public void onNestedPreScroll( CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:381: error: cannot find symbol public void onStopNestedScroll( CoordinatorLayout coordinatorLayout, V child, View target ) { ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:471: error: cannot find symbol public boolean onNestedPreFling(CoordinatorLayout coordinatorLayout, V child, View target, ^ symbol: class CoordinatorLayout location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:682: error: package ViewDragHelper does not exist private final ViewDragHelper.Callback mDragCallback = new ViewDragHelper.Callback() { ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonView.java:10: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonView.java:11: error: package android.support.design.widget does not exist import android.support.design.widget.FloatingActionButton; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonView.java:19: error: cannot find symbol public class FloatingActionButtonView extends FloatingActionButton { ^ symbol: class FloatingActionButton /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:4: error: package android.support.annotation does not exist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:5: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:6: error: package android.support.v4.widget doesnot exist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:39: error: package CoordinatorLayout does not exist public class BackdropBottomSheetBehavior extends CoordinatorLayout.Behavior { ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:57: error: cannot find symbol public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class BackdropBottomSheetBehavior where V is a type-variable: V extends View declared in class BackdropBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:70: error: cannot find symbol public boolean onDependentViewChanged(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class BackdropBottomSheetBehavior where V is a type-variable: V extends View declared in class BackdropBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetBehavior.java:109: error: cannot find symbol private void getBottomSheetBehavior(@NonNull CoordinatorLayout coordinatorLayout) { ^ symbol: class CoordinatorLayout location: class BackdropBottomSheetBehavior where V is a type-variable: V extends View declared in class BackdropBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorView.java:4: error: package android.support.design.widget doesnot exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorView.java:5: error: package android.support.v4.widget does notexist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorView.java:12: error: cannot find symbol public class BottomSheetBehaviorView extends NestedScrollView { ^ symbol: class NestedScrollView /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BackdropBottomSheetManager.java:3: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/CoordinatorLayoutView.java:4: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/CoordinatorLayoutView.java:7: error: cannot find symbol public class CoordinatorLayoutView extends CoordinatorLayout { ^ symbol: class CoordinatorLayout /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorManager.java:3: error: package android.support.annotation doesnot exist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorManager.java:4: error: package android.support.v4.view does not exist import android.support.v4.view.ViewCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorManager.java:5: error: package android.support.v4.widget does not exist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/BottomSheetBehaviorManager.java:144: error: cannot find symbol private void attachNestedScrollChild(final BottomSheetBehaviorView parent, final NestedScrollView nestedScroll){ ^ symbol: class NestedScrollView location: class BottomSheetBehaviorManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/RNBottomSheetBehavior.java:87: error: cannot find symbol @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_ANCHOR_POINT, STATE_SETTLING, STATE_HIDDEN}) ^ symbol: class IntDef location: class RNBottomSheetBehavior where V is a type-variable: V extends View declared in class RNBottomSheetBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:6: error: package android.support.design.widget does not exist import android.support.design.widget.AppBarLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:7: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:8: error: package android.support.v7.widget does not exist import android.support.v7.widget.Toolbar; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:18: error: cannot find symbol public class MergedAppBarLayoutManager extends ViewGroupManager { ^ symbol: class AppBarLayout /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:11: error: package android.support.annotation does not exist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:12: error: package android.support.design.widget does not exist import android.support.design.widget.AppBarLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:13: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:14: error: package android.support.v4.content does not exist import android.support.v4.content.ContextCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:15: error: package android.support.v4.widget doesnot exist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:16: error: package android.support.v7.widget doesnot exist import android.support.v7.widget.Toolbar; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:52: error: package AppBarLayout does not exist public class MergedAppBarLayoutBehavior extends AppBarLayout.ScrollingViewBehavior { ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:36: error: cannot find symbol public AppBarLayout createViewInstance(ThemedReactContext context) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:51: error: cannot find symbol public void setTranslucent(AppBarLayout view, boolean translucent) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:60: error: cannot find symbol public void setBarStyle(AppBarLayout view, String barStyle) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:65: error: cannot find symbol public void setBarStyleTransparent(AppBarLayout view, String barStyle) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:70: error: cannot find symbol public void setMergedColor(AppBarLayout view, String mergedColor) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:78: error: cannot find symbol public void setToolbarColor(AppBarLayout view, String toolbarColor) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:88: error: cannot find symbol public void setStatusBarColor(AppBarLayout view, String statusBarColor) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:97: error: cannot find symbol public void setHeight(AppBarLayout view, int height) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutManager.java:104: error: cannot find symbol public void addView(AppBarLayout parent, View child, int index) { ^ symbol: class AppBarLayout location: class MergedAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:70: error: cannot find symbol private Toolbar mToolbar; ^ symbol: class Toolbar location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:87: error: cannot find symbol public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:99: error: cannot find symbol public boolean onDependentViewChanged(CoordinatorLayout parent, View child, View dependency) { ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:143: error: cannot find symbol private void init(@NonNull CoordinatorLayout parent, @NonNull View child){ ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:176: error: cannot find symbol private void getBottomSheetBehavior(@NonNull CoordinatorLayout coordinatorLayout) { ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:193: error: cannot find symbol private boolean isDependencyYBelowAnchorPoint(@NonNull CoordinatorLayout parent, @NonNull View dependency){ ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:199: error: cannot find symbol private boolean isDependencyYBetweenAnchorPointAndToolbar(@NonNull CoordinatorLayout parent, @NonNull View child, @NonNull View dependency){ ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:240: error: cannot find symbol private View findTitleTextView(Toolbar toolbar){ ^ symbol: class Toolbar location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:346: error: cannot find symbol public void setToolbar(Toolbar toolbar) { ^ symbol: class Toolbar location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:371: error: cannot find symbol public Parcelable onSaveInstanceState(CoordinatorLayout parent, View child) { ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/MergedAppBarLayoutBehavior.java:376: error: cannot find symbol public void onRestoreInstanceState(CoordinatorLayout parent, View child, Parcelable state) { ^ symbol: class CoordinatorLayout location: class MergedAppBarLayoutBehavior /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:6: error: package android.support.design.widgetdoes not exist import android.support.design.widget.AppBarLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:7: error: package android.support.design.widgetdoes not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:15: error: cannot find symbol public class ScrollingAppBarLayoutManager extends ViewGroupManager { ^ symbol: class AppBarLayout /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:27: error: cannot find symbol public AppBarLayout createViewInstance(ThemedReactContext context) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:40: error: cannot find symbol public void setTranslucent(AppBarLayout view, boolean translucent) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:49: error: cannot find symbol public void setBarStyle(AppBarLayout view, String barStyle) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:54: error: cannot find symbol public void setBarStyleTransparent(AppBarLayout view, String barStyle) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:59: error: cannot find symbol public void setStatusBarColor(AppBarLayout view, String color) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollingAppBarLayoutManager.java:64: error: cannot find symbol public void setHeight(AppBarLayout view, int height) { ^ symbol: class AppBarLayout location: class ScrollingAppBarLayoutManager /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:4: error: package android.support.annotation does notexist import android.support.annotation.NonNull; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:5: error: package android.support.design.widget does not exist import android.support.design.widget.AppBarLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:6: error: package android.support.design.widget does not exist import android.support.design.widget.CoordinatorLayout; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:7: error: package android.support.design.widget does not exist import android.support.design.widget.FloatingActionButton; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:8: error: package android.support.v4.view does not exist import android.support.v4.view.ViewCompat; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ScrollAwareFABBehavior.java:9: error: package android.support.v4.widget does not exist import android.support.v4.widget.NestedScrollView; ^ /home/ubuntu/MyApp/node_modules/react-native-bottom-sheet-behavior/android/src/

Hukutus commented 3 years ago

I know this is already a very old question, but the solution is to run npx jetify before building the app.