microsoft / vscode-react-native

VSCode extension for React Native - supports debugging and editor integration
https://marketplace.visualstudio.com/items?itemName=vsmobile.vscode-react-native
Other
2.63k stars 267 forks source link

[Bug] Launch Android Emulator doesn't seem to do anything #1644

Closed gfmoore closed 3 years ago

gfmoore commented 3 years ago

🐛 What is the bug? How can we reproduce it? Brand new project, I open in VSCode (Insiders) win 10 press F1, Launch Android Emulator

Please put here any steps, code or any information that can help us reproduce the error on our side so we can fix it:

  1. Step 1
  2. Step 2

Expected behavior

What were you expecting to happen? An Android emulator opens i.e. Pixel 2 API 28 which is the only one in my AVD mangement list. OR am I misunderstanding what this does?

Debug output

Debug Console ```text PASTE OUTPUT OF DEBUG CONSOLE (View -> Toggle Debug Console) Nothing ```
React Native output channel ```text PASTE OUTPUT OF REACT-NATIVE OUTPUT CHANNEL (View -> Toggle Output -> Select React-Native in ListBox) [Warning] Error: Packager is not running [Info] Starting Packager ... warning: the transform cache was reset. Welcome to Metro! Fast - Scalable - Integrated [Info] Packager started. ```
Developer Tools console ```text PASTE OUTPUT OF DEVELOPER TOOLS CONSOLE (Help -> Toggle Developer Tools -> Select Console tab) ```

Environment

Please tell us about your system and your project: Win 10, 21H1, VS Code insiders. latest everything.

PASTE OUTPUT OF `npx react-native doctor` or `npx expo doctor`

all clear

PASTE OUTPUT OF `npx envinfo`

Just want to say that I appreciate that you peeps seem interested in what is happening here.

Gordon.

RedMickey commented 3 years ago

Hi @gfmoore and thanks for reporting. Launch Android Emulator command allows to select and launch an Android emulator. If only one emulator is installed in the system, it will be selected automatically, otherwise you will be prompted to select the name of the available emulator. After that the extension will try to launch the selected emulator. If the selected Android emulator is already running, the command will just print the message [Info] Launched emulator emulator_name.

Could you please send us some additional logs? To do this, please follow the steps below:

  1. Enable Trace logging by adding a settings.json file to the .vscode folder in your project with the following content:
    {
        "react-native-tools.logLevel": "Trace"
    }
  2. Reload VS Code
  3. Run Launch Android Emulator command
  4. Send us logs from "React Native" output channel
gfmoore commented 3 years ago

Uhmm, sorry it's taken me a while.

{ "react-native-tools.logLevel": "Trace" }

getting a wavy line under the "Trace" keyword
Incorrect type. Expected "enum"

The Launch command did nothing at all.

gfmoore commented 3 years ago

Ahh found the correct formulation.

{
  "react-native-tools": {
    "logLevel": "Trace"
  }
}

Here's the log, well the one that said Log(Window) (I cleared everything first and this was the only one with output).

[2021-08-17 14:18:50.467] [renderer1] [error] Virtual device launch finished with an exception: Error: Error while executing command 'emulator -avd Pixel_5_API_30'.
Details: 
    STDERR: PANIC: Missing emulator engine program for 'x86' CPU.
 (error code 113) (error code 306): Error: Virtual device launch finished with an exception: Error: Error while executing command 'emulator -avd Pixel_5_API_30'.
Details: 
    STDERR: PANIC: Missing emulator engine program for 'x86' CPU.
 (error code 113) (error code 306)
    at Function.getInternalError (c:\Users\Gordon\.vscode-insiders\extensions\msjsdiag.vscode-react-native-1.6.0\dist\rn-extension.js:21:59176)
    at c:\Users\Gordon\.vscode-insiders\extensions\msjsdiag.vscode-react-native-1.6.0\dist\rn-extension.js:53:3776
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
gfmoore commented 3 years ago

Does it know where to look? My sdk is in c:\Android\android-sdk This is in my systemPATH and in ANDROID_HOME and ANDROID_SDK_ROOT

(I note that in the past the folder was located in the users folder structure?)

I can run the emulator by using the following batch file from within the application root folder

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
SET count=0
FOR /F "tokens=* USEBACKQ" %%F IN (`%ANDROID_HOME%\emulator\emulator.exe -list-avds`) DO (
  SET /a count=!count!+1
  SET var!count!=%%F
)
for /l %%i in (1,1,%count%) do echo %%i) !var%%i!
@echo digit number of virtual machine to run or 'q' to quit
set /p choice=""
if "%choice%"=="q" goto end
@echo !var%choice%!
%ANDROID_HOME%\emulator\emulator.exe -avd !var%choice%!
:end
ENDLOCAL

This works fine.

RedMickey commented 3 years ago

@gfmoore The extension uses emulator -avd emulator_name command to run an Android emulator. Could you please try to run emulator -avd your_emulator_name command in the terminal to check whether it works there?

Could you please also send us the value of process.env.PATH from VS Code:

  1. Open VS Code Developer Tools (Click Help -> Toggle Developer Tools)
  2. Open Console tab in it
  3. Run the following command process.env.PATH and copy the output here
gfmoore commented 3 years ago

PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor> emulator -list-avds Pixel_5_API_30 PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor> emulator -avd Pixel_5_API_30 PANIC: Missing emulator engine program for 'x86' CPU. PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor>

However, I read somewhere that C:/Android/android-sdk/emulator/emulator -avd Pixel_5_API_30 works and it does.

PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor> C:/Android/android-sdk/emulator/emulator -avd Pixel_5_API_30 emulator: Android emulator version 30.7.5.0 (build_id 7491168) (CL:N/A) handleCpuAcceleration: feature check for hvf added library vulkan-1.dll Windows Hypervisor Platform accelerator is operational emulator: INFO: GrpcServices.cpp:315: Started GRPC server at 127.0.0.1:8554, security: Local emulator: INFO: EmulatorAdvertisement.cpp:93: Advertising in: C:\Users\Gordon\AppData\Local\Temp\avd\running\pid_5544.ini

gfmoore commented 3 years ago

process.env.PATH no setting found (That is VS Code Settings right?) Edit sorry: let me follow your instructions...

process.env.PATH not exist in dev console?

process.env.PATHEXT ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"

gfmoore commented 3 years ago

