Italian Problemi con windows 10

nonno

Active Member
Licensed User
Longtime User
Ciao ragazzi
ho un problema con Windows 10, con B4A compila correttamente il file, lo trasferisce tramite B4A-Bridge mi chiede di istallare terminata l'installazione cliccando su apri l'app parte e si chiude subito, nel file Log del pc mi appare queste scritte in rosso come potete vedere dal screenshot.
se per cortesia mi potete dirmi come posso risolvere il problema
Grazie 1000
 

Attachments

  • Screenshot (2).png
    148.6 KB · Views: 197

MarcoRome

Expert
Licensed User
Longtime User
Windows 10 non c'entra nulla.
Copia il File Log ( clicca sul tasto destro ) e riportalo qui



Ad una prima occhiata sembra che non trovi un metodo da te utilizzato ( dovrebbe darti anche la linea dell'errore )
 

nonno

Active Member
Licensed User
Longtime User
Logger connected to: HUAWEI HUAWEI Y625-U21
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
java.lang.NoSuchMethodError: anywheresoftware.b4a.objects.ListViewWrapper.AddTwoLinesAndBitmap2
at njdude.compact.actionbar.compactactionbar._addmenuitem(compactactionbar.java:90)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.samples.customlistview.main.afterFirstLayout(main.java:102)
at anywheresoftware.b4a.samples.customlistview.main.access$000(main.java:17)
at anywheresoftware.b4a.samples.customlistview.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
java.lang.NoSuchMethodError: anywheresoftware.b4a.objects.ListViewWrapper.AddTwoLinesAndBitmap2
at njdude.compact.actionbar.compactactionbar._addmenuitem(compactactionbar.java:90)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at anywheresoftware.b4a.samples.customlistview.main.afterFirstLayout(main.java:108)
at anywheresoftware.b4a.samples.customlistview.main.access$000(main.java:17)
at anywheresoftware.b4a.samples.customlistview.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)
 

MarcoRome

Expert
Licensed User
Longtime User
Sembra che utilizzi una libreria "AppCompat" ( QUI ) minore della 3.3.
Conviene utilizzare sempre le ultime librerie, in questo caso la 3.52
 

nonno

Active Member
Licensed User
Longtime User
Ciao Marco e tutti i ragazzi del forum,
non sono riuscito a risolvere il problema come diceva Marco e un problema di libreria, quando carico il progetto mi dice che manca la libreria jMQTT nella libreria risulta che ho installato jMQTT versione 1.00 e non riesco a trovarne sul forum una più recente
fino la settimana scorsa col vecchio pc funzionava tutto, sistema operativo Windows 7 , ho installato B4A e copiato la cartella delle librerie C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
configurato il paths C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
qualcuno potrebbe darmi dei consigli ?
Grazie 1000
 

MarcoRome

Expert
Licensed User
Longtime User
La libreria jMQTT è giusto che tu abbia la 1.00 ( non mi sembra che siano state rilasciate altre ).

1. Hai provato a cancellare il progetto ? E dopo aver cancellato hai provato a ricompilare


Nella path Configuration:



Cosa hai ?
 

LucaMs

Expert
Licensed User
Longtime User
Anch'io ho la 1.00 (probabilmente è l'unica).

fai una verifica: vai nel Tab Libraries Manager, tasto destro sulle librerie e clicka su "Open additional libraries folder" e verifica che il file ci sia.


P.S. Ehm... e se non c'è, AGGIUNGICIVELO (anzi, aggiungi entrambi, jar e xml)
 

MarcoRome

Expert
Licensed User
Longtime User
Altra cosa quando installi B4A è meglio non installare lo stesso nella cartella C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries, meglio C:\Anywhere Software\Basic4android\Libraries
 

MarcoRome

Expert
Licensed User
Longtime User
Se vuoi un consiglio, disinstalla la versione che hai e reinstalla B4A facendo in modo di installare la stessa in c:\anywhere.... ( gli spazi in alcuni casi non sono graditi )
 

nonno

Active Member
Licensed User
Longtime User
grazie Luca e marco adesso provo i vostri consigli Grazie mille

 

nonno

Active Member
Licensed User
Longtime User
misteroooooo
ho provato a installare di nuovo B4A il problema rimane
 

MarcoRome

Expert
Licensed User
Longtime User
No, se guardi bene il messaggio c'è qualcosa di strano parla di iMQTT e non di jMQTT.
Reistalla la libreria jMQTT, fai un refresh sulle librerie ( Tasto destro , refresh )
 

MarcoRome

Expert
Licensed User
Longtime User
misteroooooo
ho provato a installare di nuovo B4A il problema rimane
Guarda che hai un casino cosa sono i file iMQTT ??? ( h = header per C, non hanno nulla a che vedere con la libreria jMQTT )
Riscaricati la libreria jMQQT ( QUI . Decompirmi la stessa devi avere un file jMQQT.xml e un file jMQQT.jar
 

nonno

Active Member
Licensed User
Longtime User
Logger connected to: HUAWEI HUAWEI Y625-U21
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
java.lang.NoSuchMethodError: anywheresoftware.b4a.objects.ListViewWrapper.AddTwoLinesAndBitmap2
at njdude.compact.actionbar.compactactionbar._addmenuitem(compactactionbar.java:90)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.samples.customlistview.main.afterFirstLayout(main.java:102)
at anywheresoftware.b4a.samples.customlistview.main.access$000(main.java:17)
at anywheresoftware.b4a.samples.customlistview.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
java.lang.NoSuchMethodError: anywheresoftware.b4a.objects.ListViewWrapper.AddTwoLinesAndBitmap2
at njdude.compact.actionbar.compactactionbar._addmenuitem(compactactionbar.java:90)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at anywheresoftware.b4a.samples.customlistview.main.afterFirstLayout(main.java:108)
at anywheresoftware.b4a.samples.customlistview.main.access$000(main.java:17)
at anywheresoftware.b4a.samples.customlistview.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)

Grazie Marco
adesso non da più errore di libreria, ma escono ancora queste scritte in rosso e l'app si installa e si chiude immediatamente.
Scusate sono io che sono stordito... spero sia il caldo perché, forse avrò occasione di riprendermi.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…