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

E:这是小事:

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

最佳答案

我找到了!我需要使用自定义清单,将大小放入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*

10-07 20:35