Ahhh process.env.path does exist lower case path "C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\Gordon\AppData\Local\Microsoft\WindowsApps;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\STMicroelectronics\st_toolset\asm;C:\openjdk-15_windows-x64_bin\jdk-15\bin;C:\Users\Gordon\AppData\Local\Programs\Python\Python39;C:\Users\Gordon\AppData\Local\Programs\Python\Python39\Scripts;C:\xampp\mysql\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\ProgramData\chocolatey\bin;C:\Program Files\Nordic Semiconductor;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin;C:\tools\Cmder;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Android\android-sdk\emulator;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\SDCC\stm8-gdb;C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp;C:\Program Files\OpenOCD_v0.10.0;C:\Program Files\OpenOCD_v0.10.0\bin;C:\Program Files\OpenOCD_v0.10.0\scripts;c:\Android\android-sdk;C:\Android\android-sdk\emulator;C:\Program Files\PowerShell\7\;C:\Users\Gordon\AppData\Local\jdk-11.0.2\bin;C:\Users\Gordon\Documents\PowerShell\Scripts;C:\Users\Gordon\AppData\Local\Programs\Python\Python39\;C:\Users\Gordon\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Gordon\AppData\Roaming\Python\Python39\Scripts;C:\Users\Gordon\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts;C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin;C:\Users\Gordon\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Users\Gordon\.dotnet\tools;C:\Android\android-sdk\emulator;C:\Android\android-sdk\emulator\qemu\windows-x86_64;C:\Users\Gordon\AppData\Local\Android\Sdk\platform-tools;C:\xampp\php;C:\Users\Gordon\AppData\Roaming\npm;C:\Program Files\SDCC\bin;C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8;C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM32;"  ​

gfmoore commented 3 years ago

Haha noticed quite a lot of duplicate entries there!!! Removing duplicates , refreshenv from PS and will try again.

gfmoore commented 3 years ago

Nada PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor> emulator -avd Pixel_5_API_30 PANIC: Missing emulator engine program for 'x86' CPU. PS C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor>

I didn't think it would make any difference, but it was worth a go.

RedMickey commented 3 years ago

@gfmoore Could you please open Environment Variables -> Path window (in Windows settings) and check if %ANDROID_HOME%\emulator string is set before %ANDROID_HOME%\tools? Screen Shot 2021-08-17 at 17 46 50

If %ANDROID_HOME%\tools goes before %ANDROID_HOME%\emulator, could you please swap them, save Environment Variables settings, restart the terminal and try to run emulator -avd your_emulator_name command again?

gfmoore commented 3 years ago

Okay, so now we are getting somewhere :) Yes the emulator command now works with those switched around.

Restart VSCode, do F1 Launch Android Emuator - now works.

What follows should probably be a separate issue, I'll open it, but now have problems with Run Android on Emulator.

It looks like it has done soe kind of complete build of system.

Anyhow thanks for your help in this part of the issue - something to add to the Wiki probably?

I still can't figure out why it would make a difference?

(To be added to new issue, here just for reference:)

I then started from scratch and ran the F1 React Native: Run Android on Emulator This starts the emulator, after a very long time Metro started and after a longer time it eventually ran my app, but failed

So the output from React Native (Now shows up)

[Info] Using Android SDK location defined in android/local.properties file: C:\Android\android-sdk.

[Info] Starting React Native Packager.

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 1084 file(s) to forward-jetify. Using 8 workers... info Building the app... Starting a Gradle Daemon, 5 incompatible and 1 stopped Daemons could not be reused, use --status for details

