cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radoslav Chovan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12256) bug in plugin cordova-plugin-screen-orientation 2.0.0-dev
Date Thu, 15 Dec 2016 09:55:58 GMT
Radoslav Chovan created CB-12256:
------------------------------------

             Summary: bug in plugin cordova-plugin-screen-orientation 2.0.0-dev 
                 Key: CB-12256
                 URL: https://issues.apache.org/jira/browse/CB-12256
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Device Orientation
    Affects Versions: 2.0.0
         Environment: gitlab CI 
android@5.1.1
cordova@6.40
            Reporter: Radoslav Chovan
            Priority: Blocker


bug in plugin device orientation@2.0.0. Can't compile on Debian 8.6 64bit with cordova 6.4.0
. 

cordova plugins
{noformat}
com-intel-security-cordova-plugin 2.0.3 "APP Security API"
com.bluefletch.motorola 0.1.0 "Motorola Cordova Plugin"
cordova-plugin-battery-status 1.2.3-dev "Battery"
cordova-plugin-camera 2.3.2-dev "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.6-dev "Console"
cordova-plugin-crosswalk-webview 2.0.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.5-dev "Device"
cordova-plugin-dialogs 1.3.2-dev "Notification"
cordova-plugin-file 4.3.1 "File"
cordova-plugin-file-transfer 1.6.2-dev "File Transfer"
cordova-plugin-globalization 1.0.6-dev "Globalization"
cordova-plugin-media 2.4.2-dev "Media"
cordova-plugin-screen-orientation 2.0.0-dev "Screen Orientation"
cordova-plugin-splashscreen 4.0.2-dev "Splashscreen"
cordova-plugin-vibration 2.1.4-dev "Vibration"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-plugin-x-toast 2.5.2 "Toast"
cordova-sqlite-legacy-build-support 1.3.4 "Cordova sqlite legacy build support"
cordova.plugins.diagnostic 3.3.2 "Diagnostic"
phonegap-plugin-barcodescanner 6.0.5-dev "BarcodeScanner"
{noformat}

cordova clean android; cordova -d build android
{noformat}
:generateArmv7DebugSources
:compileArmv7DebugJavaWithJavac/home/gitlab-runner/builds/49c34c6d/0/orwmob/orw_fain/platforms/android/src/cordova/plugins/screenorientation/CDVOrientation.java:52:
error: cannot find symbol
        Log.d(TAG, "execute action: " + action);
              ^
  symbol:   variable TAG
  location: class CDVOrientation
/home/gitlab-runner/builds/49c34c6d/0/orwmob/orw_fain/platforms/android/src/cordova/plugins/screenorientation/CDVOrientation.java:72:
error: cannot find symbol
        Log.d(TAG, "Requested ScreenOrientation: " + orientation);
              ^
  symbol:   variable TAG
  location: class CDVOrientation
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
 FAILED
{noformat}

After switching back to previous version 1.4.2, build is successfull 

cordova plugin list
{noformat}
com-intel-security-cordova-plugin 2.0.3 "APP Security API"
com.bluefletch.motorola 0.1.0 "Motorola Cordova Plugin"
cordova-plugin-battery-status 1.2.3-dev "Battery"
cordova-plugin-camera 2.3.2-dev "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.6-dev "Console"
cordova-plugin-device 1.1.5-dev "Device"
cordova-plugin-dialogs 1.3.2-dev "Notification"
cordova-plugin-file 4.3.1 "File"
cordova-plugin-file-transfer 1.6.2-dev "File Transfer"
cordova-plugin-globalization 1.0.6-dev "Globalization"
cordova-plugin-media 2.4.2-dev "Media"
cordova-plugin-screen-orientation 1.4.2 "Screen Orientation"
cordova-plugin-splashscreen 4.0.2-dev "Splashscreen"
cordova-plugin-vibration 2.1.4-dev "Vibration"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-plugin-x-toast 2.5.2 "Toast"
cordova-sqlite-legacy-build-support 1.3.4 "Cordova sqlite legacy build support"
cordova.plugins.diagnostic 3.3.2 "Diagnostic"
phonegap-plugin-barcodescanner 6.0.5-dev "BarcodeScanner"
{noformat}

cordova clean android; cordova -d build android
{noformat}
BUILD SUCCESSFUL
Total time: 2 mins 42.219 secs
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message