Error with packagin app for win10 with nw.js - nw.js

I package my app with nw.js v.0.14.0 and v.0.12.3. For win 10 I have this error: [0414/135120:ERROR:main_dll_loader_win.cc(134)] Failed to load NW DLL from C:\Users\Roman\Desktop\win64\nw.dll: Не найден указанный модуль. (0x7E). When I start my app on Linux or OSX app start.

Related

Error HE0046: Failed to install the app ... simctl returned exit code 72

When trying to run my Xamarin.iOS from Visual Studio on my Windows machine, while paired to my Mac, I get the error
error HE0046: Failed to install the app '...' on the device 'iOS 15.4 (19E240) - iPad (9th generation)': simctl returned exit code 72
Start XCode on the Mac. XCode will indicate that some tools are missing to enable debugging, and prompts you to allow it to automatically install them - allow it to do this, then try running again from Visual Studio - no restarts required.

Xamarin error ios Simulator HE0046: Failed to install the app ... Failed to install the requested application

I changed name of my VS 2019 project running on Mac (from PrismApp1 to something else) and now I can't run on iOS simulator. Tried to run on different simulator phone too. I searched for PrismApp1 in folder and on machine can't find anything... delete bin and obj folders and did a Build All. any ideas?
error HE0046: Failed to install the app 'com.companyname.PrismApp1' on the device 'iOS 13.2 (17B102) - iPhone 11 Pro': Failed to install the requested application
Note: it works if i deploy to my physical iPhone...
I had a similar issue with iPhone 13 emulator and iOS 15, where I couldn't deploy my app on the simulator, but it worked on a real device.
The error I was getting was:
error HE0046: Failed to install the app 'ma.myapp.app' on the device 'iOS 15.0 (19A339) - iPhone 13 mini': “Myapp” Needs To Be Updated
This is how I solved the issue.
I had this weird error after app was successfully compiled and it was simply due to a null variable involved in a plist command executed post build.
Just try to close and reopen VS, it worked for me.

Issues with starting an UITest after upgrade to Xamarin Studio version 6.3 (build 864)

After I have upgraded Xamarin Studio to version 6.3 (build 864) most of the UITests (which have been working fine) are failing. I get the following errors:
SetUp : System.Exception : Unable to contact test backend running in app. A common cause is that the app is not properly linked with Calabash. Please verify that it includes the Calabash component.
SetUp : Calabash.XDB.Core.Exceptions.DeviceAgentException : Failed to install DeviceAgent
ExitCode: 5
-a,--app-path <path/to/app-bundle.app or path/to/app.ipa> Path .app bundle or .ipa
-c,--codesign-identity <codesign-identity> [OPTIONAL] Identity used to codesign app bundle [device only]. Deprecated - should use profile path. DEFAULT=
-d,--device-id <device-identifier> [OPTIONAL] iOS Simulator GUIDs
-p,--profile-path <path/to/profile.mobileprovision> [OPTIONAL] Path to provisioning profile
-u,--update-app <true-or-false> [OPTIONAL] When true, will reinstall the app if the device contains an older version than the bundle specified DEFAULT=1
install <device_id> <app_id> <profile_path> <codesign_id> <resign_object>
Error checking if application is installed: Error Domain=com.facebook.FBSimulatorControl Code=0 "Application with bundle ID 'com.apple.test.DeviceAgent-Runner' is not installed" UserInfo={NSLocalizedDescription=Application with bundle ID 'com.apple.test.DeviceAgent-Runner' is not installed, NSUnderlyingError=0x7fc0d46a88a0 {Error Domain=NSMachErrorDomain Code=-308 "(ipc/mig) server died"}}
According to error 1: My app is properly linked with calabash, this because it has been working on other versions of Xamarin Studio.
According to error 2: I can see Xamarin has installed the deviceAgent app on the simulator, but for some reason the installation has failed.
Can anyone provide me a solution?
I have already seen the "Error checking if application is installed:". The issue appeared when iOS 12.0.1 went live because the Xamarin.UITest package needed an update (from Xamarin.UITest 2.2.6 to 2.2.7).
"Unable to connect to testing backend" error might be caused by build configurations, maybe you have some compilation constants(#IF DEBUG) and calabash is started only in Debug mode, while you're trying to run on Release, might be worth checking.
"Device Agent Failed to install/launch" is a random error that can happen from time to time, when I encounter this I usually fix it:
Deleting App and Device Agent and running again
Quit Simulator
Quit VS and Restart
MacBook Restart.
Hope this helps!

ionic build android command not working

am new to ionic, I have followed the steps to setup the environment for developing ionic apps from ionicframework site but am stuck on using the ionic build android command coz I get this error
[Error: Please install Android target: "android-17". Hint: Open the SDK manager by running: C:\Program\ Files\Android\android-sdk\tools\android.BAT
You will require:
1. "SDK Platform" for android-17
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)]
ERROR building one of the platforms: Error: cmd: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 2
and all these build-tools and platform-tools are installed.what might be the problem please.The android command on win cmd is working well coz its openning the sdk manager
Error image

Cordova platform add windows EACCES error

I was trying to add the windows platform (I use OSX 10.9) and the console gave me this error: EACCES.
bash-3.2# cordova platform add windows
WARNING: Applications for platform windows can not be built on this OS - darwin.
Adding windows project...
Error: spawn EACCES
at exports._errnoException (util.js:746:11)
at ChildProcess.spawn (child_process.js:1155:11)
at Object.exports.spawn (child_process.js:988:9)
at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:100:31)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/platform.js:151:39
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
You can't add Windows cordova platform inside OSX because not supported. You need to use Windows based machine.

Resources