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

Uses unchecked or unsafe operations #34

Open
Katekko opened this issue Jan 24, 2019 · 2 comments
Open

Uses unchecked or unsafe operations #34

Katekko opened this issue Jan 24, 2019 · 2 comments

Comments

@Katekko
Copy link

Katekko commented Jan 24, 2019

image

This happens when I build for release!

Just a note, didnt crash my apk

@IrosTheBeggar
Copy link

IrosTheBeggar commented Feb 16, 2019

This error crashed my emulator. It works fine when I build the APK though

@IrosTheBeggar
Copy link

Adding this line to my build.gradle file fixed the problem:

gradle.projectsEvaluated {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked"
    }
}

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