I am new to Blackberry Development. Now while run the application on simulator I am getting an error like,
Deployment Failed: Info: Obtained qconn connection
Info: Begin device to host file sync
Info: All files already in sync
Info: File sync complete in 7ms
Info: Sending request: LAUNCH
Info: Action: Launch
Info: Debug native: on
Info: Launching com.shidhin.testDev_com_shidhin7fd6f305...
result::Invalid
Info: done
I had the same problem after deleting my target app in the simulator (without uninstalling it).
You can solve it like this:
1. Install BB10 / PlayBook App Manager as a chrome plugin. See details here.
2. Enter your simulator IP there (you can find it in the Device Manager, in momentics IDE).
3. Uninstall your app.
4. Then click run.
It should be working.
Related
Migrating my native script application to 8.1.5 version.
Fixed the errors that occurs when migrating the native script application.
Application build successfully in the emulator. After build successfully getting error in the application.
How to fix this issue?
Try this:
Go to AVD Manager, and click wipe data on the selected emulator:
Restart your machine (adb connection might be lost).
Then restart your project by running:
ns clear
ns run android
If that doesn't open the app on the emulator, run:
ns devices
Spot the emulator ID you want to run the app on
ns build android
ns deploy --device EMULATOR-ID
Note:
Make sure you've done all 4 blue steps in the cli message (in blue).
Getting the following message when installing xamarin forms ios app in physical ios device.
NSLocalizedRecoverySuggestion=Please try rebooting and reconnecting the device. (0xE8000022)., NSLocalizedFailureReason=Please try rebooting and reconnecting the device. (0xE8000022).}
warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.
Launching 'appname' on the device 'iPhone'
warning HE0030: Could not mount developer tools on 'iPhone': Could not locate device support files.
warning HE0031: Failed to mount developer tools on 'iPhone'.
warning HE0030: Could not mount developer tools on 'iPhone': Could not locate device support files.
warning HE0031: Failed to mount developer tools on 'iPhone'.
error MT1007: Failed to launch the application 'appname' on the device 'My iPhone': Failed to launch the application 'apname 'My iPhone': Invalid Service Error (error: 0xe8000022). You can still launch the application manually by tapping on it.
I am using visual studio for mac version 7.7.3(build 43), iPhone 7(12.3.1) and xcode(Version 10.1 (10B61))
I have installed Xcode on mac, not iPhone, is Xcode need to install on iPhone for debugging the app?
I already found the same issue on here. Restarted iPhone, Mac and visual studio as per the solution on that thread, but that didn't help me.
Update to the latest Visual Studio for Mac version (2019) as well as XCode version.
When trying to launch the native watch application from Tizen IDE, I see the strange message "Certain application categories, such as "Watch Application", cannot be launched by "Run As".
Indeed, I try to use Run As from the project local menu to launch my app. But how else I am supposed to launch my application on the emulator?
The emulator device (watch) is up and running, visible on desktop as a separate widget. It is selected. The signing configuration is set up.
On the console output I see the message processing result : FATAL_ERROR [61].
I also tried to launch through the created launch configuration but this results the same error message.
The IDE logs show the following stack trace:
[2015.09.06 12:16:48][ERROR] ConnectionExplorer.java(658) - Fail to get platform log
[2015.09.06 12:18:59][ERROR] RdsDeployer.java(269) - Cannot partially upload or reinstall
org.eclipse.core.runtime.CoreException: [RDS] Cannot install application
at org.tizen.common.rds.RdsDeployer.newCoreException(RdsDeployer.java:699)
at org.tizen.common.rds.RdsDeployer.postInstall(RdsDeployer.java:634)
at org.tizen.common.rds.RdsDeployer.partialZipInstall(RdsDeployer.java:566)
at org.tizen.common.rds.RdsDeployer.deploy(RdsDeployer.java:267)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.deployApplication(TizenLaunchDelegate2.java:783)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launchApplicationForRun(TizenLaunchDelegate2.java:504)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launch(TizenLaunchDelegate2.java:216)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.tizen.common.sdb.command.message.CommandErrorException:
Error code: FATAL_ERROR
Error message:
Command: /usr/bin/pkgcmd -q -r -t tpk -n com.au.heywatch
Management: Installation or uninstallation is not working temporarily.
P.S. I add "eclipse" tag because Tizen SDK is very clearly Eclipse based IDE. Using Tizen IDE 2.3.1.
Watch face applications(Web/native) are never installed as widgets. You cannot see them in app menu.
Reason:
Within your tizen-manifest.xml file in your project, you'll find below line there
<watch-application appid="org.tizen.watchsample" exec="watchsample" ambient-support="true">
which makes your app as watch application and these apps are known as watch faces because they will be used in setting as the main watch in gear.
And on emulator, you cannot change the watch face on the home screen. Hence, you won't be able to test your watch application that way.
Had the same issue. My problem was certificate setup.
i followed there instructions: http://127.0.0.1:50224/help/topic/org.tizen.addon.certificate/html/dev_env/setting_author_certificate.htm
(link is from help and should work in browser when Tizen IDE is up, alternately you can go to Tizen IDE -> Help -> Help Content and search Certificate.
More specific: Distributor certificate i had was wrong (use the pass received by Samsung by email)
After fixing certificate, don't forget to right click your device in Connection Explorer and click Permit to install applications.
I am trying to run my Application from QNX Momentics and install it on my BlackBerry 10 Dev Alpha B device.
The following error occurs
Deployment Failed: Info: Sending request: Install and Launch Info:
Action: Install and Launch Info: Debug native: on Info: File size:
954989 Info: Installing
com.example.projectname.testDev_tertimelinee81dc35f... Info:
Processing 954989 bytes actual_dname:: actual_id:: actual_version::
result::failure 881 debug token signature is not valid
When I am trying to run the app two options are appearing.
1. Create debug token(fails)
2. Import debug token(missing)
Any ideas how can I solve this?
The error you're receiving indicates that you don't have a valid debug token installed on your device.
In Momentics go to Preferences->BlackBerry->Signing and check that your debug token has not expired and contains your device PIN. If it's not valid click Create, Edit or Renew.
Now click Upload to upload the debug token onto your device. Also make sure that your device has the correct date and time, this is a common gotcha when everything else looks normal.
You should now be able to deploy your app without receiving that error.
I'm trying to port my Android app to BB10 using the BB Android Runtime SDK. I've packaged the app OK and created a BAR file, but cannot get it installed on the BB 10 Dev Alpha simulator. I've tried both running the app from Eclipse using Run As->BlackBerry Android Launch, and using the BlackBerry Tablet OS Graphical Aid 'Install' option, and in both cases I get this output :
Info: Sending request: Install
Info: Action: Install
Info: File size: 1709216
Info: Installing ...
Info: Processing 1709216 bytes
In Eclipse I also get the error 'Failed to deploy project ...'. In the BB graphical aid I just get the above output in the 'Operation Output' window. From seeing other posts it seems I should be seeing further log entries such as 'Info: Progress 0%...', 'Info: Progress 50%...' etc. which I don't see. Any ideas what the problem might be?
My experience is double check if the application has already existed. If yes, you have to remove/uninstall it first from the simulator (by long-click on the application's icon and click the recycle icon at the top-right).
Solved this by completely uninstalling VMPlayer and the BB10 simulator, cleaning my registry and then reinstalling. Still no idea why it wasn't working.
Have installed the brand new BB 10 Dev Simulator version 10.1 - the one that allows selecting to boot into Z10 or Q10 device, and I can now deploy my app every time on Windows. Can only assume the problem was caused by bugs in the previous simulator version.