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™ Runtime Development

Reply
New Contributor
jabanaki
Posts: 4
Registered: ‎10-21-2012
My Carrier: n/a

Packaging Problem - ManifestException: Invalid value for Entry-Point-Name

There seems to be a limitation on the maximum length of application name using the latest development tools that was not an issue before.

 

I'm now getting the following packaging error trying to sign my android app for AppWorld using the latest version of the developer tools in Eclipse:

 

Description Resource Path Location Type
[ERROR] [TodoToday.for.TeuxDeux.Pro.apk]:Manifest Exception during packaging: E:\jabanaki\projects\TodoToday.for.TeuxDeux\TodoToday.for.TeuxDeux.Pro\dist\Android 4.0.3\TodoToday.for.TeuxDeux.Pro.bar
net.rim.tools.bar.ManifestException: Invalid value "TodoToday Pro for TeuxDeux" for Entry-Point-Name.
TodoToday.for.TeuxDeux.Pro E:\jabanaki\projects\TodoToday.for.TeuxDeux\TodoToday.for.TeuxDeux.Pro\bin\TodoToday.for.TeuxDeux.Pro.apk BlackBerry Packaging Problem

 

It seems that the problem is related to the length of the application name set in the Android Manifest.xml

 

<application 

android:label="@string/app_name"

...

/>

 

From some experimentation is seems that error occurs as soon at the application name exceeds 25 characters. 

I had no issues previously with an older version of the developer tools and I have multiple applications already published on AppWorld with applications names > 25 characters.

 

Please fix, as I can no longer publish updates/fixes for my apps until this is resolved.

 

Steve.

 

- Android SDK Tools 20.0.3

- BlackBerry Plug-in for Android Development Tools1.3.0.201209131728

 

 

Please use plain text.
New Contributor
Huperniketes
Posts: 2
Registered: ‎12-09-2012
My Carrier: MetroPCS

Re: Packaging Problem - ManifestException: Invalid value for Entry-Point-Name

The apk2bar command line tool can fix most manifest exceptions thrown. See http://developer.blackberry.com/android/documentation/creating_a_custom_manifest_file_2016828_11.htm...

 

Please use plain text.
New Contributor
jabanaki
Posts: 4
Registered: ‎10-21-2012
My Carrier: n/a

Re: Packaging Problem - ManifestException: Invalid value for Entry-Point-Name

apk2bar has the same issue

 

Apk2Bar version 1.3.0
Research In Motion Ltd ? 2012 All rights reserved.
[TodoToday-TeuxDeux-Pro-1.5.2.apk]:(res/drawable-mdpi/icon.png) icon too small,
found an alternate: res/drawable-hdpi/icon.png:impact=1
[ERROR] [TodoToday-TeuxDeux-Pro-1.5.2.apk]:Manifest Exception during packaging:
E:\jabanaki\projects\TodoToday.for.TeuxDeux\TodoToday.for.TeuxDeux.Pro\bin\TodoT
oday-TeuxDeux-Pro-1.5.2.bar
net.rim.tools.bar.ManifestException: Invalid value "TodoToday Pro for TeuxDeux"
for Entry-Point-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)
[TodoToday-TeuxDeux-Pro-1.5.2.apk]:Summary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=1;
Summary: Total Apk files # 1 succeeded: 0 skipped: 0 failed: 1
Summary: [5]=0; [4]=0; [3]=0; [2]=0; [1]=1;
Impact Legend: [5]=Severe; [4]=High /context; [3]=Medium /context; [2]=Medium-lo
w /context; [1]=Minor;

 

Please use plain text.