Skip to content
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

Android SDK 30 #192

Open
1 of 2 tasks
hsjoberg opened this issue Jul 22, 2020 · 4 comments
Open
1 of 2 tasks

Android SDK 30 #192

hsjoberg opened this issue Jul 22, 2020 · 4 comments

Comments

@hsjoberg
Copy link
Owner

hsjoberg commented Jul 22, 2020

https://developer.android.com/preview/overview

Known compatibility issues:

@hsjoberg hsjoberg changed the title Android SD K30 Android SDK 30 Jul 22, 2020
@hsjoberg
Copy link
Owner Author

@hsjoberg
Copy link
Owner Author

hsjoberg commented Aug 4, 2020

Currently crashes on Android R devices when compiling with SDK 30:

I/GoLog: 2020-07-31 14:18:51.889 [INF] LTND: REST API is disabled!
    2020-07-31 14:18:51.889 [INF] LTND: Listening on the p2p interface is disabled!
I/GoLog: 2020-07-31 14:18:51.891 [INF] LTND: Version: 0.10.99-beta commit=clock/v1.0.0-246-g22cd1203fe96a1417b428a009f4e28d31f921d85, build=development, logging=default
I/GoLog: 2020-07-31 14:18:51.891 [INF] LTND: Active chain: Bitcoin (network=testnet)
    2020-07-31 14:18:51.891 [INF] LTND: Opening the main database, this might take a few minutes...
    2020-07-31 14:18:51.893 [INF] CHDB: Checking for schema update: latest_version=17, db_version=17
I/GoLog: 2020-07-31 14:18:51.894 [INF] LTND: Database now open (time_to_open=3.09258ms)!
I/GoLog: 2020-07-31 14:18:51.895 [INF] RPCS: Generating TLS certificates...
    2020-07-31 14:18:51.895 [ERR] LTND: unable to load TLS credentials: route ip+net: netlinkrib: permission denied
W/Thread-2: type=1400 audit(0.0:254): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tclass=netlink_route_socket permissive=0 b/155595000 app=com.example.lndtest

AFAICT this is related to SELinux.

@hsjoberg
Copy link
Owner Author

hsjoberg commented Aug 4, 2020

Upstream ticket has been filled golang/go#40569

@remyers
Copy link

remyers commented Oct 1, 2020

Can confirm targeting SDK 30 gave me the same error, and switching to target SDK 29 seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants