star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Execution failed for task ':react-native-star-io10:bundleReleaseLocalLintAar'.

chukiatt opened this issue · comments

Description

A clear and concise description of what a bug is.

Task :react-native-star-io10:bundleReleaseLocalLintAar FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-star-io10:bundleReleaseLocalLintAar'.

Error while evaluating property 'hasLocalAarDeps' of task ':react-native-star-io10:bundleReleaseLocalLintAar'
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-star-io10 project caused this error: /Users/chukiat/ReactNative/poswarePos/node_modules/react-native-star-io10/android/src/lib/stario10.aar

Your device where the bug occurs

  • Device:
    e.g. iPhone 13
  • OS:
    e.g. iOS 15.0
  • Browser:
    e.g. Safari
  • Version
    e.g. 22

Your printer

  • Model Names:
    e.g. mC-Print3
  • Firmware Version:
    e.g. 3.5
  • Interface:
    e.g. Ethernet

Your development environment


file build.gradle
classpath("com.android.tools.build:gradle:7.2.1")


file package.json

"@microsoft/signalr": "^6.0.10",
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native-community/cli": "^9.3.1",
"@react-native-community/cli-platform-android": "^9.3.1",
"@react-native-community/hooks": "^2.8.1",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/elements": "^1.3.6",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.1",
"axios": "^0.27.2",
"babel-plugin-module-resolver": "^4.1.0",
"base-64": "^1.0.0",
"clone-deep": "^4.0.1",
"deprecated-react-native-prop-types": "^2.2.0",
"i": "^0.3.7",
"i18next": "^22.0.4",
"iconv-lite": "^0.6.3",
"intl": "^1.2.5",
"moment": "^2.29.4",
"npm": "^8.19.3",
"pako": "^2.1.0",
"react": "18.1.0",
"react-i18next": "^12.0.0",
"react-native": "0.70.5",
"react-native-avoid-softinput": "^3.0.2",
"react-native-awesome-loading": "^1.0.15",
"react-native-base64": "^0.2.1",
"react-native-bouncy-checkbox": "^3.0.6",
"react-native-calendars": "^1.1291.1",
"react-native-canvas": "^0.1.38",
"react-native-device-info": "^10.3.0",
"react-native-dropdown-picker": "^5.4.3",
"react-native-esc-pos-printer": "^2.2.1",
"react-native-fast-image": "^8.6.3",
"react-native-flash-message": "^0.3.1",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.8.0",
"react-native-gifted-charts": "^1.2.41",
"react-native-hole-view": "^2.1.2",
"react-native-image-crop-picker": "^0.38.1",
"react-native-linear-gradient": "^2.6.2",
"react-native-material-menu": "^2.0.0",
"react-native-orientation-locker": "^1.5.0",
"react-native-paper": "^4.12.5",
"react-native-permissions": "^3.6.1",
"react-native-ping": "^1.2.7",
"react-native-radio-buttons-group": "^2.2.11",
"react-native-reanimated": "^2.10.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-sound": "^0.11.2",
"react-native-star-io10": "^1.2.0",
"react-native-svg": "^12.4.4",
"react-native-svg-transformer": "^1.0.0",
"react-native-text-input-mask": "^3.1.4",
"react-native-thermal-receipt-printer-image-qr": "^0.1.10",
"react-native-vector-icons": "^9.2.0",
"react-native-view-shot": "^3.5.0",
"react-native-vision-camera": "^2.14.1",
"react-native-webview": "^11.23.1",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.1",
"rn-responsive-screen": "^1.1.9",
"rxjs": "^7.5.7",
"vision-camera-code-scanner": "^0.2.0"

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the bug here.

Possible duplicate of #29 and #51. There's also a PR #56.

also does not work

No worries i move to EPSON strong library