Android Question Target API question

sorex

Expert
Licensed User
Longtime User
a question about this thread > https://www.b4x.com/android/forum/threads/87610/

I have an app that I just updated so I might aswell take advantage to have a look at these target requirements...

Android.jar > It doesn't affect the runtime behavior and it will not cause your app not to run on older versions.
Use the latest version available to avoid compilation errors.

I see that it points here to the api 13 one, do I need to raise this if nothing in my app requires a higher api?


About the possible problem that might appear...

How do I know if there's an issue?
Does this show up when running the app in debug or release mode when 'pushed' over USB?
Is there a special dialog that appears when installing through the app store that I might not see over USB?

My app runs fine on my 6.x phone after changing the target to 26 does this mean all is fine?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I see that it points here to the api 13 one, do I need to raise this if nothing in my app requires a higher api?
The android.jar version doesn't matter as long as your app compiles properly.
There is no relation between android.jar version and targetSdkVersion.

My app runs fine on my 6.x phone after changing the target to 26 does this mean all is fine?
No. You need to see the list of changes in that tutorial and test your app on Android 8 device.
 
Upvote 0
Top