Cannot generate the phonegap example .bar file

Hello

I'm currently building the BB10 webworks app sample using the example provided in the phonegap blackberry folder.

I am following the exact steps provided in phongap Start Guide.

When I run the command ant qnx generate in the terminal I got follwing answer.

[echo] Generated name: cordovaExample.bar

clean:

package-app:
[mkdir] Created dir: / Users/XYZ/Desktop/example/build/widget
[copy] 25 file copying to/Users/XYZ/Desktop/example/build/widget
[copy] Copy the 3 files to/Users/XYZ/Desktop/ABC/Downloads/RIM/Blackberry_Webworks_10/Framework/ext
[zip] Building zip: /Users/XYZ/Desktop/example/build/cordovaExample.zip

Update:
[exec] [ERROR] Invalid command line argument "-loglevel.

I get the .zip file in the folder instead of the .bar file generation.

I use:

Mac OS: 10.7.5

PhoneGap (Cordova): 2.5

JDK: 7 update 15

Please give your valuable suggestions if I'm missing something.

Kind regards.

I would like to use the last version of the SDK, simply because, why not?

With regard to the process he get up and running on BB10, take a look at these resources

Knowledge base - http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Porting-your-existing-PhoneGap-a...

Getting Started Guide - http://docs.phonegap.com/en/2.5.0/guide_getting-started_blackberry_index.md.html#Getting%20Started%2...

Tags: BlackBerry Developers

