Closed medanisjbara closed 2 years ago
Hi,there is local.properties.dist in the repo. Rename it to local.properies and your problem should be solved!Best regards,MaxOn Apr 25, 2022 06:42, Med Anis Jbara @.***> wrote: Hello, I have no experience with gradle and how it works (so this possibly just a user error). I'm trying to build the app from source. (on a fresh Ubuntu 20.10 installation). apt install default-jre git clone $repo cd TextPad ./gradlew lint and the output is as follows Welcome to Gradle 6.5!
Here are the highlights of this release:
For more details see https://docs.gradle.org/6.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build completed with 2 failures.
Where: Build file '/root/TextPad/app/build.gradle' line: 4
What went wrong: A problem occurred evaluating project ':app'.
/root/TextPad/local.properties (No such file or directory)
What went wrong: A problem occurred configuring project ':app'.
compileSdkVersion is not specified. Please add it to build.gradle
Get more help at https://help.gradle.org
BUILD FAILED in 7m 49s
which suggests that the source code is missing (to be precise, i believe the first problem is /local.properties in your .gitignore. and the second one is the fact that SDK version is set as an environment variable instead of being present in the code ) or the build instructions on README are not .. informative enough, let's say. Thank you for your time.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for the fast reply. Sorry if mine wasn't fast.
yes, doing so did work (at least I wasn't stuck at the same problem).
Can you please add that as an instruction in the readme file (along with the android-sdk
dependency) so that newbies who feel adventurous (like myself) can do this easier. (or maybe point to another doc online that explains so if there is a good one you know of).
I'm still unable to compile though, (I wil report as soon as I test this on my archlinux computer).
If the problem is unrelated, should I report it here ? Or do I have to open another issue and close this one ?
Thanks for very good suggestion! I will update the readme asap!Best regards, MaxOn Apr 26, 2022 18:07, Med Anis Jbara @.***> wrote: Thanks for the fast reply. Sorry if mine wasn't fast. yes, doing so did work (at least I wasn't stuck at the same problem). Can you please add that as an instruction in the readme file (along with the android-sdk dependency) so that newbies who feel adventurous (like myself) can do this easier. (or maybe point to another doc online that explains so if there is a good one you know of). I'm still unable to compile though, (I wil report as soon as I test this on my archlinux computer). If the problem is unrelated, should I report it here ? Or do I have to open another issue and close this one ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Added the short note of how to compile an application. I guess it is too short, because I use Android Studion, gradle is only used to compile application in pipeline. Feel free to reopen this issue if you need more information or think that readme should contain it.
Understood, thank you.
Hello, I have no experience with gradle and how it works (so this possibly just a user error). I'm trying to build the app from source. (on a fresh Ubuntu 20.10 installation).
apt install default-jre
git clone $repo
cd TextPad
./gradlew lint
and the output is as follows
which suggests that the source code is missing (to be precise, i believe the first problem is
/local.properties
in your .gitignore. and the second one is the fact that SDK version is set as an environment variable instead of being present in the code ) or the build instructions on README are not .. informative enough, let's say.Thank you for your time.
Edit: An important details I didn't mention is that I'm trying this on
proot-distro
on termux, therefore there's a high chance of that being the problem.Edit 2: I have just tried the same steps on my archlinux laptop (with every officially supported JVM).
settings.gradle
being missing.