Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.75k stars 2.98k forks source link

Cannot run ./sdkmanager --licenses #9181

Closed mahdoosh1 closed 1 year ago

mahdoosh1 commented 1 year ago

Platforms

Android

Build

Android 13

Issue

By running this command as said in readme.md, i get error bash: ./sdkmanager: permission denied

Steps to reproduce

  1. Do steps in readme.md
  2. Run the command said at there "./sdkmanager --licenses" with Termux app

Mods used

Es file explorer to extract file

Save file

How do i upload file in mobile?

(Crash) logs

bash: ./sdkmanager: permission denied

Submission

mahdoosh1 commented 1 year ago

I think if mindustry can be ran in mobile/arm devices, there is no reason it cant be compiled(bulided) on mobile/arm devices

Anuken commented 1 year ago

For this particular problem: chmod +x sdkmanager

This is not a bug. Building on Termux isn't supported, and it's up to you to get it working. I do not provide help in the issue tracker.

mahdoosh1 commented 1 year ago

Oh youre right! In android 11 and later, i cannot run ot execute commands that need administrator premission or something similer

SMOLKEYS commented 1 year ago

I think if mindustry can be ran in mobile/arm devices, there is no reason it cant be compiled(bulided) on mobile/arm devices

aapt2, among other things, does not work under the ARM architecture family. Even if you handled the issue with aapt2, you still have the other issues. Using a distro with proot-distro might work out, but I can't say if it successfully will as I haven't tested it myself.