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

F-Droid build failed #18

Open
linsui opened this issue Jul 3, 2023 · 0 comments
Open

F-Droid build failed #18

linsui opened this issue Jul 3, 2023 · 0 comments

Comments

@linsui
Copy link

linsui commented Jul 3, 2023

> Task :app:compilePureJavaWithJavac FAILED
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:22: error: cannot find symbol
import org.acra.annotation.AcraCore;
                          ^
  symbol:   class AcraCore
  location: package org.acra.annotation
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:23: error: cannot find symbol
import org.acra.annotation.AcraLimiter;
                          ^
  symbol:   class AcraLimiter
  location: package org.acra.annotation
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:24: error: cannot find symbol
import org.acra.annotation.AcraMailSender;
                          ^
  symbol:   class AcraMailSender
  location: package org.acra.annotation
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:25: error: cannot find symbol
import org.acra.annotation.AcraToast;
                          ^
  symbol:   class AcraToast
  location: package org.acra.annotation
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:27: error: cannot find symbol
@AcraCore(buildConfigClass = BuildConfig.class)
 ^
  symbol: class AcraCore
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:28: error: cannot find symbol
@AcraMailSender(mailTo = "[email protected]")
 ^
  symbol: class AcraMailSender
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:29: error: cannot find symbol
@AcraToast(resText = R.string.acra_alert)
 ^
  symbol: class AcraToast
/builds/linsui/fdroiddata/build/com.noprestige.kanaquiz/app/src/pure/java/com/noprestige/kanaquiz/KanaQuiz.java:30: error: cannot find symbol
@AcraLimiter
 ^
  symbol: class AcraLimiter
8 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compilePureJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Looks like the annotation is removed. See https://github.com/ACRA/acra/releases/tag/acra-5.9.0-rc1.

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

1 participant