Android Question New B4a version migration problem

LuigiTasca

Member
Licensed User
Longtime User
Hello,
I bought a new B4a licence for a new computer, but when I tried to copy my project into the new pc (from b4a version 7.30 to 8.30) I got this error:



Compilazione del codice Java prodotto. Error
javac 1.8.0_171
src\com\company\myapp\printspooler.java:17: error: cannot find symbol
ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class);
^
symbol: method startServiceFromReceiver(Context,Intent,boolean,Class<BA>)
location: class StarterHelper
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error



If I compile the code in debug mode it seems that it has problems with "wait for"


B4A line: 1420
Wait For (JR) JobDone(JR As HttpJob)
javac 1.8.0_171
src\com\company\myapp\main.java:2724: error: cannot find symbol
anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "main", "activity_create"), (Object)(_jr));
^
symbol: class DelegatableResumableSub
location: class DebugResumableSub


Can someone help me, please?
 

DonManfred

Expert
Licensed User
Longtime User
Did you setup a new SDK for B4A 8+?
It is recommended not to reuse an old SDK Installation.

You can find the Setup-Instructions here. https://www.b4x.com/b4a.html
You also can watch this Video as it describes it clearly.

Start with a new Blank folder like you see in the Video.
 
Upvote 0
Top