expo React 项目的蓝牙热敏打印出现错误

问题描述 投票:0回答:1

我正在开发一个简单的反应本机项目,该项目将支持蓝牙热敏打印。 目前正在尝试配置

januslo / react-native-bluetooth-escpos-printer
但是

同时

gradlew assemblerelease
: 它抛出错误:

> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR: C:\Users\BINEESH\Documents\Software_Projects\react-native\printit\node_modules\react-native-bluetooth-escpos-printer\android\build\intermediates\merged_res\release\values\values.xml:2735: AAPT: error: resource android:attr/lStar not found.```

react-native bluetooth expo
1个回答
0
投票

尝试 ./gradlew app:assembleRelease

© www.soinside.com 2019 - 2024. All rights reserved.