Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
New Contributor
Posts: 2
Registered: ‎09-26-2012
My Device: Blackberry 10 Dev
My Carrier: -

Blackberry 10 .apk to .bar conversion now causing errors

Hi,

 

Going through our Android apps today to try and convert them for Blackberry 10.

 

Had succsess with the first app but the second app is having difficulty converting.

 

Getting the error message: 

Input bar folder or file does not exist.

The batch file is complete.

 

[ERROR] [Yookos_New.apk]:Manifest Exception during packaging: C:\Users\Sam\Desktop\Yookos_New.bar
net.rim.tools.bar.ManifestException: Invalid value "" for Application-Name.
at net.rim.tools.bar.BarManifest.validateImpl(BarManifest.java:517)
at net.rim.tools.bar.BarManifest.validate(BarManifest.java:90)
at net.rim.tools.bar.BarPackager.createBarArchive(BarPackager.java:708)
at net.rim.tools.bar.BarPackager.execute(BarPackager.java:435)
at net.rim.tools.bar.BarPackager.createBarImpl(BarPackager.java:274)
at net.rim.tools.bar.BarPackager.createBAR(BarPackager.java:126)
at net.rim.tools.bar.BarPackager.createBAR(BarPackager.java:85)
at net.rim.tools.apk2bar.Apk2Bar.packageBar(Apk2Bar.java:334)
at net.rim.tools.apk2bar.Apk2Bar.main(Apk2Bar.java:225)
[Yookos_New.apk]Smiley Frustratedummary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=0;
Summary: Total Apk files # 1 succeeded: 0 skipped: 0 failed: 1
Summary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=0;
Impact Legend: [5]=Severe; [4]=High /context; [3]=Medium /context; [2]=Medium-low /context; [1]=Minor;

 

 

Any ideas what might be causing this? The app goes through the compatibility checks no problem.

New Developer
Posts: 23
Registered: ‎08-03-2012
My Device: BlackBerry Playbook, BlackBerry 10 dev alpha device
My Carrier: mtn

Re: Blackberry 10 .apk to .bar conversion now causing errors

Try making a copy of the app but set the version. To 1.0,. This works some times


samsteele wrote:

Hi,

 

Going through our Android apps today to try and convert them for Blackberry 10.

 

Had succsess with the first app but the second app is having difficulty converting.

 

Getting the error message: 

Input bar folder or file does not exist.

The batch file is complete.

 

[ERROR] [Yookos_New.apk]:Manifest Exception during packaging: C:\Users\Sam\Desktop\Yookos_New.bar
net.rim.tools.bar.ManifestException: Invalid value "" for Application-Name.
at net.rim.tools.bar.BarManifest.validateImpl(BarManifest.java:517)
at net.rim.tools.bar.BarManifest.validate(BarManifest.java:90)
at net.rim.tools.bar.BarPackager.createBarArchive(BarPackager.java:708)
at net.rim.tools.bar.BarPackager.execute(BarPackager.java:435)
at net.rim.tools.bar.BarPackager.createBarImpl(BarPackager.java:274)
at net.rim.tools.bar.BarPackager.createBAR(BarPackager.java:126)
at net.rim.tools.bar.BarPackager.createBAR(BarPackager.java:85)
at net.rim.tools.apk2bar.Apk2Bar.packageBar(Apk2Bar.java:334)
at net.rim.tools.apk2bar.Apk2Bar.main(Apk2Bar.java:225)
[Yookos_New.apk]Smiley Frustratedummary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=0;
Summary: Total Apk files # 1 succeeded: 0 skipped: 0 failed: 1
Summary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=0;
Impact Legend: [5]=Severe; [4]=High /context; [3]=Medium /context; [2]=Medium-low /context; [1]=Minor;

 

 

Any ideas what might be causing this? The app goes through the compatibility checks no problem.




New Contributor
Posts: 2
Registered: ‎09-26-2012
My Device: Blackberry 10 Dev
My Carrier: -

Re: Blackberry 10 .apk to .bar conversion now causing errors


jordaan0_gmail wrote:

Try making a copy of the app but set the version. To 1.0,. This works some times


Thanks for the reply. Unfortunetly changing the version to 1.0 hasn't helped with the conversion. Any other ideas? Frustrating to not be able to convert the app when there's seemingly nothing wrong!

Highlighted
Retired
Posts: 159
Registered: ‎11-21-2008
My Device: BlackBerry 10
My Carrier: Rogers

Re: Blackberry 10 .apk to .bar conversion now causing errors

Hello,

 

Looking at the error output looks like you need to specify an Application Name.

 

"[ERROR] [Yookos_New.apk]:Manifest Exception during packaging: C:\Users\Sam\Desktop\Yookos_New.bar
net.rim.tools.bar.ManifestException: Invalid value "" for Application-Name."

 

Cheers,

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
New Developer
Posts: 10
Registered: ‎11-28-2012
My Device: Blackberry Playbook
My Carrier: Wifi

Re: Blackberry 10 .apk to .bar conversion now causing errors

Had the same experience a few days ago. Now it seems to work for me. Maybe a simple tool-maintenance day?
Developer
Posts: 45
Registered: ‎06-07-2012
My Device: Dev Alpha B
My Carrier: IT

Re: Blackberry 10 .apk to .bar conversion now causing errors

Yes.. i have the same error.. and works when I add one to my version code in the manifest..

android:versionCode="2"
You could have ruled the whole world, if you have the time!