#6
Post
by rames44 » Tue Nov 13, 2018 9:30 pm
The original error, "Mixed EOL characters detected," is likely a result of the fact that Windows and Linux use different conventions for "end of line." Under Windows, text files use two characters - "Carriage Return" and "Line Feed" (a.k.a. "\r" and "\n") to end a line. Under Linux, only one character - "Line Feed" - is used. (BTW, the "n" in "\n" comes from "newline".) So if you have a file that someone created under Linux and then you edit it under Windows, or vice versa, you can run into a situation in which different lines have been given different endings. Your editor is warning you that it has found that, and is offering to convert all the lines to use the Windows convention.
This doesn't have anything to do with the APK issue.
When you write Android programs using Java, the java class files are transmogrified into the "APK" file format. Java, like Python, has "classes" and "methods." For internal technical reasons, the APK file format essentially numbers every method of every class uniquely. And that number has to fit in a 16-bit integer. So if you have more than 64K methods, your program won't fit into a single APK. There are techniques for breaking such a program up into multiple APK files, which is what the reference you've been given is mentioning.
Now, that being said, I don't know how PyTom's "Ren'py-to-Android" stuff works. But it sounds like you have a Ren'py program that, in some way, shape or form, is generating, well, "too many notes." (Sorry - bad Amadeus reference.) So many that it won't fit into the APK file format.
Best thing to do, in this case, is to contact PyTom and see if he can give you some advice on what to do.