Task :app:generatePackageList Task :app:preBuild Task :app:preDebugBuild Task :react-native-gesture-handler:preBuild UP-TO-DATE Task :react-native-gesture-handler:preDebugBuild UP-TO-DATE Task :react-native-gesture-handler:compileDebugAidl NO-SOURCE Task :react-native-pager-view:preBuild UP-TO-DATE Task :react-native-pager-view:preDebugBuild UP-TO-DATE Task :react-native-pager-view:compileDebugAidl NO-SOURCE Task :react-native-safe-area-context:preBuild UP-TO-DATE Task :react-native-safe-area-context:preDebugBuild UP-TO-DATE Task :react-native-safe-area-context:compileDebugAidl NO-SOURCE Task :react-native-screens:preBuild UP-TO-DATE Task :react-native-screens:preDebugBuild UP-TO-DATE Task :react-native-screens:compileDebugAidl NO-SOURCE Task :react-native-vector-icons:preBuild UP-TO-DATE Task :react-native-vector-icons:preDebugBuild UP-TO-DATE Task :react-native-vector-icons:compileDebugAidl NO-SOURCE Task :app:compileDebugAidl NO-SOURCE Task :react-native-gesture-handler:packageDebugRenderscript NO-SOURCE Task :react-native-pager-view:packageDebugRenderscript NO-SOURCE Task :react-native-safe-area-context:packageDebugRenderscript NO-SOURCE Task :react-native-screens:packageDebugRenderscript NO-SOURCE Task :react-native-vector-icons:packageDebugRenderscript NO-SOURCE Task :app:compileDebugRenderscript NO-SOURCE Task :app:generateDebugBuildConfig UP-TO-DATE Task :app:javaPreCompileDebug UP-TO-DATE Task :react-native-gesture-handler:writeDebugAarMetadata UP-TO-DATE Task :react-native-pager-view:writeDebugAarMetadata UP-TO-DATE Task :react-native-safe-area-context:writeDebugAarMetadata UP-TO-DATE Task :react-native-screens:writeDebugAarMetadata UP-TO-DATE Task :react-native-vector-icons:writeDebugAarMetadata UP-TO-DATE Task :app:checkDebugAarMetadata UP-TO-DATE Task :app:bundleDebugJsAndAssets SKIPPED Task :app:mergeDebugShaders UP-TO-DATE Task :app:compileDebugShaders NO-SOURCE Task :app:generateDebugAssets UP-TO-DATE Task :react-native-gesture-handler:mergeDebugShaders UP-TO-DATE Task :react-native-gesture-handler:compileDebugShaders NO-SOURCE Task :react-native-gesture-handler:generateDebugAssets UP-TO-DATE Task :react-native-gesture-handler:packageDebugAssets UP-TO-DATE Task :react-native-pager-view:mergeDebugShaders UP-TO-DATE Task :react-native-pager-view:compileDebugShaders NO-SOURCE Task :react-native-pager-view:generateDebugAssets UP-TO-DATE Task :react-native-pager-view:packageDebugAssets UP-TO-DATE Task :react-native-safe-area-context:mergeDebugShaders UP-TO-DATE Task :react-native-safe-area-context:compileDebugShaders NO-SOURCE Task :react-native-safe-area-context:generateDebugAssets UP-TO-DATE Task :react-native-safe-area-context:packageDebugAssets UP-TO-DATE Task :react-native-screens:mergeDebugShaders UP-TO-DATE Task :react-native-screens:compileDebugShaders NO-SOURCE Task :react-native-screens:generateDebugAssets UP-TO-DATE Task :react-native-screens:packageDebugAssets UP-TO-DATE Task :react-native-vector-icons:mergeDebugShaders UP-TO-DATE Task :react-native-vector-icons:compileDebugShaders NO-SOURCE Task :react-native-vector-icons:generateDebugAssets UP-TO-DATE Task :react-native-vector-icons:packageDebugAssets UP-TO-DATE Task :app:mergeDebugAssets UP-TO-DATE Task :app:copyDebugBundledJs SKIPPED Task :app:copyDebugReactNativeVectorIconFonts UP-TO-DATE Task :app:generateDebugResValues UP-TO-DATE Task :app:generateDebugResources UP-TO-DATE Task :react-native-gesture-handler:compileDebugRenderscript NO-SOURCE Task :react-native-gesture-handler:generateDebugResValues UP-TO-DATE Task :react-native-gesture-handler:generateDebugResources UP-TO-DATE Task :react-native-gesture-handler:packageDebugResources UP-TO-DATE Task :react-native-pager-view:compileDebugRenderscript NO-SOURCE Task :react-native-pager-view:generateDebugResValues UP-TO-DATE Task :react-native-pager-view:generateDebugResources UP-TO-DATE Task :react-native-pager-view:packageDebugResources UP-TO-DATE Task :react-native-safe-area-context:compileDebugRenderscript NO-SOURCE Task :react-native-safe-area-context:generateDebugResValues UP-TO-DATE Task :react-native-safe-area-context:generateDebugResources UP-TO-DATE Task :react-native-safe-area-context:packageDebugResources UP-TO-DATE Task :react-native-screens:compileDebugRenderscript NO-SOURCE Task :react-native-screens:generateDebugResValues UP-TO-DATE Task :react-native-screens:generateDebugResources UP-TO-DATE Task :react-native-screens:packageDebugResources UP-TO-DATE Task :react-native-vector-icons:compileDebugRenderscript NO-SOURCE Task :react-native-vector-icons:generateDebugResValues UP-TO-DATE Task :react-native-vector-icons:generateDebugResources UP-TO-DATE Task :react-native-vector-icons:packageDebugResources UP-TO-DATE Task :app:mergeDebugResources UP-TO-DATE Task :app:createDebugCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksDebug UP-TO-DATE Task :react-native-gesture-handler:extractDeepLinksDebug UP-TO-DATE Task :react-native-gesture-handler:processDebugManifest UP-TO-DATE Task :react-native-pager-view:extractDeepLinksDebug UP-TO-DATE Task :react-native-pager-view:processDebugManifest UP-TO-DATE Task :react-native-safe-area-context:extractDeepLinksDebug UP-TO-DATE Task :react-native-safe-area-context:processDebugManifest UP-TO-DATE Task :react-native-screens:extractDeepLinksDebug UP-TO-DATE Task :react-native-screens:processDebugManifest UP-TO-DATE Task :react-native-vector-icons:extractDeepLinksDebug UP-TO-DATE Task :react-native-vector-icons:processDebugManifest UP-TO-DATE Task :app:processDebugMainManifest UP-TO-DATE Task :app:processDebugManifest UP-TO-DATE Task :app:processDebugManifestForPackage UP-TO-DATE Task :react-native-gesture-handler:compileDebugLibraryResources UP-TO-DATE Task :react-native-gesture-handler:parseDebugLocalResources UP-TO-DATE Task :react-native-gesture-handler:generateDebugRFile UP-TO-DATE Task :react-native-pager-view:compileDebugLibraryResources UP-TO-DATE Task :react-native-pager-view:parseDebugLocalResources UP-TO-DATE Task :react-native-pager-view:generateDebugRFile UP-TO-DATE Task :react-native-safe-area-context:compileDebugLibraryResources UP-TO-DATE Task :react-native-safe-area-context:parseDebugLocalResources UP-TO-DATE Task :react-native-safe-area-context:generateDebugRFile UP-TO-DATE Task :react-native-screens:compileDebugLibraryResources UP-TO-DATE Task :react-native-screens:parseDebugLocalResources UP-TO-DATE Task :react-native-screens:generateDebugRFile UP-TO-DATE Task :react-native-vector-icons:compileDebugLibraryResources UP-TO-DATE Task :react-native-vector-icons:parseDebugLocalResources UP-TO-DATE Task :react-native-vector-icons:generateDebugRFile UP-TO-DATE Task :app:processDebugResources UP-TO-DATE Task :react-native-gesture-handler:generateDebugBuildConfig UP-TO-DATE Task :react-native-gesture-handler:javaPreCompileDebug UP-TO-DATE Task :react-native-gesture-handler:compileDebugJavaWithJavac UP-TO-DATE Task :react-native-gesture-handler:bundleLibCompileToJarDebug UP-TO-DATE Task :react-native-pager-view:generateDebugBuildConfig UP-TO-DATE Task :react-native-pager-view:compileDebugKotlin UP-TO-DATE Task :react-native-pager-view:javaPreCompileDebug UP-TO-DATE Task :react-native-pager-view:compileDebugJavaWithJavac UP-TO-DATE Task :react-native-pager-view:bundleLibCompileToJarDebug UP-TO-DATE Task :react-native-safe-area-context:generateDebugBuildConfig UP-TO-DATE Task :react-native-safe-area-context:javaPreCompileDebug UP-TO-DATE Task :react-native-safe-area-context:compileDebugJavaWithJavac UP-TO-DATE Task :react-native-safe-area-context:bundleLibCompileToJarDebug UP-TO-DATE Task :react-native-screens:generateDebugBuildConfig UP-TO-DATE Task :react-native-screens:javaPreCompileDebug UP-TO-DATE Task :react-native-screens:compileDebugJavaWithJavac UP-TO-DATE Task :react-native-screens:bundleLibCompileToJarDebug UP-TO-DATE Task :react-native-vector-icons:generateDebugBuildConfig UP-TO-DATE Task :react-native-vector-icons:javaPreCompileDebug UP-TO-DATE Task :react-native-vector-icons:compileDebugJavaWithJavac UP-TO-DATE Task :react-native-vector-icons:bundleLibCompileToJarDebug UP-TO-DATE Task :app:compileDebugJavaWithJavac UP-TO-DATE Task :app:compileDebugSources UP-TO-DATE Task :app:mergeDebugNativeDebugMetadata NO-SOURCE Task :app:compressDebugAssets UP-TO-DATE Task :app:processDebugJavaRes NO-SOURCE Task :react-native-gesture-handler:processDebugJavaRes NO-SOURCE Task :react-native-gesture-handler:bundleLibResDebug NO-SOURCE Task :react-native-pager-view:processDebugJavaRes NO-SOURCE Task :react-native-pager-view:bundleLibResDebug UP-TO-DATE Task :react-native-safe-area-context:processDebugJavaRes NO-SOURCE Task :react-native-safe-area-context:bundleLibResDebug NO-SOURCE Task :react-native-screens:processDebugJavaRes NO-SOURCE Task :react-native-screens:bundleLibResDebug NO-SOURCE Task :react-native-vector-icons:processDebugJavaRes NO-SOURCE Task :react-native-vector-icons:bundleLibResDebug NO-SOURCE Task :app:mergeDebugJavaResource UP-TO-DATE Task :app:checkDebugDuplicateClasses UP-TO-DATE Task :app:desugarDebugFileDependencies UP-TO-DATE Task :app:mergeExtDexDebug UP-TO-DATE Task :react-native-gesture-handler:bundleLibRuntimeToJarDebug UP-TO-DATE Task :react-native-pager-view:bundleLibRuntimeToJarDebug UP-TO-DATE Task :react-native-safe-area-context:bundleLibRuntimeToJarDebug UP-TO-DATE Task :react-native-screens:bundleLibRuntimeToJarDebug UP-TO-DATE Task :react-native-vector-icons:bundleLibRuntimeToJarDebug UP-TO-DATE Task :app:dexBuilderDebug UP-TO-DATE Task :app:mergeLibDexDebug UP-TO-DATE Task :app:mergeProjectDexDebug UP-TO-DATE Task :app:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-gesture-handler:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-gesture-handler:mergeDebugNativeLibs NO-SOURCE Task :react-native-gesture-handler:stripDebugDebugSymbols NO-SOURCE Task :react-native-gesture-handler:copyDebugJniLibsProjectOnly UP-TO-DATE Task :react-native-pager-view:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-pager-view:mergeDebugNativeLibs NO-SOURCE Task :react-native-pager-view:stripDebugDebugSymbols NO-SOURCE Task :react-native-pager-view:copyDebugJniLibsProjectOnly UP-TO-DATE Task :react-native-safe-area-context:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-safe-area-context:mergeDebugNativeLibs NO-SOURCE Task :react-native-safe-area-context:stripDebugDebugSymbols NO-SOURCE Task :react-native-safe-area-context:copyDebugJniLibsProjectOnly UP-TO-DATE Task :react-native-screens:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-screens:mergeDebugNativeLibs NO-SOURCE Task :react-native-screens:stripDebugDebugSymbols NO-SOURCE Task :react-native-screens:copyDebugJniLibsProjectOnly UP-TO-DATE Task :react-native-vector-icons:mergeDebugJniLibFolders UP-TO-DATE Task :react-native-vector-icons:mergeDebugNativeLibs NO-SOURCE Task :react-native-vector-icons:stripDebugDebugSymbols NO-SOURCE Task :react-native-vector-icons:copyDebugJniLibsProjectOnly UP-TO-DATE Task :app:mergeDebugNativeLibs UP-TO-DATE Task :app:stripDebugDebugSymbols UP-TO-DATE Task :app:validateSigningDebug UP-TO-DATE Task :app:packageDebug UP-TO-DATE Task :app:assembleDebug UP-TO-DATE Task :app:preReleaseBuild Task :react-native-gesture-handler:preReleaseBuild UP-TO-DATE Task :react-native-gesture-handler:compileReleaseAidl NO-SOURCE Task :react-native-pager-view:preReleaseBuild UP-TO-DATE Task :react-native-pager-view:compileReleaseAidl NO-SOURCE Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE Task :react-native-safe-area-context:compileReleaseAidl NO-SOURCE Task :react-native-screens:preReleaseBuild UP-TO-DATE Task :react-native-screens:compileReleaseAidl NO-SOURCE Task :react-native-vector-icons:preReleaseBuild UP-TO-DATE Task :react-native-vector-icons:compileReleaseAidl NO-SOURCE Task :app:compileReleaseAidl NO-SOURCE Task :react-native-gesture-handler:packageReleaseRenderscript NO-SOURCE Task :react-native-pager-view:packageReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE Task :react-native-screens:packageReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:packageReleaseRenderscript NO-SOURCE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseBuildConfig UP-TO-DATE Task :app:javaPreCompileRelease UP-TO-DATE Task :react-native-gesture-handler:writeReleaseAarMetadata UP-TO-DATE Task :react-native-pager-view:writeReleaseAarMetadata UP-TO-DATE Task :react-native-safe-area-context:writeReleaseAarMetadata UP-TO-DATE Task :react-native-screens:writeReleaseAarMetadata UP-TO-DATE Task :react-native-vector-icons:writeReleaseAarMetadata UP-TO-DATE Task :app:checkReleaseAarMetadata UP-TO-DATE

