Android Question Error during compile

AHilberink

Active Member
Licensed User
Longtime User
I just update to v6.30. During compile, I got the following message:
B4X:
Compiling generated Java code.    Error
javac 1.8.0_40
src\b4a\werkbonnen\httputils2service.java:84: error: cannot find symbol
        super.onTaskRemoved(rootIntent);
             ^
  symbol: method onTaskRemoved(Intent)

What is going wrong?

Best regards,
André
 

DonManfred

Expert
Licensed User
Longtime User
Are you using okhttputils? Or are you using the old httputilsservice?
Make sure to use the new libs... okhttp, okhttputils
 
Upvote 0

AHilberink

Active Member
Licensed User
Longtime User
Upvote 0

AHilberink

Active Member
Licensed User
Longtime User
That was NOT Erels question!
Check the value of TOOLS COFIGURE PATHS. Which android.jar did you set there????

anyway: Set a NEWER one here!

Hi DonManfred,

I did not underdstand Erel's message. I installed a newer JDK and a newer Android SDK R24.4.1.

I didn't know there were so many version of android.jar on different path's and didn't know I had to change here.
My version was version 8, now I change to v14 and the compiling is working fine.

Thanks, both Erel and DonManfred.

Best regards,
André
 
Upvote 0
Top