-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/mobile/bind: Android app with Go library and targetSdkVersion=23 crashes on Android 6 #12890
Comments
In case I run same app, but built with targetSdkVersion=22, on same device, it shows me just warnings: W/linker: /data/app/my.app.package/lib/arm/libgojni.so: is missing DT_SONAME will use basename as a replacement: "libgojni.so" W/linker: /data/app/my.app.package/lib/arm/libgojni.so has text relocations. This is wasting memory and prevents security hardening. Please fix. |
@ekrivenja I believe this is fixed. Could you run |
gomobile version +82d11f2 Tue Oct 13 19:59:19 2015 +0000 (android); androidSDK=C:\Android\android-sdk\platforms\android-23 Sorry, but the issue is still there, same exception with targetSdkVersion=23, same warnings with with targetSdkVersion=22 |
@crawshaw, I cannot reopen this issue, because you closed it, I think. |
reopened it. |
Are you using Go tip? |
What do you mean "Go tip"? I don't understand, sorry. |
It means the development version which is not released yet. The fix is in the source tree now and will be officially available with 1.6. |
@hyangah, thank you, now I understand. I thought only gomobile was fixed. go version go1.5.1 windows/amd64 I'll try master branch. |
Master branch was used go version devel +9358f7f Fri Oct 16 15:51:49 2015 +0000 windows/amd64 In case of targetSdkVersion=22 I see only one warning now W/linker: /data/app/my.app.package/lib/arm/libgojni.so: is missing DT_SONAME will use basename as a replacement: "libgojni.so" In case of targetSdkVersion=23, no warnings, no exceptions. |
I have some prototype app with Go library, built with gomobile bind command.
Until today I was building it with targetSdkVersion=22 and all worked fine, include Android 6.
Today I decided to rebuild it with targetSdkVersion=23 and got an Exception on my Nexus with Android 6:
I think, the problem is very similar to
http://stackoverflow.com/questions/32346402/libavcodec-so-has-text-relocations
The text was updated successfully, but these errors were encountered: