VendettaDroid
VendettaDroid

Reputation: 3111

Is there a way one can find out which ndk version was used to compile android .so share library?

Is there a way one can find out which ndk version was used to compile android .so share library ?

Upvotes: 3

Views: 1043

Answers (1)

Alex Cohn
Alex Cohn

Reputation: 57173

There are some hints, like if the file was compiled in 2010, it could not be NDK r10. Or if it was compiled with gcc 4.9, it must have been above r8 (IIRC, I did not check). You can set the lower limit also if it is 64bit. Or if it is for platform 21.

You are in a much better shape if there is a prebuilt STL library next to your .so. This file can be binary compared to the versions packed in each NDK release.

Upvotes: 1

Related Questions