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

Lint error on build #1670

Closed
tinboyko opened this issue Jul 24, 2020 · 1 comment
Closed

Lint error on build #1670

tinboyko opened this issue Jul 24, 2020 · 1 comment

Comments

@tinboyko
Copy link

tinboyko commented Jul 24, 2020

Getting lint errors while using gradlew build

/termux-app/app/src/main/java/com/termux/app/TermuxService.java:109: Error: Tag name should use a unique prefix followed by a colon (found termux). For instance myapp:mywakelocktag. This will help with debugging [InvalidWakeLockTag]
                  mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, EmulatorDebug.LOG_TAG);
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/termux-app/app/src/main/java/com/termux/app/ExtraKeysInfos.java:308: Error: Call requires API level 26 (current min is 24): java.lang.String#join [NewApi]
          this.key = String.join(" ", keys);
                            ~~~~

ghost pushed a commit that referenced this issue Aug 14, 2020
ghost pushed a commit that referenced this issue Aug 14, 2020
String.join() is available only on Android API 26+ but our current
minimal is 24.

See #1670.
@ghost
Copy link

ghost commented Aug 14, 2020

Fixed now.

@ghost ghost closed this as completed Aug 14, 2020
@ghost ghost added the bug report label Aug 14, 2020
@ghost ghost locked and limited conversation to collaborators Oct 17, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant