wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

Compile error after upgrading from 7.38.3 to 7.38.6 #7868

Closed ejain closed 7 months ago

ejain commented 7 months ago

What happened?

> Task :react-native-navigation:compileReactNative68ReleaseJavaWithJavac FAILED
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java:16: error: cannot access OverlayManager
import com.reactnativenavigation.viewcontrollers.overlay.OverlayManager;
                                                        ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/overlay/OverlayManager.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/navigator/Navigator.java:30: error: cannot access RootOverlay
import com.reactnativenavigation.viewcontrollers.viewcontroller.overlay.RootOverlay;
                                                                       ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/viewcontroller/overlay/RootOverlay.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/child/ChildController.java:12: error: cannot access LogKt
import com.reactnativenavigation.utils.LogKt;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/LogKt.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/child/ChildController.java:15: error: cannot access NoOpYellowBoxDelegate
import com.reactnativenavigation.viewcontrollers.viewcontroller.NoOpYellowBoxDelegate;
                                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/viewcontroller/NoOpYellowBoxDelegate.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/child/ChildController.java:18: error: cannot access ViewControllerOverlay
import com.reactnativenavigation.viewcontrollers.viewcontroller.overlay.ViewControllerOverlay;
                                                                       ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/viewcontroller/overlay/ViewControllerOverlay.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/modal/ModalStack.java:13: error: cannot access ModalOverlay
import com.reactnativenavigation.viewcontrollers.viewcontroller.overlay.ModalOverlay;
                                                                       ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/viewcontroller/overlay/ModalOverlay.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/navigator/Navigator.java:39: error: cannot find symbol
    private final OverlayManager overlayManager;
                  ^
  symbol:   class OverlayManager
  location: class Navigator
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/RootPresenter.java:4: error: cannot access RootAnimator
import com.reactnativenavigation.hierarchy.root.RootAnimator;
                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/hierarchy/root/RootAnimator.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/RootPresenter.java:5: error: cannot access AnimationOptions
import com.reactnativenavigation.options.AnimationOptions;
                                        ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/AnimationOptions.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/Options.java:6: error: cannot access LayoutOptions
import com.reactnativenavigation.options.layout.LayoutOptions;
                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/layout/LayoutOptions.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/Options.java:9: error: cannot access TypefaceLoader
import com.reactnativenavigation.options.parsers.TypefaceLoader;
                                                ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/parsers/TypefaceLoader.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/navigator/Navigator.java:77: error: cannot find symbol
    public Navigator(final Activity activity, ChildControllersRegistry childRegistry, ModalStack modalStack, OverlayManager overlayManager, RootPresenter rootPresenter) {
                                                                                                             ^
  symbol:   class OverlayManager
  location: class Navigator
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java:11: error: cannot access StackAnimationOptions
import com.reactnativenavigation.options.StackAnimationOptions;
                                        ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/StackAnimationOptions.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java:18: error: cannot access TopBarController
import com.reactnativenavigation.viewcontrollers.stack.topbar.TopBarController;
                                                             ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/stack/topbar/TopBarController.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java:50: error: cannot access StackAnimator
    private final StackAnimator animator;
                  ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/stack/StackAnimator.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java:52: error: cannot find symbol
    private final TopBarController topBarController;
                  ^
  symbol:   class TopBarController
  location: class StackController
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:26: error: cannot access ThemeColour
import com.reactnativenavigation.options.params.ThemeColour;
                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/params/ThemeColour.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:31: error: cannot access SystemUiUtils
import com.reactnativenavigation.utils.SystemUiUtils;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/SystemUiUtils.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:36: error: cannot access ButtonController
import com.reactnativenavigation.viewcontrollers.stack.topbar.button.ButtonController;
                                                                    ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/stack/topbar/button/ButtonController.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:37: error: cannot access ButtonPresenter
import com.reactnativenavigation.viewcontrollers.stack.topbar.button.ButtonPresenter;
                                                                    ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/stack/topbar/button/ButtonPresenter.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/FabPresenter.java:14: error: cannot access ViewExtensionsKt
import com.reactnativenavigation.utils.ViewExtensionsKt;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/ViewExtensionsKt.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java:57: error: cannot find symbol
    public StackController(Activity activity, List<ViewController<?>> children, ChildControllersRegistry childRegistry, EventEmitter eventEmitter, TopBarController topBarController, StackAnimator animator, String id, Options initialOptions, BackButtonHelper backButtonHelper, StackPresenter stackPresenter, Presenter presenter, FabPresenter fabPresenter) {
                                                                                                                                                   ^
  symbol:   class TopBarController
  location: class StackController
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/StatusBarOptions.java:10: error: cannot access NullThemeColour
import com.reactnativenavigation.options.params.NullThemeColour;
                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/params/NullThemeColour.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/Presenter.java:18: error: cannot access LayoutInsets
import com.reactnativenavigation.options.layout.LayoutInsets;
                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/layout/LayoutInsets.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/ButtonOptions.java:17: error: cannot access FontParser
import com.reactnativenavigation.options.parsers.FontParser;
                                                ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/parsers/FontParser.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/ButtonOptions.java:21: error: cannot access IdFactory
import com.reactnativenavigation.utils.IdFactory;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/IdFactory.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:26: error: cannot access FontOptions
import com.reactnativenavigation.options.FontOptions;
                                        ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/FontOptions.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:34: error: cannot access ContextKt
import com.reactnativenavigation.utils.ContextKt;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/ContextKt.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:36: error: cannot access TopBarCollapseBehavior
import com.reactnativenavigation.viewcontrollers.stack.topbar.TopBarCollapseBehavior;
                                                             ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/stack/topbar/TopBarCollapseBehavior.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:39: error: cannot access ButtonBar
import com.reactnativenavigation.views.stack.topbar.titlebar.ButtonBar;
                                                            ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:40: error: cannot access TitleAndButtonsContainer
import com.reactnativenavigation.views.stack.topbar.titlebar.TitleAndButtonsContainer;
                                                            ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/views/stack/topbar/titlebar/TitleAndButtonsContainer.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:53: error: cannot find symbol
    private final TopBarCollapseBehavior collapsingBehavior;
                  ^
  symbol:   class TopBarCollapseBehavior
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:59: error: cannot find symbol
    private final TitleAndButtonsContainer titleAndButtonsContainer;
                  ^
  symbol:   class TitleAndButtonsContainer
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:161: error: cannot find symbol
    public void setSubtitleTypeface(TypefaceLoader typefaceLoader, FontOptions font) {
                                    ^
  symbol:   class TypefaceLoader
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:161: error: cannot find symbol
    public void setSubtitleTypeface(TypefaceLoader typefaceLoader, FontOptions font) {
                                                                   ^
  symbol:   class FontOptions
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:194: error: cannot find symbol
    public void setTitleTypeface(TypefaceLoader typefaceLoader, FontOptions font) {
                                 ^
  symbol:   class TypefaceLoader
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:194: error: cannot find symbol
    public void setTitleTypeface(TypefaceLoader typefaceLoader, FontOptions font) {
                                                                ^
  symbol:   class FontOptions
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:221: error: cannot find symbol
    public void applyTopTabsColors(ThemeColour selectedTabColor, ThemeColour unselectedTabColor) {
                                   ^
  symbol:   class ThemeColour
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:221: error: cannot find symbol
    public void applyTopTabsColors(ThemeColour selectedTabColor, ThemeColour unselectedTabColor) {
                                                                 ^
  symbol:   class ThemeColour
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:239: error: cannot find symbol
    public void setBackButton(ButtonController backButton) {
                              ^
  symbol:   class ButtonController
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:269: error: cannot find symbol
    public ButtonBar getRightButtonBar() {
           ^
  symbol:   class ButtonBar
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:273: error: cannot find symbol
    public ButtonBar getLeftButtonBar() {
           ^
  symbol:   class ButtonBar
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:325: error: cannot find symbol
    public void removeRightButton(ButtonController button) {
                                  ^
  symbol:   class ButtonController
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:329: error: cannot find symbol
    public void removeLeftButton(ButtonController button) {
                                 ^
  symbol:   class ButtonController
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:346: error: cannot find symbol
    public TitleAndButtonsContainer getTitleAndButtonsContainer() {
           ^
  symbol:   class TitleAndButtonsContainer
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:350: error: cannot find symbol
    public void applyTitleOptions(TitleOptions titleOptions, TypefaceLoader typefaceLoader) {
                                                             ^
  symbol:   class TypefaceLoader
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/TopBar.java:359: error: cannot find symbol
    public void applySubtitleOptions(SubtitleOptions subtitle, TypefaceLoader typefaceLoader) {
                                                               ^
  symbol:   class TypefaceLoader
  location: class TopBar
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/SubtitleOptions.java:19: error: cannot find symbol
    public static SubtitleOptions parse(Context context, TypefaceLoader typefaceManager, JSONObject json) {
                                                         ^
  symbol:   class TypefaceLoader
  location: class SubtitleOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/SubtitleOptions.java:35: error: cannot find symbol
    public ThemeColour color = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class SubtitleOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/TitleOptions.java:23: error: cannot find symbol
    public static TitleOptions parse(Context context, TypefaceLoader typefaceManager, JSONObject json) {
                                                      ^
  symbol:   class TypefaceLoader
  location: class TitleOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/TitleOptions.java:40: error: cannot find symbol
    public ThemeColour color = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class TitleOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/toptabs/TopTabs.java:34: error: cannot find symbol
    public void applyTopTabsColors(ThemeColour selectedTabColor, ThemeColour unselectedTabColor) {
                                   ^
  symbol:   class ThemeColour
  location: class TopTabs
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/toptabs/TopTabs.java:34: error: cannot find symbol
    public void applyTopTabsColors(ThemeColour selectedTabColor, ThemeColour unselectedTabColor) {
                                                                 ^
  symbol:   class ThemeColour
  location: class TopTabs
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/toptabs/TopTabsStyleHelper.java:28: error: cannot find symbol
    void applyTopTabsColors(ThemeColour selected, ThemeColour unselected) {
                            ^
  symbol:   class ThemeColour
  location: class TopTabsStyleHelper
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/toptabs/TopTabsStyleHelper.java:28: error: cannot find symbol
    void applyTopTabsColors(ThemeColour selected, ThemeColour unselected) {
                                                  ^
  symbol:   class ThemeColour
  location: class TopTabsStyleHelper
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/ButtonOptions.java:42: error: cannot find symbol
    public ThemeColour color = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class ButtonOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/ButtonOptions.java:43: error: cannot find symbol
    public ThemeColour disabledColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class ButtonOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/IconBackgroundOptions.java:16: error: cannot find symbol
    public ThemeColour color = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class IconBackgroundOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/IconBackgroundOptions.java:17: error: cannot find symbol
    public ThemeColour disabledColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class IconBackgroundOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/Presenter.java:49: error: cannot find symbol
    private void applyLayoutInsetsOnMostTopParent(ViewController viewController, LayoutInsets layoutInsets) {
                                                                                    ^
  symbol:   class LayoutInsets
  location: class Presenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/Presenter.java:77: error: cannot find symbol
    private void applyLayoutInsets(ViewGroup view, LayoutInsets layoutInsets) {
                                                   ^
  symbol:   class LayoutInsets
  location: class Presenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/NavigationBarOptions.java:24: error: cannot find symbol
    public ThemeColour backgroundColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class NavigationBarOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/StatusBarOptions.java:55: error: cannot find symbol
    public ThemeColour backgroundColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class StatusBarOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/fab/Fab.java:13: error: cannot access ImageLoader
import com.reactnativenavigation.utils.ImageLoader;
                                      ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/utils/ImageLoader.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/FabOptions.java:50: error: cannot find symbol
    public ThemeColour backgroundColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class FabOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/FabOptions.java:51: error: cannot find symbol
    public ThemeColour clickColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class FabOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/FabOptions.java:52: error: cannot find symbol
    public ThemeColour rippleColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class FabOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/options/FabOptions.java:54: error: cannot find symbol
    public ThemeColour iconColor = new NullThemeColour();
           ^
  symbol:   class ThemeColour
  location: class FabOptions
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/fab/Fab.java:33: error: cannot find symbol
    public void applyIcon(String icon, ThemeColour color) {
                                       ^
  symbol:   class ThemeColour
  location: class Fab
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:72: error: cannot find symbol
    private TopBarController topBarController;
            ^
  symbol:   class TopBarController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsController.java:16: error: cannot access HwBackBottomTabsBehaviour
import com.reactnativenavigation.options.HwBackBottomTabsBehaviour;
                                        ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/options/HwBackBottomTabsBehaviour.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsController.java:29: error: cannot access BottomTabsContainer
import com.reactnativenavigation.views.bottomtabs.BottomTabsContainer;
                                                 ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/views/bottomtabs/BottomTabsContainer.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:75: error: package ButtonController does not exist
    private ButtonController.OnClickListener onClickListener;
                            ^
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:81: error: cannot find symbol
    private List<ButtonController> currentRightButtons = new ArrayList<>();
                 ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:82: error: cannot find symbol
    private List<ButtonController> currentLeftButtons = new ArrayList<>();
                 ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/topbar/title/TitleBarReactViewController.java:10: error: cannot access YellowBoxDelegate
import com.reactnativenavigation.viewcontrollers.viewcontroller.YellowBoxDelegate;
                                                               ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/viewcontrollers/viewcontroller/YellowBoxDelegate.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/topbar/title/TitleBarReactViewController.java:12: error: cannot access TitleBarReactView
import com.reactnativenavigation.views.stack.topbar.titlebar.TitleBarReactView;
                                                            ^
  bad class file: /home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/build/tmp/kotlin-classes/reactNative68Release/com/reactnativenavigation/views/stack/topbar/titlebar/TitleBarReactView.class
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/topbar/title/TitleBarReactViewController.java:15: error: cannot find symbol
public class TitleBarReactViewController extends ViewController<TitleBarReactView> {
                                                                ^
  symbol: class TitleBarReactView
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:85: error: cannot find symbol
    private final Map<View, Map<String, ButtonController>> componentRightButtons = new HashMap();
                                        ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:86: error: cannot find symbol
    private final Map<View, Map<String, ButtonController>> componentLeftButtons = new HashMap();
                                        ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:88: error: cannot find symbol
    private final TypefaceLoader typefaceLoader;
                  ^
  symbol:   class TypefaceLoader
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:95: error: cannot find symbol
            TypefaceLoader typefaceLoader,
            ^
  symbol:   class TypefaceLoader
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:112: error: package ButtonController does not exist
    public void setButtonOnClickListener(ButtonController.OnClickListener onClickListener) {
                                                         ^
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:120: error: cannot find symbol
    public void bindView(TopBarController topBarController, @Nullable BottomTabsController bottomTabsController) {
                         ^
  symbol:   class TopBarController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:194: error: cannot find symbol
    private void destroyButtons(@Nullable Map<String, ButtonController> buttons) {
                                                      ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:377: error: cannot find symbol
            @Nullable Map<String, ButtonController> currentButtons, @Nullable List<ButtonOptions> buttons) {
                                  ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:376: error: cannot find symbol
    private List<ButtonController> getOrCreateButtonControllersByInstanceId(
                 ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:386: error: cannot find symbol
    private List<ButtonController> getOrCreateButtonControllers(@Nullable Map<String, ButtonController> currentButtons,
                                                                                      ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:386: error: cannot find symbol
    private List<ButtonController> getOrCreateButtonControllers(@Nullable Map<String, ButtonController> currentButtons,
                 ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:396: error: cannot find symbol
    private ButtonController createButtonController(ButtonOptions button) {
            ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:466: error: cannot find symbol
    private void mergeLeftButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                   ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:466: error: cannot find symbol
    private void mergeLeftButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                                      ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:466: error: cannot find symbol
    private void mergeLeftButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                                                                 ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:485: error: cannot find symbol
    private void mergeRightButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                    ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:485: error: cannot find symbol
    private void mergeRightButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                                       ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:485: error: cannot find symbol
    private void mergeRightButtonsColor(View child, ThemeColour color, ThemeColour disabledColor, ThemeColour backgroundColor) {
                                                                                                  ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:547: error: cannot find symbol
    private List<ButtonOptions> mergeButtonsWithColor(@NonNull List<ButtonOptions> buttons, ThemeColour buttonColor,
                                                                                            ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:548: error: cannot find symbol
            ThemeColour disabledColor) {
            ^
  symbol:   class ThemeColour
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:708: error: cannot find symbol
    public List<ButtonController> getComponentButtons(View child) {
                ^
  symbol:   class ButtonController
  location: class StackPresenter
/home/builder/clone/mobileChat/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackPresenter.java:713: error: cannot find symbol
    public List<ButtonController> getComponentButtons(View child, List<ButtonController> defaultValue) {
                                                                       ^
  symbol:   class ButtonController
  location: class StackPresenter
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':react-native-navigation:compileReactNative68ReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 7.38.6 React Native version: 0.70.15 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: 18 Device model: N/A Android version: 13 (API Level 33)

ejain commented 7 months ago

Fixed in 7.39.1, but maybe add a warning if earlier versions are broken?

gosha212 commented 7 months ago

@ejain Yes, it was broken. That's why we've reverted the support for rn 73 and redid it again.