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

Permission woes make it impossible to dev on android device itself #280

Closed
HarrievG opened this issue Oct 25, 2024 · 2 comments
Closed

Permission woes make it impossible to dev on android device itself #280

HarrievG opened this issue Oct 25, 2024 · 2 comments

Comments

@HarrievG
Copy link

HarrievG commented Oct 25, 2024

For any future readers.
There is no way on a unrooted devices to use 11.3 > without having a shitton of permission pain.
Just downgrade to 11.3 and you will be able to edit lua files on your device in the good old /sdcard/lovegame.

The core problem here is that you are not able to copy files to or edit files due to app permissions in /sdcard/Android/data/org.love2d.android/files/games/lovegame
on an unrooted device

With ADB you are able to create and copy files to that location. even with unrooted adb. So editing on pc and then copying to device is still a viable option to dev

TLDR
Love2d 11.3 > forces the usage of /sdcard/Android/data/org.love2d.android/files/games/lovegame, which is a protected location.
If you want to be able to edit lua files and run directly on your android device use 11.3.

Originally posted by @HarrievG in #253 (comment)

@HarrievG HarrievG changed the title Permission woes make it unable to dev on android device itself Permission woes make it impossible to dev on android device itself Oct 25, 2024
@HarrievG
Copy link
Author

To add:
IMHO this a major drawback of the current permission system.
But the love2d android build should be able to be build with the right permissions and an option to read from sdcard/lovegame as was possible before.

@MikuAuahDark
Copy link
Collaborator

MikuAuahDark commented Oct 25, 2024

Developing LOVE game in Android is not supported. Developing LOVE game for Android is.

Please see #194 as to the rationale behind all the permission changes. Basically, there's nothing we can do about it to have the old system back. And no, there's no way to build it with the "right" permission when targetting latest Android version.

It's also worth to mention that LOVE 11.3 doesn't work with modern 64-bit device as those devices are using tagged pointers (see #200).

@MikuAuahDark MikuAuahDark closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
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