申请无效。删除?在诺基亚手机上

时间:2012-08-13 17:04:03

标签: java java-me nokia midp

我喜欢一款名为Bounce Tales的手机游戏,所以我选择尝试修改它。我可以在KEmulator上成功运行它,但当我尝试在真正的手机(例如诺基亚2700 Classic)上运行它时,它会说:“无效的应用程序。删除?”

E:这是jad:

Manifest-Version: 1.0
Created-By: 1.7.0_04 (Oracle Corporation)
MIDlet-Name: Bounce Tales Hacks
MIDlet-Version: 1.0
MIDlet-Vendor: Gskartwii
MIDlet-Jar-Size: 375644
MIDlet-Jar-URL: Bounce Tales.jar

1 个答案:

答案 0 :(得分:1)

我找到了!我需要使用自定义清单,将大小放到JAD并使用MIDlet-Permissions属性!这是我的新JAD:

MIDlet-1: BounceHAX,/icon.png,RMIDlet
MIDlet-Jar-Size: 373309
MIDlet-Jar-URL: BounceHAX.jar
MIDlet-Name: BounceHAX
MIDlet-Vendor: Rovio
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
MIDlet-Icon: /icon.png
MIDlet-Description: Bounce Tales Hacks
MIDlet-Permissions: javax.microedition.rms, javax.microedition.midlet, javax.microedition.lcdui, javax.microedition.lcdui.game, javax.microedition.media, javax.microedition.media.control

然后这是我的清单:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_03-b05 (Sun Microsystems Inc.)
MIDlet-Data-Size: 1024
MicroEdition-Configuration: CLDC-1.1
MIDlet-Name: Bounce Tales Hacks
MIDlet-Icon: /icon.png
MIDlet-Vendor: Nokia
MIDlet-1: Bounce Tales, /icon.png, RMIDlet
MIDlet-Version: 2.0.3
MicroEdition-Profile: MIDP-2.0
Nokia-Platform: Nokia*