Task :app:bundleReleaseJsAndAssets warning: the transform cache was reset. Welcome to Metro! Fast - Scalable - Integrated

info Writing bundle output to:, C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor\android\app\build\generated\assets\react\release\index.android.bundle info Writing sourcemap output to:, C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor\android\app\build\generated\sourcemaps\react\release\index.android.bundle.map info Done writing sourcemap output info Done writing bundle output info Copying 16 asset files info Done copying assets

Task :app:mergeReleaseShaders UP-TO-DATE Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :react-native-gesture-handler:mergeReleaseShaders UP-TO-DATE Task :react-native-gesture-handler:compileReleaseShaders NO-SOURCE Task :react-native-gesture-handler:generateReleaseAssets UP-TO-DATE Task :react-native-gesture-handler:packageReleaseAssets UP-TO-DATE Task :react-native-pager-view:mergeReleaseShaders UP-TO-DATE Task :react-native-pager-view:compileReleaseShaders NO-SOURCE Task :react-native-pager-view:generateReleaseAssets UP-TO-DATE Task :react-native-pager-view:packageReleaseAssets UP-TO-DATE Task :react-native-safe-area-context:mergeReleaseShaders UP-TO-DATE Task :react-native-safe-area-context:compileReleaseShaders NO-SOURCE Task :react-native-safe-area-context:generateReleaseAssets UP-TO-DATE Task :react-native-safe-area-context:packageReleaseAssets UP-TO-DATE Task :react-native-screens:mergeReleaseShaders UP-TO-DATE Task :react-native-screens:compileReleaseShaders NO-SOURCE Task :react-native-screens:generateReleaseAssets UP-TO-DATE Task :react-native-screens:packageReleaseAssets UP-TO-DATE Task :react-native-vector-icons:mergeReleaseShaders UP-TO-DATE Task :react-native-vector-icons:compileReleaseShaders NO-SOURCE Task :react-native-vector-icons:generateReleaseAssets UP-TO-DATE Task :react-native-vector-icons:packageReleaseAssets UP-TO-DATE Task :app:mergeReleaseAssets UP-TO-DATE Task :app:copyReleaseBundledJs UP-TO-DATE Task :app:copyReleaseReactNativeVectorIconFonts UP-TO-DATE Task :app:generateReleaseResValues UP-TO-DATE Task :app:generateReleaseResources UP-TO-DATE Task :react-native-gesture-handler:compileReleaseRenderscript NO-SOURCE Task :react-native-gesture-handler:generateReleaseResValues UP-TO-DATE Task :react-native-gesture-handler:generateReleaseResources UP-TO-DATE Task :react-native-gesture-handler:packageReleaseResources UP-TO-DATE Task :react-native-pager-view:compileReleaseRenderscript NO-SOURCE Task :react-native-pager-view:generateReleaseResValues UP-TO-DATE Task :react-native-pager-view:generateReleaseResources UP-TO-DATE Task :react-native-pager-view:packageReleaseResources UP-TO-DATE Task :react-native-safe-area-context:compileReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:generateReleaseResValues UP-TO-DATE Task :react-native-safe-area-context:generateReleaseResources UP-TO-DATE Task :react-native-safe-area-context:packageReleaseResources UP-TO-DATE Task :react-native-screens:compileReleaseRenderscript NO-SOURCE Task :react-native-screens:generateReleaseResValues UP-TO-DATE Task :react-native-screens:generateReleaseResources UP-TO-DATE Task :react-native-screens:packageReleaseResources UP-TO-DATE Task :react-native-vector-icons:compileReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:generateReleaseResValues UP-TO-DATE Task :react-native-vector-icons:generateReleaseResources UP-TO-DATE Task :react-native-vector-icons:packageReleaseResources UP-TO-DATE Task :app:mergeReleaseResources UP-TO-DATE Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksRelease UP-TO-DATE Task :react-native-gesture-handler:extractDeepLinksRelease UP-TO-DATE Task :react-native-gesture-handler:processReleaseManifest UP-TO-DATE Task :react-native-pager-view:extractDeepLinksRelease UP-TO-DATE Task :react-native-pager-view:processReleaseManifest UP-TO-DATE Task :react-native-safe-area-context:extractDeepLinksRelease UP-TO-DATE Task :react-native-safe-area-context:processReleaseManifest UP-TO-DATE Task :react-native-screens:extractDeepLinksRelease UP-TO-DATE Task :react-native-screens:processReleaseManifest UP-TO-DATE Task :react-native-vector-icons:extractDeepLinksRelease UP-TO-DATE Task :react-native-vector-icons:processReleaseManifest UP-TO-DATE Task :app:processReleaseMainManifest UP-TO-DATE Task :app:processReleaseManifest UP-TO-DATE Task :app:processReleaseManifestForPackage UP-TO-DATE Task :react-native-gesture-handler:compileReleaseLibraryResources UP-TO-DATE Task :react-native-gesture-handler:parseReleaseLocalResources UP-TO-DATE Task :react-native-gesture-handler:generateReleaseRFile UP-TO-DATE Task :react-native-pager-view:compileReleaseLibraryResources UP-TO-DATE Task :react-native-pager-view:parseReleaseLocalResources UP-TO-DATE Task :react-native-pager-view:generateReleaseRFile UP-TO-DATE Task :react-native-safe-area-context:compileReleaseLibraryResources UP-TO-DATE Task :react-native-safe-area-context:parseReleaseLocalResources UP-TO-DATE Task :react-native-safe-area-context:generateReleaseRFile UP-TO-DATE Task :react-native-screens:compileReleaseLibraryResources UP-TO-DATE Task :react-native-screens:parseReleaseLocalResources UP-TO-DATE Task :react-native-screens:generateReleaseRFile UP-TO-DATE Task :react-native-vector-icons:compileReleaseLibraryResources UP-TO-DATE Task :react-native-vector-icons:parseReleaseLocalResources UP-TO-DATE Task :react-native-vector-icons:generateReleaseRFile UP-TO-DATE Task :app:processReleaseResources Task :react-native-gesture-handler:generateReleaseBuildConfig UP-TO-DATE Task :react-native-gesture-handler:javaPreCompileRelease UP-TO-DATE Task :react-native-gesture-handler:compileReleaseJavaWithJavac UP-TO-DATE Task :react-native-gesture-handler:bundleLibCompileToJarRelease UP-TO-DATE Task :react-native-pager-view:generateReleaseBuildConfig UP-TO-DATE

