apk2bar command line problem

When you try to build the bar of the APK file and by using command line tools, I get the following error:

Error: MANIFEST. MF, invalid value ' ' for the name of the Application

I have addedapplication android: name = "bbapp" but it does not solve the problem.  No idea what needs to happen to make this work?

I use android review 10 by following the instructions in the LABORATORY to DevCon 2011, etc..  BlackBerry guys in the lab had never seen this error before so maybe that's more a "optional" Android configuration which is considered to be 'necessary' within the limits of the generation of the file BAR?

I found the problem.  Even if the error says Application-Name, the required manifest a label to provide.  It is optional for Android, but apparently necessary for APK2BAR to work.

<>

Android:label="@string/APP_NAME".

Command line to convert:

. / apk2bar YourFileName.apk d ~/Library/Research\ In\ Motion/BlackBerryPlaybookUSBdebugtoken.bar

[BarGenerator]
[BarGenerator] Start packing YourFileName.apk
[BarGenerator] YourFileName.apk... succeeded
[BarGenerator] Summary: Apk Total # 1 files; managed: 1. ignored: 0; has failed: 0

Tags: BlackBerry Developers

Similar Questions

  • Fresh minimal management WebLogic installation command line problems

    I'm always getting WebLogic 12.1.3 works correctly for me.

    I did a new install this morning. My Oracle is c:\orc\mdw\orh. I did a minimal install of WebLogic server and have none of the advanced configurations.

    My domain name is configured on this path: c:\wls\domains\randy

    and contains a single AdminServer. I started my AdminServer at the end of the Configuration Wizard automatically and it is now running.

    I have two problems:

    1. I can't to the console with the URI referenced in my installation: http://%MACHINE_NAME%:7001/console

    I get an ERR_CONNECTION_REFUSED (AdminServer is running according to the command line). I had to enter the username and password in order to start my AdminServer from the command line, so I don't know who was right because the AdminServer started and is running.

    2 if I go in my area bin (c:\wls\domains\randy\bin) directory and run stopWebLogic.cmd I get the error:

    Error: could not find or load the main weblogic class. WLST

    I did not any changes to configuration files and I'm stumped. I can't stop WebLogic from the command line or go to the page of the console in the browser.

    Any ideas?  Thank you.

    You get [error: could not find or load the main weblogic class.] Server] because it seems that WL_HOME is not set correctly, please see the contradictory output

    +++++++++++++++

    CLASSPATH =C:\orc\mdw\orh\wls12130\oracle_common\modules\com.oracle.cie.config-wls-online_8.1.0.0.jar

    .

    .

    .

    -Dweblogic.name=AdminServer-Djava.Security.policy=C:\orc\mdw\orh\wlserver\

    server\lib\weblogic.policy-Xmx512m - XX: MaxPermSize = 256 m-da -Dwls.home=C:\orc\mdw\orh\wlserver\serworm -Dweblogic.home=C:\orc\mdw\orh\wlserver\server weblogic. Server

    +++++++++++++++

    Can you please let us know which directory contains all of the artifacts of weblogic 'C:\orc\mdw\orh\wls12130' or 'C:\orc\mdw\orh\wlserver'.

    Usually the directory "wlserver" is located in the directory "wls12130", have explicitly moved the wlserver outside the wls1230?

    Means that your WL_HOME should actually be 'C:\orc\mdw\orh\wls12130\wlserver'.

    Please visit: https://blogs.oracle.com/imc/entry/weblogic_12c_dev_install_mw

  • COMMAND LINE PROBLEM: HP Pavilion a6703w, garden variety, Vista Home Premium. Help, please. I thank very you much.

    I have a HP Pavilion a6703a.  Garden variety, running VISTA HOME PRE.

    I tried runing a v/chkdsk/f to the command-line (of course).

    I get a message back that says I can't do that;   What should I

    to do this at a HIGH LEVEL.   I don't know what it is.   This is not

    on my DELL 5100 Tower, XP Edition family current version.   Help me, please.

    BUZ/GROVE, OK

    Hello

    Thanks for posting this question in the Microsoft Community.

    I will certainly help you to get the matter sorted.

    1 are logged as administrator?

    2 are you faced with any show related questions?

    3. are you aware of any recent software or the hardware in the computer changes?

    HIGH LEVEL means administrator privileges.  To run the command with elevated privileges, follow the steps.

    (a) click Start

    (b) type CMD

    (c) right-click on CMD , and then click run as administrator

    (d) type the command to run.

    Hope this helps and let us know if you need more assistance. We will be happy to help you.

  • Problem with Xcode command-line tool

    Hello

    Last week I upgraded my macbook pro with the latest OS X Capitan and 7.3 of Xcode.

    I also installed the command line for Xcode Tools.

    But there is a problem because the "command-line tools" in Xcode do not work, for example, I am getting following error:

    MyMacBookPro-5: ~ make amitc$ xcrun

    xcodebuild: error: SDK '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.10.sdk' is not found.

    xcrun: error: cannot find the utility 'make', not a tool of development or on the WAY.

    Does anyone know any solution to this problem?

    (I don't understand why he's trying of MacOSX10.10.sdk, while it must search for MacOSX10.11.sdk).

    With our thanks,

    Amit.

    You agree with the terms and conditions of the license?

    sudo xcodebuild-license

  • XP SP3: "access denied" to \System32 programs command-line, device USB Installer problem

    Hi all

    I recently had some problems with file/folder permissions after the removal of some trojan virus and now it looks like system & user permissions are scrambled for important system files into \Windows.

    The symptoms are:
    -Windows cannot install any driver of all new storable USB device that I connect to my computer, only the previously used one are recognized and properly displayed in the Explorer. For any I get a message saying that Windows cannot find the driver, even if I manually pick up the correct driver to the correct location, it does not install.
    -I can not throw more my computer-> right button Device Manager, I get a message saying that it cannot be launched, but I always open it manually goes \System32 to reach the file.
    -From the command line, I get an "access denied" to any program of system, I try to use, such as SECEDIT to reset as described in file permissions:http://support.microsoft.com/kb/313222

    If someone knows how to fix these on \Windows file/folder permission issues?

    Thanks for any advice,
    Alex

    Hi Alcor,

    I suggest to follow the instructions in this article to create a new profile to see if the problem exists:

    http://support.Microsoft.com/default.aspx?scid=kb;en-us;326688

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The tools of command line for applications Android download problem

    Hello

    I can't download 'Tools of command line for Android applications' Web of BlackBerry site. When I click on the blue download button with label 'Tools command line for Android applications' in the Tools section, browser updates the website tools and nothing more.

    ARO

    Maciek

    Hi again,

    Problem solved. A few hours later, I downloaded tools successfully.

    ARO

    Maciek

  • problems with the command-line command pc

    on the side of mac, I work from command line. But on the pc side I can't understand this.

    on a mac, this is

    deleteF="rm -r "+myNumPhoto.slice(0,39)+"imaging/*";
          app.system(deleteF);
    

    on the PC I'm trying to do the same thing with this.

    deleteF = "RD/s \\TEST\test".

    It runs the command, but I get the system cannot very well the specified file.

    If I run the slashes on the other hand, it works not at all of the suggestions would be greatly appreciated.

    much of the problem was with all the obliques. They must return the characters. That said I ended up doing a string. Here's what I used.

        myNumPhoto=app.document.presentationPath;
        s=myNumPhoto.slice(0,42)
        s.toString();
        s=s+"imaging";
          deleteF="RD /S /Q "+s;
          addF="MD "+s;
          app.system(deleteF);
          app.system(addF);
    

    I had to delete the folder, and then add it in back on the PC because the command RD except no wildcard characters.

  • problem creating oscustomisationspec from the command line

    Hello

    I have a problem when you create or modify a command line oscustomisationspec

    If I change the administrator password or domain password I have a problem when you use the customisationspec

    error is cannot decrypt the password

    the public key in the specification does not match the public key of vcenter...

    When I create this oscustomisationspec of my xp machine I have no problem

    When I create my Management Server I have the problem

    and when I create it from the vcenter itself I have the question too

    I don't understand why I'm using the right button of my computer and not a server

    If I create the customspec of the client vsphere vcenter or on the management server, it works well

    Another thing

    If I export customization of my computer the plain text for the password value is false

    If I export the customization of the server the value of plaintexst is true

    my machine is xp

    the waiters are win2003 and win2008

    can anyone help?

    Hello, DanielSoares-

    This could be linked to the bug referenced in the thread to the http://communities.vmware.com/thread/297748.  Here, broedi and vitalibaruh done by are the property of plain text for passwords in the spec is set to $false instead of $true when.  They discuss this issue when using New-OSCustomizationSpec to clone an OSCustomizationSpec, but I got the same behavior you describe when you create a new persistent by using New-OSCustomizationSpecOSCustomizationSpec.

    In the thread (the post to http://communities.vmware.com/thread/297748?start=18), vitalibaruh (from the team of PowerCLI) mentions that he's filed a bug for this behavior.

    So for now, the solution seems to be to create the OSCustomzationSpec via the vSphere client and, if you want to work with a copy of the spec (to add/modify credentials, for example), use the API to clone the spec (via the DuplicateCustomizationSpec() method) and then use Set-OSCustomizationSpec to make changes to the clone.  I've posted an excerpt on the use of this method twice in this same thread.

    Is not ideal, but that market.  I hope this helps.

  • Problem with the command line APEXEXPORT after upgrading to 3.2

    Hello

    After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0 (Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.

    Thank you
    Matthias Hoys

    Hello

    Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.

    And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.

    Luis

  • command line to create the debugging token has problem with the bbidtoken

    Hello

    I tried to use the BB ID token to create the debugging token.  Following the instructions of the command line, I got an error.

    BlackBerry-debugtokenrequest - bbidtoken bbidtoken.csk - storepass mypassword deviceid - 12345678 dt.bar

    Error: Only RDK or COMINCO Signatures are allowed when using BBIDToken

    The token id BB must be correct, because I can use it to sign an application.  I can also generate the debugging token from Momentics.  I believe momentics also call blackberry-debugtokenrequest internally, but do not know what are his secret settings.

    Thanks in advance for any help.

    Tyler

    Try without the parameter of bbidtoken.csk - bbidtoken.

    Also, make sure you use blackberry-debugtokenrequest of the 10.2 Gold SDK.  Previous versions do not BlackBerry ID support chips.

  • Running command-line Windows (path problem)

    Hello

    It's kind of weird, but I can't run the command line in windows 7 due to the long way and spaces...

    I want to run the command:

    Hey,.

    Here is a link to a page that should help you figure the number of channel and fix it manually:

    http://superuser.com/questions/12695/javac-command-not-found

    the instructions are on Windows XP, but should be able to transfer to Windows 7. Good luck!

  • Is there a problem with Adobe Reader DC using the command line to open a file?

    Hello

    I am a developer and we use Adobe Reader to view our PDF help files in our application.  For years, we used WinExec() to open Adobe Reader, by specifying the file to open on the command line and it has been working perfectly.  In other words, upward until our users began to load Adobe Acrobat Reader DC.  Despite this work very well when you type a command using CMD.exe, it simply does not help WinExec() from another application programmatically.  Also, I modified the code to try using CreateProcess() or ShellExecute() and these functions do not work either.

    It may have to do with the fact that there is a switch or a parameter now within the DC, but I don't know what it is, or why it happens.  If anyone can shed some light on this it would be much appreciated because it severely hampers our latest version of the software.

    Kind regards

    Leigh.

    A common cause is not to put quotes on the command line, so instead of

    "c:\program files...\acrord32.exe" "c:\documents and settings\...my file.pdf.

    You write

    "c:\program files...\acrord32.exe" c:\documents and settings\...my file.PDF

    This has always been bad, but older versions it would accept anyway. (It was a recent change but not in DC).

    I would recommend using ShellExecute instead of the command line, however. That simulates a double-click and executes everything the user has created for PDFs (perhaps Reader, Acrobat maybe, maybe something else).

  • Problems to use Java from the DOS command line

    Hello

    When I try to run Java from the Windows DOS command line, I'm running into trouble:

    1. when I run Java from the wrong directory, I get the error error: could not find or load the main class myapp1.

    2. when I'm in the directory 'right' (.../MyApp1/build/classes/myapp1 /, where is the MyApp1.class file), I get the following error:

    Exception in thread "main" java.lang.NoClassDefFoundError: MyApp1 (alias: myapp1/MyApp1)

    1. the classpath is not set (when I type echo % CLASSPATH % system returns CLASSPATH).

    2. I also get the same error above when using: > java - cp. MyApp1

    (3. I did that the path is correctly defined in the environment variables, by way of Java at the beginning of the chain of path).

    Someone at - it ideas?

    Thank you very much in advance for any advice or tips!

    Best regards

    JR

    It should work. Your code:

    package myapp1;
    class MyApp1 {...}
    

    At the prompt of DOS commands:

    cd  .../MyApp1/build/classes
    java myapp1.MyApp1
    

    The case is important.

  • A black bar with command line down load automatically - how to remove

    Some time ago I noticed that a black bar began to appear at the bottom of the firefox window. There > > brand on the left, a suite command line to report without delay, which allows me to write, and an icon key and 'x' on the right. When I hover the mouse over the key, he says "switch developer tools" (or something similar in the sense - I translate from Polish). I spent the better part of an hour to seek solutions on the web, but I'm at my wit's end now - I don't know yet what we call this bar! Whatever it is, I would be eternally grateful for any advice on how to remove this terrible thing my browser (the more permanent solution, the better it is). Thanks in advance

    Try to go into Tools> >Web Developer> > now uncheck all options

    More:

  • Windows of different sizes from command line

    Hello

    I'm running Firefox and - width - height of command line options. The problem I have is that these settings are ignored if a Firefox window is already open. In this case, all of the following windows are open with the size of the first (original) window. It does not matter what I type for width and height. These parameters are used only for the first window, when Firefox is actually started.

    I've mitigated it wrong before with javascript used in web pages to resize the window to the document load event. Now I have to upgrade to the latest version and resizeTo does not work on windows that are not open via window.open.

    What are the options I have to open multiple windows of Firefox with different sizes? They all use the same profile.

    We use a very specific environment, closed and controlled with a web server and not internet access. There was no need for update of Firefox 4. Now, we want to upgrade, but this change in functionality prevents us from the upgrade. Because the computers of our customers are on CentOS 5, we would be upgrading to Firefox 17 which is part of the standard CentOS 5 distribution.

    I wrote a bash script that made a list of the windows, firefox lance made a list once again. It then searches the differences in the lists of before and after opening firefox. In the end, the script uses wmctrl to change the size of the window which were found also recently opened. There is a small chance that some other window might appear while the opening of firefox and it will be be reduced too. However, in our case, this probability is very low and it is not worth.

    Here is the script which takes 3 parameters: width, height, URL.

    #!/bin/bash
    
    diff(){
      awk 'BEGIN{RS=ORS=" "}
           {NR==FNR?a[$0]++:a[$0]--}
           END{for(k in a)if(a[k])print k}' <(echo -n "${!1}") <(echo -n "${!2}")
    }
    
    window_count=$(wmctrl -l | wc -l)
    
    windows=()
    
    wmctrl -l > output
    
    exec 0<output 
    
    while read id type machine name
    
    do
    
      windows=("${windows[@]}" "$id")
    
    done
    
    # width and height in this call are ignored if some other firefox window is already open
    
    /usr/bin/firefox -P profile -width $1 -height $2 -new-window $3 &
    
    new_window_count=$window_count
    
    while [ "$window_count" -eq "$new_window_count" ]
    
    do
    
      #echo waiting...
    
      sleep 1
    
      new_window_count=$(wmctrl -l | wc -l)
    
    done
    
    new_windows=()
    
    wmctrl -l > output
    
    exec 0<output "$id")="" "${differences[@]}"="" $i="" -e="" -i="" -r="" 0,-1,-1,$1,$2="" <="" differences="($(diff" do="" done="" for="" i="" id="" in="" machine="" name="" new_windows="("${new_windows[@]}"" new_windows[@]))="" pre="" read="" type="" while="" windows[@]="" wmctrl="">
    
    done
    
    I had to do some tweaking in the script to fool the HTML editor. Some formatting of text is performed, that is not source friendly. That is why the script might look formatted strangely.
    
    </output>

Maybe you are looking for