Similar Questions

  • Cannot generate the SQL * Net trace file on Linux

    Oracle 11 g 1 material

    RHEL 6.3

    --------------------

    SQLNET.ora file:

    SQLNET. AUTHENTICATION_SERVICES = (DOB, TCPS, NTS)

    SSL_VERSION = 0

    SSL_CLIENT_AUTHENTICATION = TRUE

    SSL_CIPHER_SUITES = (SSL_RSA_EXPORT_WITH_RC4_40_MD5)

    LOG_DIRECTORY_CLIENT = / home/oracle

    LOG_FILE_CLIENT = SQLNET.log

    TRACE_DIRECTORY_CLIENT = / home/oracle

    TRACE_FILE_CLIENT = SQLNET.trc

    DIAG_ADR_ENABLED = OFF

    TRACE_UNIQUE_CLIENT = WE

    The sqlnet.ora file above does not create a trace file when you try to use SQL * more to connect to the remote database.

    What could be the problem?  (The user has write access to the directory where the log file and the Commission of truth and reconciliation must be created)

    Answered my own question.  It was that o/s was THAT RHEL 5.3 and that caused some compatibility problems.  Updated to 6.5 and all is fine.

  • Cannot generate the thumbnail on all widgets (including integrated)

    My installation of Muse (2014.2, OSX Mavericks) gives me a "cannot generate the thumbnail" error one no matter what widget I place (including built-in ones, my own and those that I downloaded from the site of Muse documentation on github).

    So far, I have tried many things including restart Muse, reboot the machine, turn off all browsers in the background, but I can not change this behavior.

    This problem is specific to the machine, I'm getting because the same site on the exact version on another machine (os x mavericks) does not give me this behavior.

    Any help is appreciated.

    Thank you


    A.

    Solved. While this problem appeared machine related, it wasn't - it turns out that I had added a js file in my page header that was missing.

    So, the moral of this story is that if you do not see the "unable to generate thumbnail error", look at all the custom HTML you added to the site. Errors in the HTML elements may appear in the wrong place.

    A.

  • Internal error detected, cannot generate the eBook (11 Robohelp)

    Hello

    I'm new to Robohelp (I've been a user long term of Framemaker for print publications).

    The generation of Ebook of the carrycot single Source Layout has stopped working and I get this message: internal error detected, cannot generate the eBook (11 Robohelp eBook preprocessor 11.0.0.179)

    Compilation G:\Development\Course Development\CONE-online\Characteristics-of-light\Robohelp\Characteristics-of-light\Charac light\ Ta! SSL! \eBook\! epub_tmp_folder_0\Characteristics_of_light. EPUB...

    Preparation create eBook...

    Compensation output folder...

    Preparation of files for eBook...

    Copying files...

    Updating files...

    Finish the preparation in 4 seconds

    Initializing the compiler...

    Generation of output - eBook eBook Manager (11.0.2.240)...

    Transforming XHTML topics...

    About XHTML preparation "Questions_about_light.xhtml"...

    About XHTML preparation "The_Electromagnetic_Spectrum.xhtml"...

    Preparation of subject XHTML ' Using_wave_properties/Interferometry.xhtml '...

    Preparation of subject XHTML ' Using_wave_properties/Mach - Zehnder_modulators.xhtml '...

    Preparation of subject XHTML "Using_wave_properties/The-wave-properties-of - light .xhtml"...

    Preparation of subject XHTML ' Wavelengths_and_Frequencies_in_optical_networks/ITU_bands.xhtml '...

    Preparation of subject XHTML ' Wavelengths_and_Frequencies_in_optical_networks/Light_sources_and_wavelengths.xhtml '...

    Preparation XHTML topic ' Wavelengths_and_Frequencies_in_optical_networks/Wavelengths_and_Frequencies_in_fibre_opt ics.xhtml '...

    Preparing to Table of contents...

    Output EPUB 3...

    EPUB 3 output generation failed.

    Internal error occur, could not generate the eBook.

    Could someone give me advice on what to do to fix? What have I done? I tried to install Adobe digs Eds 4 and it seems stop working after that, but I tried to uninstall that and it is always the same. I also tried to reinstall TCS5. Reactive out of HTML5 still works ok.

    Thanks in advance,

    Sarah

    It could be a longshot, but try to move the project to a place where the path is shorter. I had a similar problem (I think I got the same error a few months ago, but I can't be 100% certain), where the epub was not able to generate, and I tried to move my project to another location where the path to the files was shorter. This solves the problem for me.

  • Cannot generate the main Layout, invalid media error

    Hello

    I am currently using Robohelp x 5. I get the error, "invalid media. Cannot create the Y:\JUSTIN\AwareHelpStage file", when I try to generate the main layout for my project. Does anyone have an overview of what could be the problem?

    Also, when I go to, file-> generate primary layout and change the output folder. I get a different error, 'Please select a new subfolder of the project or folder out of the path of the project'.

    I do not have a "Y:\. "on my computer or, at least, when I try to make my computer can't find it.

    I have 95% connections and only a few .png in my project. Could be the error media that this is a reference?

    I changed the name of my .xpj, about 70% of the way the project, that it was by. I'm not sure, if I tried to generate a main page layout because I changed the name. Could there be some kind of confusion in the system when it is trying to produce the layout because of this? The reason why I ask, because it asks the name of my project, the name in the text box 'Project name', when I go to file-> generate a main page layout.

    Thanks for your time,

    Ben

    Hello

    There seems to me to refer to a network location.

    I might suggest you right click on your unique Layouts of Source folder and create a totally fresh provision. Leave the path to the output folder because it is in the new provision. See if that solves nothing.

    See you soon... Rick

    Useful and practical links

  • Jpg file printing - windows cannot access the specified device, path, file

    Original title: I have a similar problem, I can open the jpg fine, I can't print it

    I have a similar problem, I open the jpg fine, I can't print it, permissions are fine. I get the same erorr-windows cannot access the specified device, path, file...

    Hi Janine.

    1. are you able to print documents?

    2. the problem occurs only with a particular image file?

    3. how the printer is connected to the computer?

    4. What is the brand and model of the computer and the printer?

    5. have you logged as administrator?

    Method 1:

    First of all, try to print a test page and check if it works:

    To print a test page

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_test_page.mspx?mfr=true

    Method 2:

    I suggest you check out the link to use the System File Checker tool (SFC) to troubleshoot missing or corrupted system files in Windows:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    Note: you must have the Windows XP disc to make the SFC scan.

    Method 3:

    I suggest you to turn off all third-party security software and the Windows Firewall and then try to print the file:

    How to change or remove a program in Windows XP

    http://support.Microsoft.com/kb/307895

    How can I turn on or turn off the firewall in Windows XP Service Pack 2 or later versions?

    http://support.Microsoft.com/kb/283673

    Note: run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.

    Let us know the results.

  • "Windows cannot access the specified device or file. You can not have the appropriate permissions to access the item. "When you try to open a. EXE file.

    Windows cannot access the specified device or file. You can not have the appropriate permissions to access the item.

    Well, I was on my computer, I tried to open an exe file and I got this message

    Windows cannot access the specified device or file. You can not have the appropriate permissions to access the item.
    I have windows xp, anyone have an idea what to do?

    Hi Reaper14,

    ·         The question is limited to this particular .exe file?

    ·         You can open other files very well?

    If you are unable to open a .exe file, refer to the following article.

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/) how to back up and restore the registry in Windows

    Click on the link below.

    Cannot open EXE files

  • Search error Windows 7, ""Windows cannot access the specific bequest, a file, or a path. " May not permissions to access you the item. »

    When I try to use the search in Windows 7, I received the following message: "Windows cannot access the specific bequest, a file, or a path. May not permissions to access you the item. "I tried google problems and even went to the functionality in windows control panel - program - turning on or off, to make sure that I have the search function on. Also, I read in the community that you can use the search to find a file named regedit.exe to correct the situation. However, I cannot use the search function yet, so cannot find the file in question.

    Simon,

    Please contact the Microsoft Community.

    I would like you to follow the steps in this article-

    http://support.Microsoft.com/kb/2669244/en-us#top

    Note: Disabling the antivirus is at your own risk.

    We know if that helps.

  • Cannot generate the Word .doc

    100 classic page chm project compiles successfully. You will need to create the document Word for graphic designer do a nice .pdf. Get warnings (style not defined, mapped to normal). Can not find the style not defined in the code, but see some class = msonormal elements. Then, I get error "Word Document became corrupted when you attempt to add a topic malformed". Then, RoboHelp is unable to deal with a subject. Then it has Fatal Error "Word Document got corrupted" and she is abandoned. A little more of these erros and he cannot generate the rest of the Word document.

    Cannot search this forum for "malformed", either. Get a "Variable FTVAR_RESULTTYPE is undefined." Message.

    Cannot find the whole chain, but the deletion of any reference MSObookmark did the trick, thanks

  • Cannot create the debugging token (.bar)

    Hello

    A few months ago I got xxx.csj - RDK-client and client-COMINCO - xxx.csj and registered with blackberry-signer. I used them to sign my applications published in the world of Blackberry. Some time later, I registered author.p12, barsigner.csk, and barsigner.db in a place course and then reinstalled my Windows OS.

    Today, I tried to create the debugging token. If I run:

    C:\bbndk-2.1.0\host\win32\x86\usr\bin\blackberry-signer-s'inscrire - csjpin - storepass xxxxxxxx xxxxxxx customer-RDK - xxxxxx.csj customer-COMINCO - xxxxx.csj

    I get an error:

    Cannot save client xxxxxxx because there is no more the record attempts. If you are already registered with this server, you must restore your backup signing keys. If you do not have a backup of the key, then you can order a new set of keys at www.blackberry.com/go/codesigning

    OK, I have my author.p12, the barsigner.csk and the barsigner.db, so I tried:

    C:\bbndk-2.1.0\host\win32\x86\usr\bin\blackberry-debugtokenrequest cskpass - xxxxxx - keystore author.p12 - storepass xxxxxxxx - deviceId xxxxxxx debugtoken.bar

    I get an error:

    Error: Not yet registered to request debugging tokens

    What's wrong? How can I generate a debugtoken (.bar file)?

    Oops! My mistake, I forgot to copy author.p12, barsigner.csk and barsigner.db to the default location:

    C:\Users\\AppData\Local\Research in motion

  • Cannot change the Google search bar

    In Safari, I go to Google.com and do a google search. So far so good.

    Now, on the search results page, I try to edit the search in the Google search bar and nothing happens - the Google search bar is totally insensitive. To do another search, I use the address bar in Safari or reload google.com.

    I have deleted history, deleted all the data of the Web site, disconnected plugins and extensions, deleted the cache via the menu Developer. I used 3 CleanMyMac to clear and reset everything.  I can't solve the problem.

    Safari 9.0.2 (11601.3.9)

    OS X El Capitan 10.11.2

    Mac Mini (late 2014)

    A

    Please see below:

    Cannot change the Google search criteria in Safari

    B

    'CleanMyMac' is a scam and a frequent cause of instability and poor performance. Depending on which version you have, the developer's instructions may not completely uninstall. Please follow these instructions, then do as below.

    Please, back up all data before proceeding.

    Triple-click anywhere in the line below on this page to select this option:

    /Library/LaunchDaemons/com.macpaw.CleanMyMac2.Agent.plist

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ reveal in Finder (or just to reveal)

    the contextual menu.*, a file can open with a selected item. If so, move the selected item to the trash. You may be prompted for administrator login password.

    Repeat with this line:

    /Library/PrivilegedHelperTools/com.macpaw.CleanMyMac2.Agent

    Restart the computer and empty the trash.

    You may also delete one or more of these elements in the same way:

    ~/Library/LaunchAgents/com.macpaw.CleanMyMac.helperTool.plist
    ~/Library/LaunchAgents/com.macpaw.CleanMyMac.volumeWatcher.plist
    ~/Library/LaunchAgents/com.macpaw.CleanMyMac3.Scheduler.plist

    Never install "CleanMyMac" or something like that.

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

  • Cannot change the active title bar

    Hey people.

    I use a HP Envy (Windows 7, etc.), a year or so old, but I just did a reset complete system - a few days ago. It is therefore running (approximately) on the parameters of the box.

    However, I have problems by changing the settings of the active title bar for programs that do not have their own settings of active title bar (think Windows Explorer vs Google Chrome). This has caused some problems, especially for things like Mathematica, where the menu under the title bar is screwed up. More important still, it seems just ugly.

    Unfortunately, go into the settings of customization (including advanced settings) in Control Panel does not work. In fact, the parameters are essentially the value by default and cannot not even match at the exit. It is quite confusing.

    Any help would be greatly appreciated. Please let me know if I can provide more information on the parameters, specifications, etc.

    Hello

    Thanks for posting the request in the Microsoft community forums.
    I understand that you can not change the active title bar on Windows 7.

    Please answer the following questions:

    1. you receive an error message on the computer?

    2. what happens when you click on personalization in Control Panel?
    3. don't you make changes on the computer before the show?

    I imagine the inconvenience that you are experiencing. I will certainly help the question of fixing.
    Try the troubleshooting steps provided in the links and check.

    Method 1:
    Put the computer in a clean boot state, and check if the problem is caused due to any third party software.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After the adventures of shooting set the computer to start as usual by performing step 7 above of the Knowledge Base article.

    Method 2:
    To resolve the problem use (SFC.exe) System File Checker tool to determine which file is causing the problem, then replace the file. To do this, follow these steps:
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    In the future if you have problems about the title bar active on Windows 7, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

  • Cannot generate the schema help

    Hi all
    I am facing a problem, try to generate a WebHelp primary schema, when I click on the "Main Layout View" buttons or "generate primary Layout." nothing happens. I use RoboHelp 7 with MS Office Word 2007.
    I'm working on 2 projects, and what happens in one project only, so I think it's perhaps something in the file format!
    I also noticed that when I click button 'save' and then try to close the word document, an apears confirmation message that I have to save first, when I click on save and try to close the file word; the confirmation message appears once again, the only action that allows me to close the file is click 'No' to the backup dialog box.

    There is a thread where a few Adobe RoboHelp for Word 7 users have reported that they cannot save the changes or generate output. The issue has been isolated to the RHComAdd.DLL be disabled.

    What to look for in Word

    -For versions 2003, go to help | Everything | Disabled items. If RHComAdd.DLL display, re - enable.

    -For Word 2007, click on Office button | Resources | Everything | Macros complementary. Under 'Manage', select disabled items. If RHComAdd.DLL display, re - enable.

  • How I rename an item in the main menu bar ('file', 'Edit'...)? With userChrome.css, I changed the 'content', but the 'label' wrote then.

    I'm changing the name of the main "bookmarks" menu item
    Regarding submenu items, I managed to change their 'content' via userChrome.css.
    But setting a name different in a "content" of the bookmarksMenu in this way only leads to show the new name of the menu with its next "bookmarks" label.
    How can I change the tag or remove its display?

    You cannot change the name of a menu via the code item in userChrome.css because you can use this file to make CSS changes and do not change the attributes.

    If you use a content property {content: "new label"} then you add only the text before or after existing text if you want that button would you like to work.

    You create a simple extension to make such a change or possibly use the extension userchromeJS.

  • Executable cannot find the custom error code file

    I'm building a LabVIEW 2013 application on a Windows 7 computer and deploying it to a Windows XP computer. My application has a custom error code file, stored in -- errors.txt, but my executable on the Windows XP machine can't find the custom error file and returns only the string of appeal for all errors that occur.

    When you use is not an installer, I tried to copy the error code at all locations listed here: http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501 but the application still does not load the custom errors. I have the box checked to "Error Codes customized Include" in the construction specifications.

    When an executable of construction and the development of Windows 7 to XP, where do I put the custom error code file? It is found in Program Files (x 86), but find not because it's XP?

    It's been a few months that I posted this question and I do not know if someone cares about this track, but the solution I found was to put the custom in error code file \National Instruments\Shared\Errors\English\

    There are other places that the runtime will look for the custom error codes (I tried all the ones listed above), if the same error codes exist in 2 places the error popup will appear two error messages. Error default 1, it looks like:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires GPIB controller charge controller.

    So if you have a custom error code file and it is available in 2 places that LabVIEW RTE check error codes, you will get the same message before and after the =.

    List the error as "still included" file when building the executable or by checking the box to include files in error did not tour, obviously. Unless you create a Setup program to distribute the application, the error code file must be moved manually. Shared\Errors file works best for me because it's a place that makes sense.

    Also, don't worry - it doesn't me taken 5 months to understand this point, I do not update all my loyal followers (ha) with a solution.

