Android Question Source option 6 is no longer supported

grafsoft

Well-Known Member
Licensed User
Longtime User
I get this (in German):

------------------------------------------------------------------------
Kompiliere generierten Java Code. Error
Fehler: Quelloption 6 wird nicht mehr unterstützt. Verwenden Sie 7 oder höher.

javac 19.0.2
------------------------------------------------------------------------

I do not know what to change.
My B4A version is 11.20, directory point to jdk-19 and android-34 (but SSDK-Manager does not open)

My manifest:

'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136

' ANT+
#AdditionalJar: antpluginlib_3-9-0.aar
#AdditionalJar: fit_21.105.00.jar

AddPermission(com.dsi.ant.permission.ANT)
AddPermission(com.dsi.ant.permission.ANT_ADMIN)

AddManifestText(
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.
SetServiceAttribute(Tracker, android:foregroundServiceType, "location")

CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)

AddApplicationText(
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="???"/>
)

AddManifestText(<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)

AddApplicationText(
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="$PACKAGE$.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
)
CreateResource(xml, provider_paths,
<files-path name="name" path="shared" />
)
' nur für OSM
'SetApplicationAttribute(android:usesCleartextTraffic, "true")
'' 28 - Non-ssl (non-https) communication is not permitted by default.
'' It can be enabled in B4A v9+ by adding this line to the manifest editor:
'CreateResourceFromFile(Macro, Core.NetworkClearText)

' Bluetooth
AddPermission(android.permission.ACCESS_FINE_LOCATION)
'AddPermission(android.permission.BLUETOOTH_ADVERTISE)
AddPermission(android.permission.BLUETOOTH_CONNECT)
AddPermission(android.permission.BLUETOOTH_SCAN)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…