Gradle error: Could not determine a usable local IP for this machine - react-native

I got this error when building react native android app within Windows Subsystem Linux
Any idea how to resolve that please?
Update
Windows build 14955 (from Windows Insider Program) fixed this issue

Appears to be a known issue with WSL, solved by upgrading to a newer windows insider build.
See https://github.com/Microsoft/BashOnWindows/issues/850 for more info

Related

Uno Platform on WSL: Errors in unchanged template

I'm attempting to build the Uno project template with Linux support, using WSL (Ubuntu 20.04), following the official guide.
Unfortunately, I always get an error running the Skia GTK project template:
DllNotFoundException: Gtk: libgtk-3-0.dll, libgtk-3.so.0, libgtk-3.0.dylib, gtk-3.dll
I tried adding libgtk-3-0.dll's folder to the Windows PATH, but this didn't help. Then I tried installing libgtk-3 in WSL, but it just changed the error to Can't open display :0.
What am I doing wrong?
The Skia.Gtk backend expects a running X Window server to connect to.
The guide suggests installing vcXsrv, an X11 server for Windows
You'll need to start the server in "Multiple windows" mode, starting with "no client" mode.

IBM MobileFirst Platform Installation in Windows 8.1 64Bit

I am using my office laptop (Lenovo vV310 - 8GB RAM - 64 Bit OS - Windows 8.1). I have been trying to fix an installation issue with IBM Mobile First Platform for the past few days. I downloaded the IBM Mobile First Developer Kit from link http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst-deved-devkit-windows-8.0.0.0.exe
The problem is the installation software InstallAnywhere is not installing and gives the below warning.
Windows error 2 occured while loading the Java VM
I have JDK 1.8 installed in my notebook and I couldn't fix the issue. I have the java JDK and JRE bin paths set in the environment variables.
If any of you have fixed the issue, please share the solution.
Open command line as Administrator and type following command.
[path of mobilefirst-devkit.exe] LAX_VM ["path of java.exe"]
Usage
C:\Users\gaurab\Downloads\mobilefirst-deved-devkit-windows-8.0.0.0.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_112\bin\java.exe"

Can't install CloudBees SDK onto Windows 8

I seem to have some problems initialising the CloudBees SDK locally to be able to run a simple application.
I've downloaded the SDK, added the required paths; everything ok up to the point where I am trying to execute the bees run command from my newly created application folder.
The error I get seems related to the JDK installation on my computer - JAVA_HOME is pointing to C:\Program Files\Java\jre7 and not to jdk .
I've checked all the local PATHS and they seem ok.
By the way I am using Windows 8.0 Enterprise 64 bit.
Fully uninstalling Java from my system followed by installing only the 64bit version and recreating System paths seems to have fixed the problem.

Titanium [ERROR] Application Installer abnormal process termination

I am trying to run default example apps in titanium studio, but I am getting error.
I installed jdk1.6.0_45, jre1.6.0 and set the properties of Environment Variables too.
what was the problem, any suggetions?
[ERROR] Application Installer abnormal process termination. Process exit value was 1
Have you installed all required Android SDKs? If you are using latest Titanium SDK, you need to install Android SDK 2.3.3 (API 10). Check more details in Installing the Android SDK guid in Titanium documentation.
If this won't help set console log level to trace and update question with full error log.
For Windows, the 32-bit version of Java JDK is required regardless of whether Titanium is running on a 32-bit or 64-bit system.
http://docs.appcelerator.com/titanium/latest/#!/guide/Quick_Start

Facing 'Unable to locate the CLI executable' on Windows

I just installed Titanium and I'm not really familiar with this IDE. I added Android SDK to start my first application and everything looks cool until I tried to see my application in Android Emulator. I'm getting Unable to locate the CLI executable. Please restart Studio or use Help > Check for Titanium Updates to install Titanium CLI. and Check for Titanium Updates Says No Titanium updates available. and restarting the studio multiple times didn't work too. I cannot even preview my application in web browser. What am I doing wrong?
I'm using Titanium Studio, build: 3.1.0.201304151600 on Windows Server 2008 R2 Everything is up to date Node.js, Android SDKs, etc. I'm trying to create a web-based application frt Android 2.2+ and mobile web.
Farid,
There are several things you can try.
1.Type titanium in your command line and hit enter.If it gives 'not recognised as an internal or external command',it means Titanium package is not properly installed.
2.Try uninstalling just the Titanium node.js package using npm titanium uninstall command.
3.Once uninstalled,open Titanium studio.It will prompt you for installing Titanium CLI.Follow the steps and install Titanium CLI.
4.If these steps do not work,then uninstall node and install everything from the studio itself,rather than from the command line.
Sometimes installing Titanium CLI from command line fails.
EDIT:Before you try all this type node in your command prompt and see if node command is being recognised.If it is not you will have to set it to the PATH variable.
Thanks to 'Mukund Samant' with useful workarounds, I managed to fix this problem [although I faced another problem] by removing node.js and installing an older version (0.8.22) and then installing node.acs package manually by runnig this command: npm -g install acs. Now Titanium won't give me any errors or update messages on startup.
Note that I found out I have to run Titanium Studio as Administrator!