So finally I could run the same app on my API 13 device (Android 3.2). Marking this issue as solved. Thank you.
Only for my API 18 device (Android 4.3) I can call LoadLibrary for my custom libraries in TAndroidModule1.AndroidModule1Create and in API 13 I can't.
Don't know why but the app freezes.
I could fix this by adding the library loads to TAndroidModule1.AndroidModule1CreateOptionMenu.
Is there some way how to conditionally define the API level in the java sources, to skip unsupported things?
Commented out code is not very nice for generating a patch.
I made some other changes eg. for jCustomDialog etc. (and possibly will make more in future).
So I can send you patch(es) then.
EDIT: Ok I made changes according to this
https://community.oracle.com/blogs/schaefa/2005/01/20/how-do-conditional-compilation-java.
From now on, basic preprocessing based on API level can be used for the java sources. I will send you a patch (+I repaired my previous patch).
EDIT2: Still not fully understand why I get the resource compiler errors. Everything should be correct
AndroidManifext.xml:
<uses-sdk android:minSdkVersion="13" android:targetSdkVersion="13"/>
build.xml:
<property name="target" value="android-13"/>
Despite that aapt returns these errors (
Panic: [aapt] C:\lamw\projects\LamwGUIProject1\res\values-v14\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.DeviceDefault'.) although it should IMO ignore the files in values-v14 and values-v21 folders...