Task :react-native-pager-view:compileReleaseKotlin w: C:\Users\Gordon\Documents\Applications\ReactNative\TSDZ2_OSF_Monitor\node_modules\react-native-pager-view\android\src\main\java\com\reactnativepagerview\PagerViewViewManager.kt: (193, 11): 'receiveCommand(T, Int, ReadableArray?): Unit' is deprecated. Deprecated in Java

Task :react-native-pager-view:javaPreCompileRelease UP-TO-DATE Task :react-native-pager-view:compileReleaseJavaWithJavac Task :react-native-safe-area-context:generateReleaseBuildConfig UP-TO-DATE Task :react-native-safe-area-context:javaPreCompileRelease UP-TO-DATE Task :react-native-safe-area-context:compileReleaseJavaWithJavac UP-TO-DATE Task :react-native-safe-area-context:bundleLibCompileToJarRelease UP-TO-DATE Task :react-native-screens:generateReleaseBuildConfig UP-TO-DATE Task :react-native-screens:javaPreCompileRelease UP-TO-DATE Task :react-native-pager-view:bundleLibCompileToJarRelease Task :react-native-screens:compileReleaseJavaWithJavac UP-TO-DATE Task :react-native-screens:bundleLibCompileToJarRelease UP-TO-DATE Task :react-native-vector-icons:generateReleaseBuildConfig UP-TO-DATE Task :react-native-vector-icons:javaPreCompileRelease UP-TO-DATE Task :react-native-vector-icons:compileReleaseJavaWithJavac UP-TO-DATE Task :react-native-vector-icons:bundleLibCompileToJarRelease UP-TO-DATE Task :react-native-gesture-handler:prepareLintJarForPublish UP-TO-DATE Task :react-native-pager-view:prepareLintJarForPublish UP-TO-DATE Task :react-native-safe-area-context:prepareLintJarForPublish UP-TO-DATE Task :react-native-screens:prepareLintJarForPublish UP-TO-DATE Task :react-native-vector-icons:prepareLintJarForPublish UP-TO-DATE Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE Task :app:compressReleaseAssets UP-TO-DATE Task :react-native-gesture-handler:bundleLibRuntimeToJarRelease UP-TO-DATE Task :react-native-pager-view:bundleLibRuntimeToJarRelease Task :app:checkReleaseDuplicateClasses Task :react-native-vector-icons:bundleLibRuntimeToJarRelease Task :react-native-safe-area-context:bundleLibRuntimeToJarRelease Task :react-native-screens:bundleLibRuntimeToJarRelease Task :app:compileReleaseJavaWithJavac Task :app:compileReleaseSources Task :app:lintVitalRelease Task :app:desugarReleaseFileDependencies Task :app:processReleaseJavaRes NO-SOURCE Task :react-native-gesture-handler:processReleaseJavaRes NO-SOURCE Task :react-native-gesture-handler:bundleLibResRelease NO-SOURCE Task :react-native-pager-view:processReleaseJavaRes NO-SOURCE Task :react-native-safe-area-context:processReleaseJavaRes NO-SOURCE Task :react-native-safe-area-context:bundleLibResRelease NO-SOURCE Task :react-native-screens:processReleaseJavaRes NO-SOURCE Task :react-native-screens:bundleLibResRelease NO-SOURCE Task :react-native-vector-icons:processReleaseJavaRes NO-SOURCE Task :react-native-vector-icons:bundleLibResRelease NO-SOURCE Task :react-native-pager-view:bundleLibResRelease Task :app:collectReleaseDependencies Task :app:sdkReleaseDependencyData Task :app:mergeReleaseJniLibFolders Task :react-native-gesture-handler:mergeReleaseJniLibFolders Task :react-native-gesture-handler:mergeReleaseNativeLibs NO-SOURCE Task :react-native-gesture-handler:stripReleaseDebugSymbols NO-SOURCE Task :react-native-gesture-handler:copyReleaseJniLibsProjectOnly Task :react-native-pager-view:mergeReleaseJniLibFolders Task :react-native-pager-view:mergeReleaseNativeLibs NO-SOURCE Task :react-native-pager-view:stripReleaseDebugSymbols NO-SOURCE Task :react-native-pager-view:copyReleaseJniLibsProjectOnly Task :react-native-safe-area-context:mergeReleaseJniLibFolders Task :react-native-safe-area-context:mergeReleaseNativeLibs NO-SOURCE Task :react-native-safe-area-context:stripReleaseDebugSymbols NO-SOURCE Task :react-native-safe-area-context:copyReleaseJniLibsProjectOnly Task :react-native-screens:mergeReleaseJniLibFolders Task :react-native-screens:mergeReleaseNativeLibs NO-SOURCE Task :react-native-screens:stripReleaseDebugSymbols NO-SOURCE Task :react-native-screens:copyReleaseJniLibsProjectOnly Task :react-native-vector-icons:mergeReleaseJniLibFolders Task :react-native-vector-icons:mergeReleaseNativeLibs NO-SOURCE Task :react-native-vector-icons:stripReleaseDebugSymbols NO-SOURCE Task :react-native-vector-icons:copyReleaseJniLibsProjectOnly Task :app:validateSigningRelease Task :app:bundleDebugClasses Task :app:dexBuilderRelease Task :app:preDebugUnitTestBuild Task :app:processDebugUnitTestJavaRes NO-SOURCE Task :app:preReleaseUnitTestBuild Task :app:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-gesture-handler:copyDebugJniLibsProjectAndLocalJars Task :app:javaPreCompileDebugUnitTest Task :app:javaPreCompileReleaseUnitTest Task :app:mergeExtDexRelease Task :app:bundleReleaseClasses Task :react-native-gesture-handler:extractDebugAnnotations Task :react-native-gesture-handler:mergeDebugGeneratedProguardFiles Task :react-native-gesture-handler:mergeDebugConsumerProguardFiles Task :react-native-gesture-handler:compileDebugSources UP-TO-DATE Task :react-native-gesture-handler:copyReleaseJniLibsProjectAndLocalJars Task :react-native-gesture-handler:mergeDebugJavaResource Task :react-native-gesture-handler:extractReleaseAnnotations Task :react-native-gesture-handler:syncDebugLibJars Task :react-native-gesture-handler:bundleDebugAar Task :react-native-gesture-handler:assembleDebug Task :react-native-gesture-handler:mergeReleaseGeneratedProguardFiles Task :react-native-gesture-handler:mergeReleaseConsumerProguardFiles Task :react-native-gesture-handler:compileReleaseSources UP-TO-DATE Task :app:mergeReleaseJavaResource Task :react-native-gesture-handler:mergeReleaseJavaResource Task :app:mergeDexRelease Task :app:mergeReleaseNativeLibs Task :react-native-gesture-handler:mergeReleaseResources

