AHilberink Well-Known Member Licensed User Longtime User Sep 22, 2016 #1 I just update to v6.30. During compile, I got the following message: Code: Copy 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é
I just update to v6.30. During compile, I got the following message: Code: Copy 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 Sep 22, 2016 #2 Are you using okhttputils? Or are you using the old httputilsservice? Make sure to use the new libs... okhttp, okhttputils Upvote 0
Are you using okhttputils? Or are you using the old httputilsservice? Make sure to use the new libs... okhttp, okhttputils
AHilberink Well-Known Member Licensed User Longtime User Sep 23, 2016 #3 DonManfred said: Are you using okhttputils? Or are you using the old httputilsservice? Make sure to use the new libs... okhttp, okhttputils Click to expand... Hi DonManfred, Thanks. Because I had a problem using the temp dir, Erel told me to use the source of HttpUtilsService and change the temp dir. See post: https://www.b4x.com/android/forum/threads/application-has-stopped.71132/#post-452749 There is no source of okhttputils to do the same. What to do? Best regards, André Upvote 0
DonManfred said: Are you using okhttputils? Or are you using the old httputilsservice? Make sure to use the new libs... okhttp, okhttputils Click to expand... Hi DonManfred, Thanks. Because I had a problem using the temp dir, Erel told me to use the source of HttpUtilsService and change the temp dir. See post: https://www.b4x.com/android/forum/threads/application-has-stopped.71132/#post-452749 There is no source of okhttputils to do the same. What to do? Best regards, André
DonManfred Expert Licensed User Longtime User Sep 23, 2016 #4 AHilberink said: There is no source of okhttputils to do the same Click to expand... Are you sure? I thnk you are not right. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The source can be found in post #1 of this thread. Upvote 0
AHilberink said: There is no source of okhttputils to do the same Click to expand... Are you sure? I thnk you are not right. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The source can be found in post #1 of this thread.
AHilberink Well-Known Member Licensed User Longtime User Sep 23, 2016 #5 DonManfred said: Are you sure? I thnk you are not right. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The source can be found in post #1 of this thread. Click to expand... Hi DonManfred, If you rever to httputils2_src.zip, this is still the same source as httputils2 library uses. I tested this src and still the same error message. Best regards, André Upvote 0
DonManfred said: Are you sure? I thnk you are not right. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The source can be found in post #1 of this thread. Click to expand... Hi DonManfred, If you rever to httputils2_src.zip, this is still the same source as httputils2 library uses. I tested this src and still the same error message. Best regards, André
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2016 #6 You need to use a newer version of android.jar (Tools - Configure Paths). Upvote 0
AHilberink Well-Known Member Licensed User Longtime User Sep 28, 2016 #7 Erel said: You need to use a newer version of android.jar (Tools - Configure Paths). Click to expand... Hi Erel, I did. Java version 1.8.0_102. Still the same error message. Another solution? Best regards, André Upvote 0
Erel said: You need to use a newer version of android.jar (Tools - Configure Paths). Click to expand... Hi Erel, I did. Java version 1.8.0_102. Still the same error message. Another solution? Best regards, André
DonManfred Expert Licensed User Longtime User Sep 28, 2016 #8 AHilberink said: I did. Java version 1.8.0_102 Click to expand... 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! Upvote 0
AHilberink said: I did. Java version 1.8.0_102 Click to expand... 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!
AHilberink Well-Known Member Licensed User Longtime User Sep 28, 2016 #9 DonManfred said: 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! Click to expand... 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
DonManfred said: 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! Click to expand... 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é
DonManfred Expert Licensed User Longtime User Sep 28, 2016 #10 AHilberink said: y version was version 8, now I change to v14 and the compiling is working fine. Click to expand... Set the android.jar to be the newest one available (24 as of today) Upvote 0
AHilberink said: y version was version 8, now I change to v14 and the compiling is working fine. Click to expand... Set the android.jar to be the newest one available (24 as of today)
AHilberink Well-Known Member Licensed User Longtime User Sep 28, 2016 #11 DonManfred said: Set the android.jar to be the newest one available (24 as of today) Click to expand... Done. Thank you. Upvote 0
DonManfred said: Set the android.jar to be the newest one available (24 as of today) Click to expand... Done. Thank you.