Discussion:
NDK version compatibility for targets Android versions
Aurélien ....
2016-05-18 08:46:35 UTC
Permalink
Hello,

I make an app using the NDK 12 which worked on my phone (Android 21).

When I tried to compile it for an Android 19 device, I had some errors at
the link time because some symbols like "atof" were missing.

The reason was that these symbols where not present on older versions of
Android, so the NDK included them. But in newer versions of Android, these
symbols are native so the NDK does not have to include them.

Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.

Well, ok.

My question is : Is there is a compatibility table between the NDK versions
to use depending the Android version targets ?

I mean if I want to compile my app for Android 13, which NDK have I to use
? And for 14, 15, 16 etc. ?

Thank you in advance :)
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
mic _
2016-05-18 15:15:22 UTC
Permalink
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html

/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors at
the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions of
Android, so the NDK included them. But in newer versions of Android, these
symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to use
? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2016-05-23 19:48:36 UTC
Permalink
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).

It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors at
the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions of
Android, so the NDK included them. But in newer versions of Android, these
symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhtzep8R1y2DhdXp_ULSSwjt_S1UR3V49BLoMUTJ1NwMjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Wei Wang
2018-04-12 14:00:50 UTC
Permalink
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .

BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).
It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors
at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions of
Android, so the NDK included them. But in newer versions of Android, these
symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2018-04-12 16:20:20 UTC
Permalink
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).
It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors
at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhsek9QAeGqcc7WzX53_CLxAQgZqXhJCNsEKcTObFTnZxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Wei Wang
2018-04-26 08:00:41 UTC
Permalink
Dear Dan Albert
Excuse , I encounter one question

I have a *.so with NDK - r10b (GCC compiler) compiling , now I
use the .so on the Android N , but the Android N is Clang compiler ,


I think there may be some problem on this situation
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).
It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors
at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/1fa18e01-ac1b-4f63-84dd-ee6f754f34bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2018-04-26 17:20:36 UTC
Permalink
It's not something we test but it shouldn't be a problem.
Post by Wei Wang
Dear Dan Albert
Excuse , I encounter one question
I have a *.so with NDK - r10b (GCC compiler) compiling , now
I use the .so on the Android N , but the Android N is Clang compiler ,
I think there may be some problem on this situation
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are
orthogonal concepts. You should always be using the latest NDK for the best
behavior (possibly N-1 if there's a bug in the latest stable, but that
won't be the average case).
It does sound like your APP_PLATFORM is set to a newer platform than
the device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some
errors at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I
to use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1fa18e01-ac1b-4f63-84dd-ee6f754f34bc%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1fa18e01-ac1b-4f63-84dd-ee6f754f34bc%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhuBo6%2BtvC9m%3DJmxNHs0CvqsAC5xsmPo60H%2Brf0qhfcRTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
t***@gmail.com
2018-08-04 03:17:41 UTC
Permalink
Dear Dan Albert
I am Wei Wang's colleague, another
Now our customer use ndk 13b (api24) to compile .so and .a , they
want use the .so and .a in the Android P ? Do they can work normal in
Android P ?

Why do I encounter the problem , because some reason , our customer
don't want to compile the so/.a in new tool-chain ~

圚 2018幎4月13日星期五 UTC+8䞊午12:20:46Dan Albert写道
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).
It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors
at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/6abe95c3-c3b7-4642-9e4e-16c85885599b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ren Terry
2018-08-06 10:51:52 UTC
Permalink
Dear Dan Albert
I have a question to consult you .
Now our customer use ndk 13b (api24) to compile .so and .a , they
want use the .so and .a in the Android P ? Do they can work normal in
Android P ?
Why do I encounter the problem , because some reason , our customer
don't want to compile the so/.a in new tool-chain ~

I see the some replay before the the ndk 13b(api24) .so/.a can use in
Android O(8.x) ~

圚 2018幎4月13日星期五 UTC+8䞊午12:20:46Dan Albert写道
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are orthogonal
concepts. You should always be using the latest NDK for the best behavior
(possibly N-1 if there's a bug in the latest stable, but that won't be the
average case).
It does sound like your APP_PLATFORM is set to a newer platform than the
device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some errors
at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I to
use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/31e4ce6e-fc2d-4f38-aa29-c1a87c1552d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2018-08-06 16:34:46 UTC
Permalink
Yes. All NDKs should be compatible with all platform versions except in
very rare circumstances.
Post by Wei Wang
Dear Dan Albert
I have a question to consult you .
Now our customer use ndk 13b (api24) to compile .so and .a , they
want use the .so and .a in the Android P ? Do they can work normal in
Android P ?
Why do I encounter the problem , because some reason , our
customer don't want to compile the so/.a in new tool-chain ~
I see the some replay before the the ndk 13b(api24) .so/.a can use in
Android O(8.x) ~
圚 2018幎4月13日星期五 UTC+8䞊午12:20:46Dan Albert写道
Yes.
Post by Wei Wang
Hello Dan Albert
I have a question ?
our customer use ndk 13b (api24) to compile .so and .a ,
Can I use them in the Android 8.0 ? because some reason , our customer
can't update the NDK to high version .
BR
Post by 'Dan Albert' via android-ndk
The NDK version and the Android version you are targeting are
orthogonal concepts. You should always be using the latest NDK for the best
behavior (possibly N-1 if there's a bug in the latest stable, but that
won't be the average case).
It does sound like your APP_PLATFORM is set to a newer platform than
the device you're trying to run on. APP_PLATFORM is a *minimum* supported
version.
Post by mic _
What did you set APP_PLATFORM to? See
https://developer.android.com/ndk/guides/stable_apis.html and
https://developer.android.com/ndk/guides/application_mk.html
/Michael
Post by Aurélien ....
Hello,
I make an app using the NDK 12 which worked on my phone (Android 21).
When I tried to compile it for an Android 19 device, I had some
errors at the link time because some symbols like "atof" were missing.
The reason was that these symbols where not present on older versions
of Android, so the NDK included them. But in newer versions of Android,
these symbols are native so the NDK does not have to include them.
Consequently, using the NDK 12 for an Android 19 target did not work
because either the NDK or Android defined these symbols.
Well, ok.
My question is : Is there is a compatibility table between the NDK
versions to use depending the Android version targets ?
I mean if I want to compile my app for Android 13, which NDK have I
to use ? And for 14, 15, 16 etc. ?
Thank you in advance :)
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/10a8f830-1c7c-40cd-a8ef-5dd9e852bd8d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com
<https://groups.google.com/d/msgid/android-ndk/CAJwpw3bYfZufk5VRRr6AdN5GQVZvGyFhGT1nn3k5hSHTt7q_Sw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/1a19b0ea-a639-49d3-8aba-aaf6e020bf07%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/31e4ce6e-fc2d-4f38-aa29-c1a87c1552d0%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/31e4ce6e-fc2d-4f38-aa29-c1a87c1552d0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhtqf1xRfXzi44q_vryMWhuBdMi2evcMe-pb%2B4QOXmOGVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...