Hello, Yesterday my smartphone (samsung S8) is updated to Android 9 Pie and applications that use the StdActionBar library give an error and stop. I have verified that this happens when in the manifest I have: "targetSdkVersion = "28". With targetSdkVersion = "23" , everything works correctly...
I said Nothing Changed? - famous last words....
Of course something changed -
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="
28"/>
Was - targetSdkVersion="
26" (or less) before...
NOW - targetSdkVersion="28"
Many things can go
VERY sideways using 28, as well documented (and continually updated) by Erel.
My error was very similar to where I found the solution - and the exact problem.
Apparently, 28 strips out (or something) org.apache.http
The code below (manifest addition) forces it to stay - and be made available to my app (or more to the point, the #AdditionalJar that required it).
Thanks heavans for the search engine - and you smart guys that figure
ALL this stuff out..., Good on ya...
AddApplicationText(
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
)
Thx