Task :app:stripReleaseDebugSymbols Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libfb.so, libfbjni.so, libfolly_futures.so, libfolly_json.so, libglog.so, libglog_init.so, libhermes-executor-common-debug.so, libhermes-executor-common-release.so, libhermes-executor-debug.so, libhermes-executor-release.so, libhermes-inspector.so, libimagepipeline.so, libjsc.so, libjscexecutor.so, libjsijniprofiler.so, libjsinspector.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_reactandroidspec.so, libreact_nativemodule_core.so, libreactnativeblob.so, libreactnativejni.so, libreactnativeutilsjni.so, libreactperfloggerjni.so, libreanimated.so, libturbomodulejsijni.so, libyoga.so.

Task :react-native-gesture-handler:syncReleaseLibJars Task :react-native-gesture-handler:bundleReleaseAar Task :app:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :app:testReleaseUnitTest NO-SOURCE Task :react-native-gesture-handler:preDebugUnitTestBuild UP-TO-DATE Task :react-native-gesture-handler:processDebugUnitTestJavaRes NO-SOURCE Task :react-native-gesture-handler:preReleaseUnitTestBuild UP-TO-DATE Task :react-native-gesture-handler:javaPreCompileDebugUnitTest Task :react-native-gesture-handler:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-pager-view:copyDebugJniLibsProjectAndLocalJars Task :react-native-gesture-handler:javaPreCompileReleaseUnitTest Task :react-native-pager-view:extractDebugAnnotations Task :react-native-pager-view:mergeDebugGeneratedProguardFiles Task :react-native-pager-view:mergeDebugConsumerProguardFiles Task :react-native-pager-view:compileDebugSources UP-TO-DATE Task :react-native-pager-view:copyReleaseJniLibsProjectAndLocalJars Task :react-native-pager-view:extractReleaseAnnotations Task :react-native-pager-view:mergeReleaseGeneratedProguardFiles Task :react-native-pager-view:mergeReleaseConsumerProguardFiles Task :react-native-pager-view:compileReleaseSources Task :react-native-gesture-handler:generateDebugUnitTestStubRFile Task :react-native-pager-view:mergeDebugJavaResource Task :react-native-gesture-handler:generateReleaseUnitTestStubRFile Task :react-native-pager-view:mergeReleaseJavaResource Task :react-native-gesture-handler:verifyReleaseResources Task :react-native-pager-view:mergeReleaseResources Task :react-native-gesture-handler:assembleRelease Task :react-native-gesture-handler:assemble Task :react-native-gesture-handler:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :react-native-gesture-handler:testDebugUnitTest NO-SOURCE Task :react-native-gesture-handler:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :react-native-gesture-handler:testReleaseUnitTest NO-SOURCE Task :react-native-gesture-handler:test UP-TO-DATE Task :react-native-gesture-handler:check Task :react-native-gesture-handler:build Task :react-native-pager-view:syncDebugLibJars Task :react-native-pager-view:bundleDebugAar Task :react-native-pager-view:assembleDebug Task :react-native-pager-view:syncReleaseLibJars Task :react-native-pager-view:bundleReleaseAar Task :react-native-pager-view:preDebugUnitTestBuild UP-TO-DATE Task :react-native-pager-view:javaPreCompileDebugUnitTest Task :app:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :app:testDebugUnitTest NO-SOURCE Task :app:test UP-TO-DATE Task :app:check Task :react-native-pager-view:processDebugUnitTestJavaRes NO-SOURCE Task :react-native-pager-view:preReleaseUnitTestBuild UP-TO-DATE Task :react-native-pager-view:generateReleaseUnitTestStubRFile Task :react-native-pager-view:generateDebugUnitTestStubRFile Task :app:packageRelease Task :app:assembleRelease Task :app:assemble Task :app:build Task :react-native-pager-view:compileDebugUnitTestKotlin NO-SOURCE Task :react-native-pager-view:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :react-native-pager-view:testDebugUnitTest NO-SOURCE Task :react-native-pager-view:compileReleaseUnitTestKotlin NO-SOURCE Task :react-native-pager-view:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-pager-view:javaPreCompileReleaseUnitTest Task :react-native-safe-area-context:copyDebugJniLibsProjectAndLocalJars Task :react-native-pager-view:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :react-native-pager-view:testReleaseUnitTest NO-SOURCE Task :react-native-pager-view:test UP-TO-DATE Task :react-native-pager-view:check Task :react-native-safe-area-context:extractDebugAnnotations Task :react-native-safe-area-context:mergeDebugGeneratedProguardFiles Task :react-native-safe-area-context:mergeDebugConsumerProguardFiles Task :react-native-safe-area-context:compileDebugSources UP-TO-DATE Task :react-native-safe-area-context:copyReleaseJniLibsProjectAndLocalJars Task :react-native-safe-area-context:extractReleaseAnnotations Task :react-native-safe-area-context:mergeReleaseGeneratedProguardFiles Task :react-native-safe-area-context:mergeDebugJavaResource Task :react-native-safe-area-context:mergeReleaseConsumerProguardFiles Task :react-native-safe-area-context:syncDebugLibJars Task :react-native-safe-area-context:bundleDebugAar Task :react-native-safe-area-context:assembleDebug Task :react-native-safe-area-context:compileReleaseSources UP-TO-DATE Task :react-native-safe-area-context:mergeReleaseJavaResource Task :react-native-pager-view:verifyReleaseResources Task :react-native-safe-area-context:mergeReleaseResources Task :react-native-pager-view:assembleRelease Task :react-native-pager-view:assemble Task :react-native-pager-view:build Task :react-native-safe-area-context:syncReleaseLibJars Task :react-native-safe-area-context:bundleReleaseAar Task :react-native-safe-area-context:preDebugUnitTestBuild UP-TO-DATE Task :react-native-safe-area-context:processDebugUnitTestJavaRes NO-SOURCE Task :react-native-safe-area-context:preReleaseUnitTestBuild UP-TO-DATE Task :react-native-safe-area-context:javaPreCompileDebugUnitTest Task :react-native-safe-area-context:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-safe-area-context:javaPreCompileReleaseUnitTest Task :react-native-screens:copyDebugJniLibsProjectAndLocalJars Task :react-native-safe-area-context:generateDebugUnitTestStubRFile Task :react-native-safe-area-context:generateReleaseUnitTestStubRFile Task :react-native-screens:extractDebugAnnotations Task :react-native-safe-area-context:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :react-native-safe-area-context:testDebugUnitTest NO-SOURCE Task :react-native-safe-area-context:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :react-native-safe-area-context:testReleaseUnitTest NO-SOURCE Task :react-native-safe-area-context:test UP-TO-DATE Task :react-native-safe-area-context:check Task :react-native-screens:mergeDebugGeneratedProguardFiles Task :react-native-screens:mergeDebugConsumerProguardFiles Task :react-native-screens:compileDebugSources UP-TO-DATE Task :react-native-screens:copyReleaseJniLibsProjectAndLocalJars Task :react-native-screens:mergeDebugJavaResource Task :react-native-screens:extractReleaseAnnotations Task :react-native-screens:syncDebugLibJars Task :react-native-screens:bundleDebugAar Task :react-native-screens:assembleDebug Task :react-native-screens:mergeReleaseGeneratedProguardFiles Task :react-native-screens:mergeReleaseConsumerProguardFiles Task :react-native-screens:compileReleaseSources UP-TO-DATE Task :react-native-screens:mergeReleaseJavaResource Task :react-native-safe-area-context:verifyReleaseResources Task :react-native-screens:mergeReleaseResources Task :react-native-safe-area-context:assembleRelease Task :react-native-safe-area-context:assemble Task :react-native-safe-area-context:build Task :react-native-screens:syncReleaseLibJars Task :react-native-screens:bundleReleaseAar Task :react-native-screens:preDebugUnitTestBuild UP-TO-DATE Task :react-native-screens:processDebugUnitTestJavaRes NO-SOURCE Task :react-native-screens:preReleaseUnitTestBuild UP-TO-DATE Task :react-native-screens:javaPreCompileDebugUnitTest Task :react-native-screens:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-screens:javaPreCompileReleaseUnitTest Task :react-native-vector-icons:copyDebugJniLibsProjectAndLocalJars Task :react-native-vector-icons:extractDebugAnnotations Task :react-native-vector-icons:mergeDebugGeneratedProguardFiles Task :react-native-vector-icons:mergeDebugConsumerProguardFiles Task :react-native-vector-icons:compileDebugSources UP-TO-DATE Task :react-native-vector-icons:copyReleaseJniLibsProjectAndLocalJars Task :react-native-screens:generateReleaseUnitTestStubRFile Task :react-native-screens:generateDebugUnitTestStubRFile Task :react-native-vector-icons:extractReleaseAnnotations Task :react-native-screens:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :react-native-screens:testDebugUnitTest NO-SOURCE Task :react-native-screens:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :react-native-screens:testReleaseUnitTest NO-SOURCE Task :react-native-screens:test UP-TO-DATE Task :react-native-screens:check Task :react-native-vector-icons:mergeReleaseGeneratedProguardFiles Task :react-native-vector-icons:mergeReleaseConsumerProguardFiles Task :react-native-vector-icons:mergeDebugJavaResource Task :react-native-vector-icons:mergeReleaseJavaResource Task :react-native-vector-icons:syncDebugLibJars Task :react-native-vector-icons:bundleDebugAar Task :react-native-vector-icons:assembleDebug Task :react-native-vector-icons:syncReleaseLibJars Task :react-native-vector-icons:bundleReleaseAar Task :react-native-vector-icons:compileReleaseSources UP-TO-DATE Task :react-native-screens:verifyReleaseResources Task :react-native-vector-icons:mergeReleaseResources Task :react-native-screens:assembleRelease Task :react-native-screens:assemble Task :react-native-screens:build Task :react-native-vector-icons:preDebugUnitTestBuild UP-TO-DATE Task :react-native-vector-icons:processDebugUnitTestJavaRes NO-SOURCE Task :react-native-vector-icons:preReleaseUnitTestBuild UP-TO-DATE Task :react-native-vector-icons:javaPreCompileDebugUnitTest Task :react-native-vector-icons:processReleaseUnitTestJavaRes NO-SOURCE Task :react-native-vector-icons:javaPreCompileReleaseUnitTest Task :react-native-vector-icons:generateDebugUnitTestStubRFile Task :react-native-vector-icons:compileDebugUnitTestJavaWithJavac NO-SOURCE Task :react-native-vector-icons:testDebugUnitTest NO-SOURCE Task :react-native-vector-icons:generateReleaseUnitTestStubRFile Task :react-native-vector-icons:compileReleaseUnitTestJavaWithJavac NO-SOURCE Task :react-native-vector-icons:testReleaseUnitTest NO-SOURCE Task :react-native-vector-icons:test UP-TO-DATE Task :react-native-vector-icons:check Task :react-native-vector-icons:verifyReleaseResources Task :react-native-vector-icons:assembleRelease Task :react-native-vector-icons:assemble Task :react-native-vector-icons:build

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 5m 33s 344 actionable tasks: 140 executed, 204 up-to-date info Connecting to the development server... 8081 info Installing the app on the device "emulator-5554"... Performing Streamed Install Success info Starting the app on "emulator-5554"... Starting: Intent { cmp=com.tsdz2_osf_monitor/.MainActivity }

