running an application on the Simulator
got this message when you try to run my application.
"" launch firstappproject the device debugging"has encountered a problem.
There is no such thing as the specified program in the launch configuration file.
How can I fix this so I can run my application?
I would like to begin by ensuring that you have built the version of the application you are trying to run.
- In the Project Explorer, right-click on your project and select Build Configurations > Set Active > Simulator Debug.
- Now build your project by right-clicking on your project and selecting build the project.
- Make sure you use the correct type of version on the Simulator going on run > Run Configurations... on the Momentics menu bar. On the main tab, make sure that Build configuration: is set to Simulator-Debug.
- Type a name for the run Configuration if you have not already.
- Click run.
Tags: BlackBerry Developers
Similar Questions
-
IAM working for BB 10
Need to port to android BB
Please resolve these issues.
11-05 14:56:47.049: E/AndroidRuntime (1626): FATAL error: main
{11-05 14:56:47.049: E/AndroidRuntime (1626): java.lang.RuntimeException: could not start the activity ComponentInfo{com.tru/com.yupptv.android.yupptv.MainActivity}: java.lang.UnsupportedOperationException: device doesn't have a package com.google.android.gsf
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
11-05 14:56:47.049: E/AndroidRuntime (1626): to android.app.ActivityThread$ H.handleMessage (ActivityThread.java:1234)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.os.Handler.dispatchMessage(Handler.java:99)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.os.Looper.loop(Looper.java:137)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.main(ActivityThread.java:5039)
11-05 14:56:47.049: E/AndroidRuntime (1626): at java.lang.reflect.Method.invokeNative (Native Method)
11-05 14:56:47.049: E/AndroidRuntime (1626): at java.lang.reflect.Method.invoke(Method.java:511)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
11-05 14:56:47.049: E/AndroidRuntime (1626): at dalvik.system.NativeStart.main (Native Method)
11-05 14:56:47.049: E/AndroidRuntime (1626): due: java.lang.UnsupportedOperationException: device doesn't have a package com.google.android.gsf
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.yupptv.android.yupptv.BaseActivity.onCreate(BaseActivity.java:189)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.yupptv.android.yupptv.MainActivity.onCreate(MainActivity.java:68)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.Activity.performCreate(Activity.java:5104)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
11-05 14:56:47.049: E/AndroidRuntime (1626):... 11 moreIt is true, that we don't have gsf (google services framework), which is not part of the open source android.
It is not something we "can just fix.
-
Unable to run my application within the Simulator.
It is fixed. I made a rookie mistake by not only not a main Sub static entry point. Thanks anyway.
-
Impossible to deploy my application on the Simulator more
Since there are 4 days, I can't deploy and run my application on the Simulator more, I get this message all the time:
Failure of deployment: Info: request shipment: install and launch
Info: Action: install and launch
News: Native debugging: on
Info: File size: 482774
Info: Installing eir.bb10.CorporateContacts.testDev_ateContacts1e5ecb89...
Info: Treatment 482774 bytesWhat could be the problem? I later use NDK, reinstalled all, using 3 different simulators, including the most recent, but without success.
I'd appreciate any help. It is very annoying, because I can't do any work and ship expected app updates, I face the environment of dev for 4 days! I have worked on many platforms and with many different tools, but I've never experienced anything like this.
Thanks for the reply!
I managed to get things running in a similar way. I uninstalled everything, including the NDK and start over. I returned to VMWare Player v.4. I work mainly with outdated Simulator, we run the fastest for me, although later runs now too.
Yet EACH deployment on a Simulator takes several attempts, I don't remember when was the last time that the deployed application and runs correctly on the first attempt. I also change the download settings, switching between 'install bar' and 'clean install', these two works more often for me. Another thing to try in the meantime is to go for debugging directly, if the race does not...
It is a terrible experience and it's very laborious, as I end up losing most of my time trying to run my application on the Simulator, instead of productive coding. Sorry BlackBerry, but it's worse that develop for Android, iOS, Windows Phone, Java ME... I develop for these systems and has never had any topic also with any of them.
One of the reasons for the app started working again maybe do something with the code, because it contained errors, but the construction still successfully passed and they never showed me any error message in the IDE or in the Simulator. Anyway, I'll never know if my code had something to do with the cause of the problem, because the 'hack' held an older VM etc. But I write this so that people know that it can theoretically hinder deployment too.
-
Cannot find my application on the Simulator
Hello
use eclipse ide for the development of the BB application.when I run my application on the Simulator, I can't find my application in the downloads (simulators) .plz help me
Krishna,
Have you created a debug or run your application configuration?
Follow a previous post of mine:
-
I bought this new comp with windows 7 already installed. has worked fine up intill a week or two it y a. I installed a new game, and after installation, I press launch to play it and pop up with a message saying not sufficient privileges: you must be an administrator when you run this application for the first time. also, I thought that I must be the administrator when I tried to launch the disk defragmentation. my account is the administrator account so I don't understand why they say that.
I'm sorry. I was reading through additional FAQS regarding the same problem. I saw where someone said to try to add another admisistrator account to try to take on the former. but I had no luck with this ether. I also downloaded the program of the UAC, and I turned it off, reset my computer and still no change to my problem. I also tried to download the MSE restore tool, but I found myself with a message saying that I have no MSE
Sorry, the MSE tool is to set the MSE when its broken.
UAC controller Tool v1.0 can be used to control the
The UAC settings.However, I suggest you restart the PC and after BIOS hold the F8 key
and when the Windows Startup Menu appears, select Mode safe mode with networking.Now, you will enter Safe Mode. On the page to connect, you will see the
Standard Windows administrator click it to open a windows session, press and hold
in mind, the password can be blank.Once you have done that make a new account administrator and giv it a name.
Restart the PC. That you did this newspaper using the new account.
Once you have done that decide what to keep with your current administrator
account once you've done it restart the PC, BIOS hold down the F8 key and
Select Mode safe mode with network and enter dependencies the Standard Windows administrator.Go to control panel-> user accounts control and security for the family-> user accounts, then
Select manage another account. In the list, select the administrator account
your select and then delete the account, then it will ask you if you want to keep
files etc, it's your own decision. Itknowledge24.com -
How to run an application when the cell phone is power on
I want to run an application when the cell phone is power on. It runs in the background, how so, please give me a code, I don't know, thanks
It is enough to set project properties in JDE as shown on the attached photo (check below: screenshot.png).
-
Test the application on the Simulator
Hello, I have again in webworks, I have my application in bbui, but I have to test this in the Simulator, how can I do this?
Anywone has a tutorial?
Thank you
http://developer.blackberry.com/html5/documentation/setting_up_your_tools.html installation tools
tutorial for fist app run http://developer.blackberry.com/html5/documentation/creating_hello_world.html
-
Impossible to run my application on Z10 Simulator
Hello
I tried to run my application built on 10.1.0.1020 SDk on my Z10 Simulator, it did not work. Then I checked my Z10 Simulator and the version was 10.0.9.1673 which is older than my SDK. I tried on my Simulator of Q10 and it worked. If im a little confused here. Should I update my OS Z10?
Momentics should provide the 10.0.9.1673 SDK in the update section. It is installed in my Momentics. However, if it is no longer supported you can install a later version of the SDK and a later version of the Simulator. The last Z10 Simulator should be 10.0.10.822.
-
How to bring back the settings page in list of applications in the Simulator BB10
Hi all
I'm working on BB10 and I went on the mode of development, but when I wanted to return to the list of the application of the settings screen there appear to be no optiion to navigate back, any help.
Thank you all
I'll assume that you want to hide the settings and return to the list of request regulat.
You go with your mouse to the bottom edge of the Simulator upward (as you would with a device BB10). Or you can drag upward and to the right, then you will stay in the HUB, you can then drag to the left to see the running application (in your case, you should see the settings).
If the Simulator is locked (some time has passed since you have been active on this issue), you will need to drag updwards until it unlocks the device and you is no longer the clock, then you can remove the mouse and the device will be unlocked.
If this isn't what you're talking about, then can you please provide more information.
-
deploy the application on the Simulator console
Hello
I want to deploy my application on the BB Simulator without going through Eclipse. In more detail:
-from the emulator in debug mode (with the correct settings)
-deploy the application in the emulator
-redirect all output to the console for debugging.
Could someone illustrate how to perform this procedure in my console windows?
Thank you
You can deploy an application for the BlackBerry Smartphone Simulator by copying the file of cod to the directory of the Simulator. The Simulator does not support redirection of its debug output to an arbitrary location, however you can use the tool, JDWP included with JDE BlackBerry and BlackBerry JDE component Package to view this output outside Eclipse or the JDE.
Download the BlackBerry JDE or BlackBerry JDE component Package
http://NA.BlackBerry.com/eng/developers/javaappdev/javadevenv.jsp
-
Not found payment module: Get cannot start my application on the Simulator
Hi guys,.
My project successfully compiled the JDE 4.5.0. But I am after the error message when running the app on the Simulator:
Starting MyApplication Searching installed codfiles for alias 'paymentapi' Searching uninstalled codfiles for alias 'paymentapi' Module 'paymentapi' not found.Error starting MyApplication: Module 'paymentapi' not found.
I added some paymentapi.jar for my project. Project-> properties-> Build tab-> any Jar files.
What's wrong?
Please guys advice.
Thank you.
I found the solution. We need to compile the JAR file in a new project.
Here's how:
-
AS3/AIR with interpolation/testing applications outside the Simulator
I have a few questions here.
(1) I want to implement a Tween more to my application, but most of the examples I find it introduce as an application, flash or Flex, that quiet honestly Flex/XML/Any-language-help -<> > TERRIBLE is to write the code for, and my application is strictly written in AS3. I searched for a while and I found a few examples, but I can't get them to run in the environment AIR runtime, even if I saw videos of people doing exactly that. Anyone else cela and could perhaps shed some light on how to test your application in the AIR runtime env?
(2) also if anyone knows of some good examples of interpolation made in pure AS3, perhaps even in the EPS to AIR that would be GREAT! I learn best by taking examples and pulling them apart.
I'm not really sure how to answer Q1, but I will say that I'm pure - AS3 apps, as I think that most people on this forum do, so it's not any problem to do in pure as3 apps. See http://docs.blackberry.com/en/developers/deliverables/25068/Creating_your_first_application_1348731 _...
Regarding the second question, it is integrated into the SDK API called Tweener. It's super easy to use. You can see the reference of the document with many examples to http://hosted.zeh.com.br/tweener/docs/en-us/. The key is:
Tweener.addTween (yourObject, {property1:final_value, time: numSeconds, transition: transitionName});
yourObject is, in fact any object, but probably a display object in many cases
inside the curlies, you can specify as many properties of "yourObject' as you want (such as x, y, scaleX, color etc...). final_value is just the value that the property will be at the end of the numSeconds is (a number). The above site, I gave you a list of all the transitions you can use (as exponential or linear, etc.).
-
Problem when launching an application in the Simulator with Eclipse
When I try to launch my app in the Simulator in Eclipse, I get the following error:
An internal error occurred during: "Android-my-app launch"
com/android/sdklib/xml/ManifestData
I guess there is something my manifesto, but my app works fine on the Simulator Android and the market and the actual hardware. Also, I could check my apk online and everything was fine. Is there something that I am missing?
Thank you!
I solved this problem by installing beta Plugin for Eclipse version BB.
Here: https://developer.blackberry.com/android/documentation/install_plugin_prerequisites_1895476_11.html I read that they suggest to use the beta rev 20 ADT plugin. I installed and now everything works for me.
Here's the URL for Eclipse:
https://bdsc.webapps.BlackBerry.com/Android/downloads/eclipseplugin/beta/
Try this solution. Good luck!
-
How to run my application in the background?
Hi all
I designed a UI screen to play a song.
And on click of a button, I want the opportunity to go to my application in the background. Such as screen not updated, but the song continues to play.
Thank you
Mudassir
tried the method requestBackground to put your application in the background?
Maybe you are looking for
-
As I tend to use the arrows to scroll on my laptop as it is difficult to do with the mouse. I would like to be able to go to a single line of text at a time. When I updated to Firefox 10 I started to scroll 3 lines at once. So I was wondering if ther
-
HP Pavilion zv6000: forgotten password for HP Pavilion zv6000 power
Forgotten password power on and get error code for 04633.
-
Another series of recent buggy XP SP3 updates KB2572073 KB2633880 KB2518864
Tonight, both of my XP SP3 boxes receive 3 updates to .net 2.0 offered several times; KB2572073KB2633880KB2518864 I find that odd, especially when we're between update cycles. Whenever I told it to install, it finally says "successful installation" A
-
Laptop G60-549DX (with OS Windows7-problem with the microphone when using Skype)
Just bought a laptop G-60-549DX. His mic is BAD. Voice of cuts to when using Skype. Help!
-
Adding a new MBR on the drive where is installed Vista Ultimate
My computer has the following configuration. (.. .and works very well!) = Player disc-1 =.* (Vista Boot Manager)* XP (C :)) = Player disc-2 =.* Vista Ultimate (e :)) (when I installed Vista, he installed BOOTMGR to drive hard-1)) My question/proble