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

how to Project compilation process in windows #276

Closed
ca3tiel opened this issue Aug 11, 2023 · 9 comments
Closed

how to Project compilation process in windows #276

ca3tiel opened this issue Aug 11, 2023 · 9 comments

Comments

@ca3tiel
Copy link

ca3tiel commented Aug 11, 2023

hi
i want to Build your project locally and im windows user
but i get some error you can see in this screenshot
Screenshot 2023-08-11 150712

i try using you instructions #177 and #162 but its not work for windows users

please send a full instruction for windows users

thanks

@ghost
Copy link

ghost commented Aug 11, 2023

#272 (comment)

    1. You'd better build libcore first.
    1. You'd better build in a shell envirment(such as git bash).

@ca3tiel
Copy link
Author

ca3tiel commented Aug 11, 2023

hi
I using git bash and at first step I was run the fallowing code:

./run lib core

and get this error:

>> buildScript/lib/core.sh
Error: NDK not found.
Error: NDK not found.

then I use this:

export ANDROID_NDK_HOME=/d/Android/Sdk/ndk/25.0.8775105

and ./run lib core work but get gomobile error like this screenshot:

Screenshot 2023-08-11 231052

so I try to install gomobile by

go install golang.org/x/mobile/cmd/gomobile@latest

I'm getting this error :

Screenshot 2023-08-11 231813

any help would be appreciated

@ghost
Copy link

ghost commented Aug 11, 2023

@ca3tiel What if use this gomobile?

@janahnovin
Copy link

Installing through git bash, I get an error and can't install, please help me

itrooz@DESKTOP-UVQ5S47 MINGW64 ~/Desktop/NekoBoxForAndroid-1.2.0 (master)
$ ./run lib core

buildScript/lib/core.sh
Error: NDK not found.
Error: NDK not found.

itrooz@DESKTOP-UVQ5S47 MINGW64 ~/Desktop/NekoBoxForAndroid-1.2.0 (master)
$ export ANDROID_NDK_HOME=/d/Android/Sdk/ndk/25.0.8775105

itrooz@DESKTOP-UVQ5S47 MINGW64 ~/Desktop/NekoBoxForAndroid-1.2.0 (master)
$ go install golang.org/x/mobile/cmd/gomobile@latest
bash: go: command not found

@janahnovin
Copy link

Please, when the source of a project is uploaded, put the complete project file. I don't think anyone has been able to extract the output from the source, there is a libcore error.

@ghost
Copy link

ghost commented Aug 15, 2023

Set your environment variables, please.Include go.

@janahnovin
Copy link

Is it possible to give more guidance?Many people have this problem, it should be solved once and for all, thank you

@ghost
Copy link

ghost commented Aug 15, 2023

Is it possible to give more guidance?Many people have this problem, it should be solved once and for all, thank you

I have covered in great detail. In some project, you must find how to build it by yourself without any guidance. You'd better learn how to use shell.

"If you can't find it by yourself, I think you can't contribute to it." One developer said.

@xchacha20-poly1305
Copy link
Contributor

没自己发现的人可能无法作出有效贡献

@Misaka-blog Misaka-blog closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
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

4 participants