Titanium App fails to build with deprecation warning - titanium

App is failing to build on iOS with the following warnings:
[WARN] : Titanium 7.0.0 deprecates the legacy UI-execution on Kroll-Thread in favor of the Main-Thread.
[WARN] : The legacy execution will be removed in Titanium SDK 8.0.0.
Here is the environment:
Node.js Version = 8.9.1
npm Version = 5.5.1
CLI Version = 5.1.1
SDK Version = 7.5.1.GA

Related

Unsupported SDK version: our app builders do not support SDK version 45, yet. The latest SDK version is 45.0.0

Unsupported SDK version
Error: Unsupported SDK version
at Object.checkIfSdkIsSupported (/usr/local/lib/node_modules/expo-cli/src/commands/build/utils.ts:80:11)
at AndroidBuilder.checkProjectConfig (/usr/local/lib/node_modules/expo-cli/src/commands/build/AndroidBuilder.ts:50:5)
at AndroidBuilder.prepareProjectInfo (/usr/local/lib/node_modules/expo-cli/src/commands/build/BaseBuilder.ts:72:5)
at AndroidBuilder.command (/usr/local/lib/node_modules/expo-cli/src/commands/build/BaseBuilder.ts:41:7)
You need to build using eas-cli
npm install -g eas-cli
eas build -p android
expo 5.4.6
eas-cli/0.52.0 win32-x64 node-v16.13.0
sdk 45
I managed to create an apk (not aab) for my project using this command:
eas build --profile preview
This method is described here:
https://docs.expo.dev/build/eas-json/

an error occurred while running subprocess

I am developing an application in ionic 5 and I encounter an error when I run the command: ionic cordova platform add android.
Here is the error message: [ERROR] An error occurred while running subprocess cordova-res. Can anyone help me?
Ionic:
Ionic CLI : 6.11.0 (C:\Users\user\AppData\Roaming\npm\node_modules#ionic\cli)
Ionic Framework : #ionic/angular 5.3.1
#angular-devkit/build-angular : 0.901.12
#angular-devkit/schematics : 9.1.12
#angular/cli : 9.1.12
#ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 9.0.0 (cordova-lib#9.0.1)
Cordova Platforms : browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 8 other plugins)

Alloy compiler failed but classic Titanium works

when I try to run a basic alloy app (two-tabbed template) I get this error:
[ERROR] : : Cannot find module './validators/react/isReactComponent'
[ERROR] : Alloy compiler failed
[ERROR] Application Installer abnormal process termination. Process exit value was 1
But when I run a classic app (two-tabbed template) whithout alloy then program runs ok.
My system is:
Operating System
Name = Mac OS X
Version = 10.14.5
Architecture = 64bit
Node.js
Node.js Version = 8.9.1
npm Version = 5.5.1
Appcelerator CLI
Installer = 4.2.15
Core Package = 7.1.2
Titanium CLI
CLI Version = 5.2.2
node-appc Version = 0.2.49
Try to update your Node version to 10.x (e.g. https://nodejs.org/dist/latest-v10.x/). After that install the CLI again (npm install -g appcelerator titanium alloy) and run appc use 7.1.2 --force to be sure that all packages are rebuild and you should be able to run the app

TypeError: Cannot read property 'getCurrentUserAsync' of undefined

I am trying to debug my react-native app using 'Debug in Exponent'
and I got this error where the packager is starting successfully but with the error in the console
Configurations are:
VSCODE Version: 1.35.1
React-Native VS Code extension version: 0.10.2
Node.js: 10.2.0
OS: Linux x64 4.4.0-154-generic
Expo: 2.21.1
I have tried upgrading and downgrading the vscode.
deleted the node_module and installed npm again.
I even cleared out all the settings and created the fresh launch.json in .vscode so far with no success
error in console is as follows
[Info] Making sure your project uses the correct dependencies for Expo. This may take a while...
Checking if this is Expo app......
[Info] Packager is already running.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Building and running application.
[Error] TypeError: Cannot read property 'getCurrentUserAsync' of undefined
Same problem occurs with the configuration below :
VSCODE Version: 1.36.1
React-Native VS Code extension version: 0.10.2
Node.js: 10.15.1
OS: Win32 x64
Expo: 3.0.2
The temporary workaround is described here which worked for me..

Error 'Could not determine java version from ‘10’

npm run android is not working.
node version: v8.9.4
npm version: 5.7.1
genymotion: 2.12.0
I'm getting the error:
Could not determine java version from ‘10’
I don't have have an Android Studio installed, but I have installed Gradle 4.6, and also set the path for Java, created JAVA_HOME and set path for genymotion.
Revert back the java version to 8*. Android does not support 9 or above, yet.