10-22-14 06:35 AM
235 ... 678910
tools
  1. PowderJockey's Avatar
    I got the 'can't acces .bar' error when I was trying to convert and sign but since it cant convert, it cant sign. I unchecked the signing option that's why my log doesn't say it.
    I tried one time to place the .bar back into the same directory that the .apk was from. It worked on one file and not the next. Some of the .bar files just don't work, same as the .apk files don't either. Fun to try though.
    cymrupl1 likes this.
    11-07-12 11:04 PM
  2. Khushal Dusseja's Avatar
    Dear Johan,,

    I m badly stucked at STEP 13.... Kindly help..

    Following are the logs :



    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin infibeam22 -cskpass MYPASSCODE client-PBDT-1934389
    .csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin MYPASSCODE -cskpass infibeam22 client-RDK-1934389.
    csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-keytool -genkeypair -keystore infikeystore.p12 -storepass MYPASSCODE -dname
    "cn=NSIInfibeam" -alias author
    Error: infikeystore.p12 (Access is denied)




    The last statement is problematic...

    Please help me where I am wrong... ??
    Thanks Johan
    11-09-12 07:23 AM
  3. Khushal Dusseja's Avatar
    Dear Johan,,

    I m badly stucked at STEP 13.... Kindly help..

    Following are the logs :



    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin infibeam22 -cskpass MYPASSCODE client-PBDT-1934389
    .csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin MYPASSCODE -cskpass infibeam22 client-RDK-1934389.
    csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-keytool -genkeypair -keystore infikeystore.p12 -storepass MYPASSCODE -dname
    "cn=NSIInfibeam" -alias author
    Error: infikeystore.p12 (Access is denied)




    The last statement is problematic...

    Please help me where I am wrong... ??
    Thanks Johan
    11-09-12 07:37 AM
  4. PowderJockey's Avatar
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin infibeam22 -cskpass MYPASSCODE client-PBDT-1934389
    .csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-signer -register -csjpin MYPASSCODE -cskpass infibeam22 client-RDK-1934389.
    csj
    Info: Successfully registered with server.
    C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin>blackb
    erry-keytool -genkeypair -keystore infikeystore.p12 -storepass MYPASSCODE -dname
    "cn=NSIInfibeam" -alias author
    Error: infikeystore.p12 (Access is denied)
    The MYPASSCODE highlighted in red should be your password in which was used to register you keys with RIM. It shows there is no access to the key store. The password must not have registered properly. This would be my take on it.

    I would start from the top once a gain, ask for new .csj files from RIM and re-register them and create a new .p12 file. I've done this on numerous occasions.
    11-11-12 09:21 PM
  5. Khushal Dusseja's Avatar
    Hey...
    MYPASSCODE was for sure my actual password... I intentionally wrote so as not to reveal my password....

    And i had tried from top(step 1 ) twice but still facing the same issues,.....

    Any other possibility ??

    Thanks a lot
    11-11-12 11:48 PM
  6. PowderJockey's Avatar
    Let me start over and walk thru the steps again and see if I can figure out what is going wrong.

    I'm no expert in this, but I'll see what I can come up with.
    11-12-12 10:51 AM
  7. PowderJockey's Avatar
    @Khushal Dusseja I am not getting too far. I get a bit further than you, but I keep getting the error that if can't access the .bar file.

    One think I thought of, check to make sure you do not have any capital letters in you passcode. "MYPASSCODE" should be "mypasscode".
    11-13-12 01:44 PM
  8. PowderJockey's Avatar
    Ok went back thru this and have no problems getting the .csj file registered or the .p12 file set up.

    What I have a problem with it that BBHTool will not convert and sign it. Continue to get "Error: Unable to open bar file"

    Googling the error, I found a page stating that it was possible the permission was the problem. I have tried to set the permissions to the files/directories and all looks right. I'm the only user and person with an account.

    Anyone have any ideas? Not having any success with Blackberry Graphical aid either.
    11-28-12 11:33 PM
  9. Tolsimir's Avatar
    Good evening everyone,
    I'm a french BBuser trying to convert some apps...
    I have installed the 3 programs and I try to lunch the SDK Manager.
    I have the following issue when opening : "Failed to execute tools\android.bat : the file specified is unfindable"
    Bluesatcks is installed, do you think that it could be the issue ?

    Many thanks by advance,

    Edit : I have found the solution, i'll try tomorrow the following steps (i'm just at the beginning...)
    Last edited by Tolsimir; 12-10-12 at 05:02 PM.
    12-10-12 04:39 PM
  10. KhushalD's Avatar
    @PowderJockey : Dear, any updates on BBHTool ?
    I mfacing problem with .p12 file generation... Need a kind help buddy.
    Even no success with BB Graphical Aid either
    12-12-12 12:49 AM
  11. dinjo's Avatar
    Can someone update the link for Black Berry Tablet OS for Adobe Air

    Is this the link - https://developer.blackberry.com/air/download/#playbook
    12-12-12 06:25 AM
  12. Tolsimir's Avatar
    Ok went back thru this and have no problems getting the .csj file registered or the .p12 file set up.

    What I have a problem with it that BBHTool will not convert and sign it. Continue to get "Error: Unable to open bar file"

    Googling the error, I found a page stating that it was possible the permission was the problem. I have tried to set the permissions to the files/directories and all looks right. I'm the only user and person with an account.

    Anyone have any ideas? Not having any success with Blackberry Graphical aid either.
    Hi everyone,
    I have the same issue as described above.
    Could you tell me if someone has resolved this ? Maybe I have to use an another program for the conversion.
    All the steps described have normally been respected (i have the .p12 file).

    Thanks,
    12-12-12 06:37 AM
  13. dinjo's Avatar
    ?


    C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\bin>blackberry-signer -register -csjpin ****** -cskpass ****** client-PBDT client-PBDT-1940291524.csj
    Error: Unable to open CSJ file: client-PBDT
    C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\bin>
    12-14-12 02:00 AM
  14. PowderJockey's Avatar
    ?
    C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\bin>blackberry-signer -register -csjpin ****** -cskpass ****** client-PBDT client-PBDT-1940291524.csj
    Error: Unable to open CSJ file: client-PBDT
    C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\bin>
    I think this would indicate that the files are not there or are maybe read only? You also have to ensure that you open the cmd as the administrator. (right click on the icon and select, run as administrator)
    12-18-12 01:37 PM
  15. 4kaz's Avatar
    Everything went to plan, until I tried to convert my first file.When I clicked convert/sign it (after filling in the signing info, etc., I got this: java -Xmx512M -cp "lib\BARPackager.jar;lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar "C:\Users\ME\Downloads\Blackberry Playbook Apps\com.netflix.mediaclient_751.apk" "C:\Android-SDK" -t "C:\Users\ME\Downloads\Blackberry Playbook Apps" Same thing for each file. Any ideas what I'm doing wrong?
    12-23-12 08:52 AM
  16. Vito Corleone's Avatar
    I need help: i have everything good but i am having troubles with the Android SDK. I downloaded 2 folders called "eclipse" and "SDK", and a file called "SDK Manager.exe". So, i don't know what path write in the BBH when it ask for the Andoid SDK.

    Help please?


    Everything went to plan, until I tried to convert my first file.When I clicked convert/sign it (after filling in the signing info, etc., I got this: java -Xmx512M -cp "lib\BARPackager.jar;lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar "C:\Users\ME\Downloads\Blackberry Playbook Apps\com.netflix.mediaclient_751.apk" "C:\Android-SDK" -t "C:\Users\ME\Downloads\Blackberry Playbook Apps" Same thing for each file. Any ideas what I'm doing wrong?
    i am having the same trouble
    12-27-12 01:24 AM
  17. ganbu's Avatar
    This is very strange. I am having the exact same trouble too. It worked fine up until about a week ago.
    12-29-12 07:45 PM
  18. Djlatino's Avatar
    Try using apk2bar by HaTaX, I was getting the same error with the pop up window and stuff. But with apk2bar, it just worked. Give it a try, same process except all you gotta do is edit the 2 .bat files
    12-30-12 03:11 AM
  19. tstrike34's Avatar
    I am getting an error here:

    The java class could not be loaded. java.lang.UnsupportedClassVersionError: (net
    /rim/device/codesigning/barsigner/BarSigner) bad major version at offset=6

    I am hoping to put SwingBytes on my PB... Its my Xmas gift
    01-01-13 02:31 PM
  20. Jason King3's Avatar
    I need help ...when I try to to generate the .p12 file i get the error "QNX.p12 (access is denied)"

    the code i am trying to enter is blackberry-keytool -genkeypair -keystore QNX.p12 -storepass 50245ef3 -dname "cn=Mboodie Inc." -alias author .....please tell me where i am going wrong
    01-13-13 04:47 PM
  21. PowderJockey's Avatar
    I need help ...when I try to to generate the .p12 file i get the error "QNX.p12 (access is denied)"

    the code i am trying to enter is blackberry-keytool -genkeypair -keystore QNX.p12 -storepass 50245ef3 -dname "cn=Mboodie Inc." -alias author .....please tell me where i am going wrong
    Did you start cmd as the administrator? Just checking.
    01-13-13 04:58 PM
  22. RICH_P's Avatar
    Everything went to plan, until I tried to convert my first file.When I clicked convert/sign it (after filling in the signing info, etc., I got this: java -Xmx512M -cp "lib\BARPackager.jar;lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar "C:\Users\ME\Downloads\Blackberry Playbook Apps\com.netflix.mediaclient_751.apk" "C:\Android-SDK" -t "C:\Users\ME\Downloads\Blackberry Playbook Apps" Same thing for each file. Any ideas what I'm doing wrong?
    So'm I.

    Grabbed a spare PC, did a clean XP install on it. Logged in as Administrator. Followed the page 1 directions TO THE LETTER. Put the Java path in the environment variables.

    Got this:

    Tutorial: Converting .APK to .Bar using BBHTool-bbhtool-error.jpg

    Clearly there's a fix as some folks are getting this to work...
    Last edited by RICH_P; 01-30-13 at 02:24 PM.
    01-30-13 11:07 AM
  23. johanb99's Avatar
    So'm I.

    Grabbed a spare PC, did a clean XP install on it. Logged in as Administrator. Followed the page 1 directions TO THE LETTER. Put the Java path in the environment variables.

    Got this:

    Click image for larger version. 

Name:	BBHTool Error.jpg 
Views:	24 
Size:	64.1 KB 
ID:	133160

    Clearly there's a fix as some folks are getting this to work...

    - Make sure that you're android-sdk folder is installed to the C:\ and is named how it was installed, which I think should be C:\android-sdk or something (you just have C:\sdk)
    - Make sure you are running everything as administrator.
    - Hopefully you pointed it to the right keystore file...

    *Every time I use BBH tool, I have to reset where it has to look for the Android SDK Folder, so make sure you check that every time.
    01-31-13 05:28 PM
  24. basquiyaji's Avatar
    Why am I getting this error? when I tried to create the p12 file?
    C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\bin>blackberry-keytool -genkeypair -keystore QNX.p12 -storepass xxxxxx -dname cn=Globe -alias author

    Error: QNX.p12 (Access is denied)

    thanks
    02-08-13 10:57 PM
  25. basquiyaji's Avatar
    Its ok now, I just run the cmd as administrator.

    thanks
    02-08-13 11:08 PM
235 ... 678910
LINK TO POST COPIED TO CLIPBOARD