question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.4.1 does not compile

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

Does not compile:

> Task :react-native-date-picker:compileReleaseJavaWithJavac FAILED

node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/pickers/
AndroidNative.java:56: error: cannot find symbol
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {

symbol:   variable Q
location: class VERSION_CODES

node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/pickers/
AndroidNative.java:57: error: incompatible types: int cannot be converted to String
            setTextColor(color);

compileSdk = 30
buildTools = "30.0.2"
minSdk = 22
targetSdk = 30

Smartphone (please complete the following information):

  • OS: Android
  • React Native version 0.65.1
  • react-native-date-picker version 3.4.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
tapzcommented, Aug 30, 2021

I only get one error, which is:

/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/pickers/AndroidNative.java:57: 
error: incompatible types: int cannot be converted to String
            setTextColor(color);

2reactions
henninghallcommented, Sep 5, 2021

@MujtabaFR you did remember to rebuild after install right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebStatus wont compile: The "jquery@3.4.1" library could not ...
Try this: -Right click libman.json. Disable Client-Side libraries on build. Build the project.
Read more >
Gradle 3.4.1 Release Notes
This release fixes critical defects to the Java incremental compilation that may prevent recompilation. It does not include any new features. We recommend ......
Read more >
3. Using GHCi — Glasgow Haskell Compiler 9.4.3 User's Guide
Since GHCi will only use a compiled object file if it can be sure that the compiled version is up-to-date, a good technique...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
... Bug:22806 - "gs-sources 2.4.21_rc8 will not compile on SMP machine. ... "gcc 3.4.1 can't compile emu10k1" status:RESOLVED resolution:TEST-REQUEST ...
Read more >
Release Notes | Clang Power Tools
Bug Fixes · Clang compile is not launched after a successful MSVC compilation · The Tidy on save option is not working properly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found