stevennathaniel

Log Error Ionic Cordova Android 23042016

Apr 23rd, 2016
236
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. steven@steven-N43SM ~/ProyekIonic/Latihan1/myApp $ ionic build android
  2. Running command: /home/steven/ProyekIonic/Latihan1/myApp/hooks/after_prepare/010_add_platform_class.js /home/steven/ProyekIonic/Latihan1/myApp
  3. add to body class: platform-android
  4. ANDROID_HOME=/usr/local/androidsdk/android-sdk-linux
  5. JAVA_HOME=/usr/local/java/jdk1.8.0_77
  6. :preBuild UP-TO-DATE
  7. :preDebugBuild UP-TO-DATE
  8. :checkDebugManifest
  9. :CordovaLib:preBuild UP-TO-DATE
  10. :CordovaLib:preDebugBuild UP-TO-DATE
  11. :CordovaLib:compileDebugNdk UP-TO-DATE
  12. :CordovaLib:compileLint
  13. :CordovaLib:copyDebugLint UP-TO-DATE
  14. :CordovaLib:mergeDebugProguardFiles UP-TO-DATE
  15. :CordovaLib:packageDebugRenderscript UP-TO-DATE
  16. :CordovaLib:checkDebugManifest
  17. :CordovaLib:prepareDebugDependencies
  18. :CordovaLib:compileDebugRenderscript UP-TO-DATE
  19. :CordovaLib:generateDebugResValues UP-TO-DATE
  20. :CordovaLib:generateDebugResources UP-TO-DATE
  21. :CordovaLib:packageDebugResources UP-TO-DATE
  22. :CordovaLib:compileDebugAidl UP-TO-DATE
  23. :CordovaLib:generateDebugBuildConfig UP-TO-DATE
  24. :CordovaLib:generateDebugAssets UP-TO-DATE
  25. :CordovaLib:mergeDebugAssets UP-TO-DATE
  26. :CordovaLib:processDebugManifest UP-TO-DATE
  27. :CordovaLib:processDebugResources UP-TO-DATE
  28. :CordovaLib:generateDebugSources UP-TO-DATE
  29. :CordovaLib:compileDebugJavaWithJavac/home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java:25: error: cannot find symbol
  30. import android.webkit.ClientCertRequest;
  31. ^
  32. symbol: class ClientCertRequest
  33. location: package android.webkit
  34. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java:32: error: cannot find symbol
  35. private final ClientCertRequest request;
  36. ^
  37. symbol: class ClientCertRequest
  38. location: class CordovaClientCertRequest
  39. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java:34: error: cannot find symbol
  40. public CordovaClientCertRequest(ClientCertRequest request) {
  41. ^
  42. symbol: class ClientCertRequest
  43. location: class CordovaClientCertRequest
  44. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:41: error: cannot find symbol
  45. import android.webkit.PermissionRequest;
  46. ^
  47. symbol: class PermissionRequest
  48. location: package android.webkit
  49. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:265: error: cannot find symbol
  50. public boolean onShowFileChooser(WebView webView, final ValueCallback<Uri[]> filePathsCallback, final WebChromeClient.FileChooserParams fileChooserParams) {
  51. ^
  52. symbol: class FileChooserParams
  53. location: class WebChromeClient
  54. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:285: error: cannot find symbol
  55. public void onPermissionRequest(final PermissionRequest request) {
  56. ^
  57. symbol: class PermissionRequest
  58. location: class SystemWebChromeClient
  59. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java:29: error: cannot find symbol
  60. import android.webkit.ClientCertRequest;
  61. ^
  62. symbol: class ClientCertRequest
  63. location: package android.webkit
  64. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java:116: error: cannot find symbol
  65. public void onReceivedClientCertRequest (WebView view, ClientCertRequest request)
  66. ^
  67. symbol: class ClientCertRequest
  68. location: class SystemWebViewClient
  69. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:263: error: cannot find symbol
  70. @TargetApi(Build.VERSION_CODES.LOLLIPOP)
  71. ^
  72. symbol: variable LOLLIPOP
  73. location: class VERSION_CODES
  74. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:283: error: cannot find symbol
  75. @TargetApi(Build.VERSION_CODES.LOLLIPOP)
  76. ^
  77. symbol: variable LOLLIPOP
  78. location: class VERSION_CODES
  79. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:35: error: cannot find symbol
  80. @TargetApi(Build.VERSION_CODES.LOLLIPOP)
  81. ^
  82. symbol: variable LOLLIPOP
  83. location: class VERSION_CODES
  84. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java:222: error: cannot find symbol
  85. getActivity().requestPermissions(permissions, requestCode);
  86. ^
  87. symbol: method requestPermissions(String[],int)
  88. location: class Activity
  89. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java:228: error: cannot find symbol
  90. getActivity().requestPermissions(permissions, requestCode);
  91. ^
  92. symbol: method requestPermissions(String[],int)
  93. location: class Activity
  94. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java:233: error: cannot find symbol
  95. if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
  96. ^
  97. symbol: variable M
  98. location: class VERSION_CODES
  99. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java:235: error: cannot find symbol
  100. int result = activity.checkSelfPermission(permission);
  101. ^
  102. symbol: method checkSelfPermission(String)
  103. location: variable activity of type Activity
  104. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java:493: error: method does not override or implement a method from a supertype
  105. @Override
  106. ^
  107. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:264: error: method does not override or implement a method from a supertype
  108. @Override
  109. ^
  110. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:271: error: cannot find symbol
  111. Uri[] result = WebChromeClient.FileChooserParams.parseResult(resultCode, intent);
  112. ^
  113. symbol: variable FileChooserParams
  114. location: class WebChromeClient
  115. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java:284: error: method does not override or implement a method from a supertype
  116. @Override
  117. ^
  118. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:40: error: cannot find symbol
  119. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
  120. ^
  121. symbol: variable LOLLIPOP
  122. location: class VERSION_CODES
  123. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:41: error: cannot find symbol
  124. cookieManager.setAcceptThirdPartyCookies(webView, true);
  125. ^
  126. symbol: method setAcceptThirdPartyCookies(WebView,boolean)
  127. location: variable cookieManager of type CookieManager
  128. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:62: error: cannot find symbol
  129. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
  130. ^
  131. symbol: variable LOLLIPOP
  132. location: class VERSION_CODES
  133. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:63: error: cannot find symbol
  134. cookieManager.flush();
  135. ^
  136. symbol: method flush()
  137. location: variable cookieManager of type CookieManager
  138. /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java:114: error: method does not override or implement a method from a supertype
  139. @Override
  140. ^
  141. Note: Some input files use or override a deprecated API.
  142. Note: Recompile with -Xlint:deprecation for details.
  143. 24 errors
  144. FAILED
  145.  
  146. FAILURE: Build failed with an exception.
  147.  
  148. * What went wrong:
  149. Execution failed for task ':CordovaLib:compileDebugJavaWithJavac'.
  150. > Compilation failed; see the compiler error output for details.
  151.  
  152. * Try:
  153. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  154.  
  155. BUILD FAILED
  156.  
  157. Total time: 21.788 secs
  158. Error: Error code 1 for command: /home/steven/ProyekIonic/Latihan1/myApp/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/steven/ProyekIonic/Latihan1/myApp/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
  159. steven@steven-N43SM ~/ProyekIonic/Latihan1/myApp $ ionic info
  160.  
  161. Your system information:
  162.  
  163. Cordova CLI: 6.1.1
  164. Ionic Version: 1.3.0
  165. Ionic CLI Version: 1.7.14
  166. Ionic App Lib Version: 0.7.0
  167. OS: Distributor ID: LinuxMint Description: Linux Mint 17.3 Rosa
  168. Node Version: v4.4.3
RAW Paste Data