NekoBoxForAndroid icon indicating copy to clipboard operation
NekoBoxForAndroid copied to clipboard

guide to compile from source

Open GFW-knocker opened this issue 2 years ago • 2 comments

hi thanks for your great project.

im trying to compile nekobox in android studio "import go.seq" is undefined im trying to build aar using "gomobile" i get this error:

libcore imports github.com/sagernet/sing-box/nekoutils: module github.com/sagernet/sing-box@latest found (v1.2.7), but does not contain package github.com/sagernet/sing-box/nekoutils

can you provide a step-by-step guide for compiling nekobox in android studio please? thanks in advance

GFW-knocker avatar May 29 '23 12:05 GFW-knocker

https://github.com/MatsuriDayo/NekoBoxForAndroid/issues/177

There was a tutorial here

arm64v8a avatar May 31 '23 04:05 arm64v8a

Current changes:

  1. jdk8 is required to build libcore
  2. gradlew must use a newer jdk, e.g. jdk17 is possible

arm64v8a avatar Jun 04 '23 03:06 arm64v8a