Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default run android behaviour #1406

Merged
merged 3 commits into from Feb 20, 2024
Merged

Conversation

Marius456
Copy link
Contributor

@Marius456 Marius456 commented Feb 17, 2024

Description

  • Give user target list when there is no default target and if there is more than one target to select.

Related issues

Npm releases

n/a

@Marius456 Marius456 changed the base branch from main to release/1.0 February 17, 2024 10:42
@Marius456 Marius456 self-assigned this Feb 17, 2024
@Marius456 Marius456 marked this pull request as draft February 17, 2024 10:46
@Marius456 Marius456 marked this pull request as ready for review February 17, 2024 11:22
@pavjacko pavjacko added this to the 1.0 milestone Feb 18, 2024
@pauliusguzas pauliusguzas self-requested a review February 20, 2024 10:47
Copy link
Collaborator

@pauliusguzas pauliusguzas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to decide if this is a bug, but when user has one simulator install in android studio and that single simulator is open, then rnv just picks it up without asking to chooose, in my opninion for uniformity we should ask always

pauliusguzas@MBP-de-Flexn template-starter % npx rnv run -p android -r

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.11                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p android -r                                           │
│        Start Time: 2/20/2024, 12:45:17 PM                                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn path: /Users/pauliusguzas/Desktop/renative/renative/packages/engine-rn
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ hook ] [run] buildHooks Build hooks not complied. BUILDING...
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:template
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:template
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.53 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.53 KB
[ task ] [app configure] generateBuildConfig[3] size:195.53 KB
[ task ] [app configure] generateBuildConfig[4] size:195.53 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:209.07 KB
[ task ] [app configure] generateBuildConfig[6] size:209.07 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:209.07 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:209.07 KB
[ info ] [app configure] Current App Config: template
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.11,rnvProject:1.0.0-rc.11[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:template
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ info ] [project configure] Plugin overrides disabled for: react-native-gesture-handler with disablePluginTemplateOverrides. SKIPPING
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkAndConfigureAndroidSdks[1] (/Users/pauliusguzas/Library/Android/sdk)
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] checkAndroidSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] checkAndConfigureAndroidSdks[2] (/Users/pauliusguzas/Library/Android/sdk)
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ info ] [platform configure] You passed -r argument. "./platformBuilds/template_android" CLEANING...DONE
[ task ] [platform configure] cleanPlatformBuild[1]
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] configureGradleProject[1]
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/pauliusguzas/Desktop/renative/renative/node_modules/@flexn/assets-renative-outline/assets/android. Will be used to generate assets.
[ task ] [configure] configureAndroidProperties[1]
[ task ] [configure] configureProject[1]
[ task ] [configure] parsePlugins[3]
[ task ] [configure] parseFonts[2]
[ task ] [configure] parsePlugins[4]
[ task ] [configure] parseAppBuildGradleSync[1]
[ task ] [configure] parseGradleWrapperSync[1]
[ task ] [configure] copyGradleProjectTemplate[1]
[ task ] [configure] parseAndroidManifestSync[1]
[ task ] [configure] parsePlugins[5]
[ task ] [configure] _checkSigningCerts[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_android)
[ task ] [configure] parsePlugins[6]
[ task ] [configure] jetifyIfRequired[1]
[ task ] [configure] parseFonts[3]
[ task ] [configure] parsePlugins[7]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] getAndroidDeviceToRunOn[1] default:undefined
[ task ] [run] getAndroidTargets[1] skipDevices:false skipAvds:false deviceOnly:false
✔ Executing: /Users/pauliusguzas/Library/Android/sdk/platform-tools/adb devices -l
✔ Executing: /Users/pauliusguzas/Library/Android/sdk/emulator/emulator -list-avds
✔ Waiting for emulator to boot...
✔ Executing: /Users/pauliusguzas/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell wm size
✔ Executing: /Users/pauliusguzas/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell wm density
✔ Executing: /Users/pauliusguzas/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[ task ] [run] composeDevicesString[1] numDevices:1
[ task ] [run] composeDevicesString[2] numDevices:0
[ info ] [run] Found only one active target: Pixel_4_API_29. Will use it.
[ task ] [run] startBundlerIfRequired[1]
[ task ] [run] isBundlerActive[1] (http://0.0.0.0:8083)
[ warn ] [run] Another android server at port 8083 already running
? selectedOption: Restart the server (recommended)
[ task ] => [run] => [start]
[ hook ] [start] executePipe ('start:before')
[ task ] [start] taskRnvStart[1] parent:run port:8083 hosted:false
[ task ] [start] startReactNative[1]
[ info ] [start] You passed -r argument. --reset-cache will be applied to react-native

Dev server running at: http://0.0.0.0:8083/index.bundle?platform=android

[ hook ] [start] executePipe ('start:after')
[ task ] <= [run] <= start
⠋ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[1]
[ task ] [run] _isBundlerRunning[2] (NO)
⠸ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[3]
[ task ] [run] _isBundlerRunning[4] (NO)
⠴ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[5]
[ task ] [run] _isBundlerRunning[6] (NO)
⠧ Waiting for bundler to finish...warn =================================================================================================
warn From React Native 0.73, your project's Metro config should extend '@react-native/metro-config'
warn or it will fail to build. Please copy the template at:
warn https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js
warn This warning will be removed in future (https://github.com/facebook/metro/issues/1018).
warn =================================================================================================
⠇ Waiting for bundler to finish...info Welcome to React Native v0.73
info Starting dev server on port 8083...

                        ▒▒▓▓▓▓▒▒
                     ▒▓▓▓▒▒░░▒▒▓▓▓▒
                  ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
                 ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
                 ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
                 ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
                 ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
                  ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                     ▒▓▓▓▒░░░░▒▓▓▓▒
                        ▒▒▓▓▓▓▒▒


warning: the transform cache was reset.
                Welcome to Metro v0.80.5
              Fast - Scalable - Integrated


warning: Watchman `watch-project` returned a warning: Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

⠇ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[7]
[ task ] [run] _isBundlerRunning[8] (YES)
✔ Waiting for bundler to finish...
[ task ] [run] runAndroid[1] target:emulator-5554
[ task ] [run] _runGradleApp[1]
warning: Watchman `query` returned a warning: Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

info Building the app...
<-------------> 0% INITIALIZING [1s]
> Evaluating settings
Recrawled this watch 11 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:

> Task :react-native-gesture-handler:processDebugManifest
package="com.swmansion.gesturehandler" found in source AndroidManifest.xml: /Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.swmansion.gesturehandler" from the source AndroidManifest.xml: /Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/AndroidManifest.xml.

> Task :app:processDebugMainManifest
package="renative.helloworld.debug" found in source AndroidManifest.xml: /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_android/app/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="renative.helloworld.debug" from the source AndroidManifest.xml: /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_android/app/src/main/AndroidManifest.xml.

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libcrypto.so, libevent-2.1.so, libevent_core-2.1.so, libevent_extra-2.1.so, libfabricjni.so, libfb.so, libfbjni.so, libflipper.so, libfolly_runtime.so, libglog.so, libglog_init.so, libhermes.so, libhermes_executor.so, libhermesinstancejni.so, libimagepipeline.so, libjscinstance.so, libjserrorhandler.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_newarchdefaults.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_element.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, librninstance.so, librrc_image.so, librrc_legacyviewmanagerinterop.so, librrc_native.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libssl.so, libturbomodulejsijni.so, libuimanagerjni.so, libyoga.so.

> Task :react-native-gesture-handler:compileDebugKotlin
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/noreanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt:7:31 Parameter 'event' is never used
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/noreanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt:7:41 Parameter 'reactApplicationContext' is never used
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt:770:11 Name shadowed: size
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt:23:46 'ReactModule' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt:35:2 'ReactModule' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt:9:51 Unreachable code
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt:10:80 Unreachable code
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt:14:46 'ReactModule' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt:80:18 'onChildStartedNativeGesture(MotionEvent!): Unit' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt:86:42 Parameter 'disallowIntercept' is never used
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt:118:28 Parameter 'viewTag' is never used
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt:3:46 'ReactModule' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt:15:2 'ReactModule' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt:7:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt:14:11 'init(Int): Unit' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt:30:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///Users/pauliusguzas/Desktop/renative/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt:31:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java

> Task :app:installDebug
Installing APK 'app-debug.apk' on 'Pixel_4_API_29(AVD) - 10' for :app:debug
Installed on 1 device.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 31s
63 actionable tasks: 58 executed, 5 up-to-date
info Connecting to the development server...
8083
info Installing the app on the device "emulator-5554"...
Performing Streamed Install
Success
info Starting the app on "emulator-5554"...
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=renative.helloworld.debug/.SplashActivity }
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  BUNDLER STARTED | 2/20/2024, 12:46:28 PM                                │
│  $ npx rnv run -p android -r                                                 │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.11                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.11                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): android                                                      │
│  Engine ($.platforms.android.engine): engine-rn                              │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): Pixel_4_API_29                                                 │
│  Reset Project (-r): true                                                    │
│  Supported Platforms: android                                                │
│  Env Info: darwin | x64 | node v18.17.0                                      │
│  Executed Time: 0h:1m:10s:841ms                                              │
│                                                                              │
│ [ warn ] [run] Another android server at port 8083 already running
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_android                                           │
└──────────────────────────────────────────────────────────────────────────────┘
 BUNDLE  ./index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (303/365)

@pavjacko
Copy link
Member

@pauliusguzas for now we consider this correct behavior.

@pavjacko pavjacko merged commit b985e4c into release/1.0 Feb 20, 2024
3 checks passed
@pavjacko pavjacko deleted the fix/default_run_android_behaviour branch February 20, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants