-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fails to build out-of-the-box. (Sponsorship) #644
Comments
Last I checked the build server worked so it's likely to be the usual configuration issues with Android Studio. Try to build another flavor maybe, the F-Droid one maybe. Make sure you clear the Android Studio caches and clean things up properly by deleting the proper directories. Maybe just clone the repo in a new folder and try again if you are not familiar with sorting out Android Studio issues. It could also be that they changed something in the latest Android Studio version and that things need adjusting again. |
I see no declarations of "Sponsorship" anywhere in this project. The "flavor" menu is grayed out. Is this a clue? I have deleted .gradle/ and clear-caches-restarted. No smiles. I am horribly familiar with sorting out AS issues. I tried updating all the dependencies... now I'm getting an error I didn't see before: the dreaded "Duplicate class found" |
Update: I got build flavors now. AS wanted to update something about "test coverage", and I let it do that. OK. I'm debugging the thing for you now. I found the root of the first problem. The gradle property Instead, under android{} in build.gradle: NOW it finds "Sponsorship". Not building yet. Will advise. |
Updated dependencies and re-built. Known problem. Tried downgrading
That gets rid of the Duplicate class problem. Next: Try adding dependency: Now it builds. I can give you further help, if you're unfamiliar with sorting out Android Studio problems! |
Let me clarify some of that.
This deprecation is not new. You should be able to remove that directive, and replace it with
under android{} in build.gradle. Cheers! |
Description
The project fails to build out-of-the box on latest Android Studio.
Environment
To reproduce
Steps to reproduce the behaviour:
git clone https://github.com/Slion/Fulguris.git
open Fulguris project in Android studio
allow to synch
build
see error:
Cannot find symbol class Sponsorship
$PROJECTS$ /Fulguris/app/build/generated/source/buildConfig/androidTest/slionsFullDownload/debug/fulguris/test/
BuildConfig.java:17: error: cannot find symbol
public static final Sponsorship SPONSORSHIP = Sponsorship.BRONZE;
Expected behaviour
It should just build.
Additional
I made no changes to the source, and just use the AS distro JDK, etc.
The text was updated successfully, but these errors were encountered: