HelloZeroNet / ZeroNet-kivy

Android client for ZeroNet
https://zeronet.io
GNU General Public License v2.0
283 stars 74 forks source link

Build Using Android Studio on Windows? #66

Closed Merith-TK closed 5 years ago

Merith-TK commented 5 years ago

AS the title says, id like to build using android studio on windows 10. Any idea how? i do have MSys installed and up to date if that helps

Merith-TK commented 5 years ago

Im asking because im thinking about forking this project, but adding a webveiw into it so that the user doesnt have to open their browser.

mkg20001 commented 5 years ago

The project doesn't use android studio, but instead buildozer builds the python runtime for android using python-for-android and creates a gradle configuration that gets used to put everything together into one APK I thought about using android studio and somehow hacking everything together so that it works, but then you'd have a tremendous amount of work before you, since you'd have to change a lot of things in a lot of places to get it to build as well as get CI working properly.

If building on windows is supported, is unknown to me. But you'd need at least python installed and in your path as well as all required dependencies. Or just use WSL, which is way easier.

Merith-TK commented 5 years ago

I will use something better than wsl (which WSL2 is still a pos)

It's called Ssh into my live Arch System.

Thanks for the headsup, I'm not used to cli build tools.

On Tue, Jul 9, 2019, 5:07 PM Maciej Krüger notifications@github.com wrote:

The project doesn't use android studio, but instead buildozer builds the python runtime for android using python-for-android and creates a gradle configuration that gets used to put everything together into one APK I thought about using android studio and somehow hacking everything together so that it works, but then you'd have a tremendous amount of work before you, since you'd have to change a lot of things in a lot of places to get it to build as well as get CI working properly.

If building on windows is supported, is unknown to me. But you'd need at least python installed and in your path as well as all required dependencies. Or just use WSL, which is way easier.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HelloZeroNet/ZeroNet-kivy/issues/66?email_source=notifications&email_token=ACPQOXVBU7F35SYSPHJ2O3LP6UR4DA5CNFSM4H653ND2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZR4KNI#issuecomment-509855029, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPQOXXUQVBTOMTMYTSDMA3P6UR4DANCNFSM4H653NDQ .

mkg20001 commented 5 years ago

It's called Ssh into my live Arch System.

Arch hasn't been thoroughly tested yet, so it's recommended that you install docker and use that to run the build commands on the arch system.

Otherwise you could also try getting it to run on arch and make some docs

Merith-TK commented 5 years ago

the only real difference we should have to worry about is Group Ownership of files and different dependancy names

mkg20001 commented 5 years ago

the only real difference we should have to worry about is Group Ownership of files and different dependancy names

unsure if that's what's important. Rather location of the libraries and the versions of them are the factors that matter.

mkg20001 commented 5 years ago

Closing since project can't be built using android studio directly