cordova-wheel-selector-plugin icon indicating copy to clipboard operation
cordova-wheel-selector-plugin copied to clipboard

Error: cannot find symbol with v1.1.5

Open ghost opened this issue 5 years ago • 6 comments

Introduced via https://github.com/jasonmamy/cordova-wheel-selector-plugin/commit/80c1ecb69fc22ea7148f8d6a615eea605fdfe9ae#diff-8bc41c3962ff62f78ac188b0c90cb9c6R220 in v1.1.5:

/Users/runner/runners/2.164.8/work/1/s/platforms/android/app/src/main/java/com/wellseek/cordova/SelectorCordovaPlugin.java:220: error: cannot find symbol
        
        cordova build android --release --device --verbose --buildConfig /Users/runner/r... exited with exit code 1.
            if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){
        
                                                                       ^
        Re-running this command with the --verbose flag may provide more information.
  symbol:   variable Q
2020-02-20T11:03:43.388Z ionic:cli-framework:utils:process onBeforeExit handler: process.exit received
  location: class VERSION_CODES
2020-02-20T11:03:43.388Z ionic:cli-framework:utils:process onBeforeExit handler: running 3 functions
/Users/runner/runners/2.164.8/work/1/s/platforms/android/app/src/main/java/com/wellseek/cordova/SelectorCordovaPlugin.java:222: error: cannot find symbol
                numberPicker.setTextColor(color);
                            ^
  symbol:   method setTextColor(int)
  location: variable numberPicker of type NumberPicker
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/runner/runners/2.164.8/work/1/s/platforms/android/app/src/main/java/com/synconset/MultiImageChooserActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

ghost avatar Feb 20 '20 11:02 ghost

Yes. I got the same error while trying to build earlier today. symbol: variable Q symbol: method setTextColor(int) Have you found any solution to this?

maswerdna avatar Feb 20 '20 18:02 maswerdna

Try rolling back to v1.1.4 until Zheng finds a resolution:

npm install @ionic-native/[email protected]

On Thu, Feb 20, 2020 at 10:54 AM Andrew Sam [email protected] wrote:

Yes. I got the same error while trying to build earlier today. symbol: variable Q symbol: method setTextColor(int) Have you found any solution to this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasonmamy/cordova-wheel-selector-plugin/issues/58?email_source=notifications&email_token=ACPVJRRREN5BB5ZWXZHN2CLRD3GVZA5CNFSM4KYMYCB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMPUDSQ#issuecomment-589251018, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPVJRXM2XHSTHVRPRZ4ZVLRD3GVZANCNFSM4KYMYCBQ .

jasonmamy avatar Feb 20 '20 19:02 jasonmamy

npm install [email protected] fixed it for me for now.

ghost avatar Feb 20 '20 20:02 ghost

@jasonmamy , Pull Request has been submitted.

zheng17 avatar Feb 21 '20 22:02 zheng17

Hello Thanks for your help. I'll do as you suggested.

On Fri, 21 Feb 2020 23:13 Zheng, [email protected] wrote:

@jasonmamy https://github.com/jasonmamy , Pull Request has been submitted.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jasonmamy/cordova-wheel-selector-plugin/issues/58?email_source=notifications&email_token=ADSEANKFFKIVCUHOVIG6E7DREBGZDA5CNFSM4KYMYCB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUIUOI#issuecomment-589859385, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSEANLSYIUHODROQLBQSTTREBGZDANCNFSM4KYMYCBQ .

maswerdna avatar Feb 24 '20 10:02 maswerdna

Problem still exists in 1.1.6. Any fix yet?

wunschradio avatar Feb 29 '20 11:02 wunschradio