Application not installing on BlackBerry simulator - blackberry

I am developing an application for BlackBerry. When I run the application in the simulator, it shows a message that the workspace encountered a problem:
Error: Cannot run program "jar":
CreateProcess error=2, The system
cannot find the file specified
Packaging project REL-1.1.1 failed
(took 3.773 seconds)
What should i do next?

Copy the jar file.
from: C:\Program Files\Java\jdk1.6.0_21\bin\jar.exe
to: C:\Program Files\Java\jre6\bin\jar.exe
And, restart your eclipse.

Related

Release build of iOS MAUI failed with MSB3191 (incorrectly combined path)

Building release of iOS MAUI app (Remote Device) failed with this error message:
Code MSB3191
Description Unable to create directory "obj/Release/net6.0-ios/ios-arm64//stripped/Microsoft.Extensions.DependencyInjection.Abstractions.dllDevelop\Test\MauiApp1\obj\Release\net6.0-ios\ios-arm64\linked". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
File C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.4.446-ci.-release-6-0-4xx.446\targets\Xamarin.Shared.Sdk.targets
Line 751
It is a new project created from template ".NET MAUI App" - I just changed Application ID and Provisioning profile. Windows 10, new installation of Microsoft Visual Studio Community 2022 (64-bit) - Current, Version 17.3.5. Connected to remote Mac with Xcode 13.3.1.
Debug build of iOS (Local Device or Remote Device) is ok. Release build of other platforms (Android, Windows) is ok...
Does anyone have any ideas on how to fix this?
Finally found the solution:
Executing the command dotnet workload restore "full-path-to-your-sln" did the magic!
Update:
Above command did not work - I had to opt-out ILStripping by editing project file. I added:
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net6.0-ios'">
<EnableAssemblyILStripping>False</EnableAssemblyILStripping>
</PropertyGroup>

ionic build ios error unrecognized command

Just testing a app. Trying to run the ios simulator. Got error message. Please help.
$ ionic build ios Running command: "C:\Program Files\nodejs\node.exe"
C:\Users\Johnson\desktop\ionic\todo\hooks\after_prepare\010_add_platform_class.js
C:/Users/Johnson/desktop/ionic/todo add to body class: platform-ios
Running command: cmd "/s /c
"C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build""
'C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build' is
not recognized as an internal or external command, operable program or
batch file. ERROR building one of the platforms: Error: cmd: Command
failed with exit code 1 You may not have the required environment or
OS to build this project Error: cmd: Command failed with exit code 1
As the error says
You may not have the required environment or OS to build this project
this refers to you not having iOS build tools (xcode) available on your machine. xcode is not available on windows machines.
You cannot build iOS apps on Windows machines. You may build for android, providing you have the android sdk + build tools installed.

iOS Build successed by Emulator, but failed by Remote Device

I try to build iOS App from my Win10 in Parallels Desktop. Building Emulator is OK, but I want a .ipa file and try "Remote Device", and has following Error.
Severity Code Description Project File Line
Error Specified application doesn't exist or isn't a bundle directory : 'platforms/ios/build/device/io.cordova.myapp474c62.app' HuaheWeb C:\Projectes\HuaheWeb\HuaheWeb\MDAVSCLI 1
Error Specified application doesn't exist or isn't a bundle directory : 'platforms/ios/build/device/io.cordova.myapp474c62.app' HuaheWeb C:\Projectes\HuaheWeb\HuaheWeb\MDAVSCLI 1
Error Specified application doesn't exist or isn't a bundle directory : 'platforms/ios/build/device/io.cordova.myapp474c62.app' HuaheWeb C:\Projectes\HuaheWeb\HuaheWeb\MDAVSCLI 1
Error Remote build error from the build server Build failed with error Command failed: /bin/sh -c xcrun -v -sdk iphoneos PackageApplication platforms/ios/build/device/io.cordova.myapp474c62.app -o /Users/mai/.taco_home/remote-builds/taco-remote/builds/844/cordovaApp/platforms/ios/build/device/xxx.ipa HuaheWeb C:\Projectes\HuaheWeb\HuaheWeb\MDAVSCLI 1
Error Specified application doesn't exist or isn't a bundle directory : 'platforms/ios/build/device/io.cordova.myapp474c62.app' HuaheWeb C:\Projectes\HuaheWeb\HuaheWeb\MDAVSCLI 1
I had the same problem when building a Cordova app for iOS using Visual Studio 2015 Update 1. In my case it was a problem with the Cordova CLI version - I used "5.4.0" which gave the same errors as you have.
Then I switched back to "5.3.3" (the default version of a new Cordova project in VS) and now it successfully builds the .ipa file.

Appium iOS Simulator Setup error

I have a .app file that I copied to my mac in a local directory (Ex: /appium/test.app) and I pointed appium to the .app file. I'm getting the following error when running in the simulator:
Could not save new Info.plist
Error: ENOTDIR, not a directory
Can any one resolve my issue? Correct me if i am doing any fundamental wrong.
I've gotten that error if I start the Appium server via the Mac App and point it at an .app directory in the Settings of the app.
You should try running Appium from the command line.

Loading BlackBerry application from command line

I am following the instruction from "Using the BlackBerry Smartphone Simulator programmatically" to load a .cod file from the command line using fledgecontroller commands. I am calling LoadCod(D:\Sample.cod) and nothing happens; the application does not install on the simulator. However if I manually browse and load the cod from the simulator's “file->Load Java Program” option.
Do you get any error message at all?
If I try a similar thing (have a cod in C:\Sample.cod, connect using fledge and attempt LoadCod(C:\Sample.cod)) I get the following error message -
Jvm: could not open C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.5.0\4.5.0.55 (8310)\sample.cod
I moved the sample.cod to that directory and it worked okay. If you get no error message I am not sure what the problem is. Are you definitely connected to the correct simulator session? What simulator and OS version are you using?

Resources