Opa!!
Resolvi fazer um teste com um arquivo jad (gerado no eclipse 3.5) e aconteceu o seguinte erro:
[quote]com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1[/quote]
Na pasta META-INF do jar tem os seguintes atributos:
Manifest-Version: 1.0
MIDlet-Vendor: MIDlet Suite Vendor
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: palm MIDlet Suite
MicroEdition-Profile: MIDP-2.0
No jad esta desta forma:
MIDlet-Jar-Size: 21728
MIDlet-Jar-URL: palm.jar
MIDlet-Name: palm MIDlet Suite
MIDlet-Vendor: MIDlet Suite Vendor
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
quando tento executar o jad pelo eclipse no Application descriptor ele da o erro q eu disse
anteriormente. Alguem sabe como corrigir?
Tentei adicionar o MIDlet-1: NomeMIDlet mas nao deu certo.
Pessoal ainda não consegui resolver o erro no arquivo .jad abaixo:
MIDlet-Jar-Size: 554780
MIDlet-Jar-URL: bluetooth.jar
MIDlet-Name: bluetooth MIDlet Suite
MIDlet-Vendor: MIDlet Suite Vendor
MIDlet-1: codigo.BluetoothMidlet //esta correto?
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
No manifest:
MIDlet-Jar-Size: 554780
Manifest-Version: 1.0
MIDlet-Name: bluetooth MIDlet Suite
MIDlet-Vendor: MIDlet Suite Vendor
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
O erro continua:
[quote]com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1[/quote]
Ola!! Ainda nao consegui segue o codigo igual ao post anterior
porem comentado.
MIDlet-Jar-Size: 1685
MIDlet-Jar-URL: jadArquivo.jar
MIDlet-Name: jadArquivo MIDlet Suite
MIDlet-Vendor: MIDlet Suite Vendor
// <Nome da Aplicação> <nao tenho icone>
MIDlet-1: jadArquivo MIDlet Suite, ,Teste //Nome da Midlet - nao tem pacote ta na raiz.
MIDlet-Version: 1.0.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.1
e o erro continua…
é possivel executar um jad no eclipse?