Here is the screen (which was working last time)

image

Clicked on Restart image

gfmoore commented 3 years ago

Sorry folks, this one was my bad.

I had changed the VS Code setting React Native packager port to 19001 following some advice for using Expo, changed it back to 8081 and it was fine.

RedMickey commented 3 years ago

@gfmoore

I still can't figure out why it would make a difference?

Since Android Emulator v25.3.0, it has been released separately from the rest of the Android SDK tools. As part of implementing this change, the emulator binary was moved from %ANDROID_HOME%\tools to its own top-level directory, %ANDROID_HOME%\emulator. So now, the full and newest version of Android Emulator is located by the path %ANDROID_HOME%\emulator. Using the emulator binary from %ANDROID_HOME%\tools could lead to errors.

When adding programs' paths to the system PATH variable, the system tries to use the first appropriate program found in the PATH. Windows first checks the current working directory, then checks each path in the PATH variable from left to right, and finally checks system locations. So, if %ANDROID_HOME%\emulator goes before %ANDROID_HOME%\tools in the PATH, the system will use emulator binary from %ANDROID_HOME%\emulator otherwise from %ANDROID_HOME%\tools.

gfmoore commented 3 years ago

Great explanation. Thank you so much for all your efforts, it is very much appreciated. You clearly have a great commitment to getting this tool working for everyone. Cheers. I'll buy you a pint when I see you. :)