Android Question Compiler Error after reinstalling windows!

aidymp

Well-Known Member
Licensed User
Longtime User
Hi, I have reinstalled Windows - I was on Windows 10 but installed Windows 7, as Win10 looks a little unfinished to me, So I have all my Source, Libs, Licence, Signature-file, Java, Android SDK, .NET 4.5, B4A 5.2 installed, and I get this error when I compile a project i'm working on.

error.png


What's wrong?

Thanks

Aidy
 

aidymp

Well-Known Member
Licensed User
Longtime User
Solved - Android 23 Will not compile , Using android 22 It will compile! I presume this means I will need to rewrite some of the code in the near future!?

Thanks

Aidy
 
Upvote 0

MaFu

Well-Known Member
Licensed User
Longtime User
The Http library (and HttpUtils2 which uses http) isn't compatible with Android 23 (the Apache HttpClient is removed in Android M).
You must install the new OKHttp and HttpUtils2 libraries, see here.
 
Upvote 0

aidymp

Well-Known Member
Licensed User
Longtime User
The Http library (and HttpUtils2 which uses http) isn't compatible with Android 23 (the Apache HttpClient is removed in Android M).
You must install the new OKHttp and HttpUtils2 libraries, see here.

Thank you for this, however, it took quite a while to get the httputils2service module to work in a way I needed, it has a few modifications, to enable php, & downloading with progress.

Does this mean that on Android 23 my app will no longer work??

If so this is quite bad for me!

Thanks

Aidy
 
Upvote 0

aidymp

Well-Known Member
Licensed User
Longtime User
Thanks for that! I will look into it! Im having a DOOM day lol, every time i solve an error I get a new one, making me wish I had never reinstalled windows now! lol

I now have a problem with 9patch!

----- EDIT! as a result of re-installing Windows my 9patch images had become writable and thus deleted by the IDE! SOLVED! on to the next problem!

Thanks

Aidy
 
Last edited:
Upvote 0
Top