Maybe you are looking for

  • Mac Mail can send but cannot receive mail.

    I have been in contact with my technical support of Verizon.  There is no problem to an end, but my Mac Mail account can send but not receive mail.  What happened three times during the month.  Each time than previous, Verizon has found a problem loc

  • Always on XZ proximity sensor

    HelloProximity of my phone is always turned on (can notice a small red light, especially in the dark), when the screen is turned on. Is this the correct behavior? I thought that the proximity sensor should does that by calling. Thank you!

  • WRT54G - 3 G - AT data card

    I have a WRT54G - 3 G - AT with Verizon PC5740 cellular PC installed in the data card slot.  The problem I have is that the router doesn't show anything in the data card slot.  I also have a WRT54G - 3 G - VN who is able to identify the card when it

  • Scores of deletion/formatting of hard disk

    Formatting and the removal of the hard drive partitions more often or him more often deteriorates its performance? I have Western Digital Blue HDD 320 GB of space with Windows 7 Service Pack 1 installed.

  • Blue screen error 0x0000007E (0xFFFFFFFFC0000005, 0xFFFFF880012DD031, 0xFFFFF880033245E8, 0xFFFFF88003323E40)

    So for some time that I get the blue screen error when I open Google Chrome, so I went through a few forums and how best to deal with it was to uninstall Chrome and then reinstall and immediately worked. But a few hours later, I then tried to open Wo