Closed Irtiza-Atiq closed 9 months ago
Did you get any solution? I'm having the following problem:
[stderr] * What went wrong
[stderr] Could not determine the dependencies of task ':heasy_react-native-sunmi-printer:mergeReleaseGeneratedProguardFiles'.
[stderr] > Could not determine the dependencies of null.
[stderr] > Could not create task ':heasy_react-native-sunmi-printer:compileReleaseJavaWithJavac'.
[stderr] > In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace
[stderr] > Run with --info or --debug option to get more log output
[stderr] > Run with --scan to get full insights.89[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 4m 27s
Hello there this does not work now in 2023 I ha e tried everything but luckily I got the printer working I just followed the documentation and created the native code of java to communicate with inner printer directly, it took me weeks to do that but finally my printer is working with my react native app. You have to create a bridge between native code and react native too. I can guide you with all that . I have created all the code snippets. Do you want to use it on sunmi v2 printer? Using react native?
On Tue, Oct 3, 2023, 1:04 AM Davi M. G. de Almeida @.***> wrote:
Did you get any solution? I'm having the following problem:
[stderr] What went wrong[stderr] Could not determine the dependencies of task ':heasy_react-native-sunmi-printer:mergeReleaseGeneratedProguardFiles'.[stderr] > Could not determine the dependencies of null.[stderr] > Could not create task ':heasy_react-native-sunmi-printer:compileReleaseJavaWithJavac'.[stderr] > In order to compile Java 9+ source, please set compileSdkVersion to 30 or above[stderr] Try:[stderr] > Run with --stacktrace option to get the stack trace[stderr] > Run with --info or --debug option to get more log output[stderr] > Run with --scan to get full insights.89[stderr] * Get more help at https://help.gradle.org[stderr] BUILD FAILED in 4m 27s
— Reply to this email directly, view it on GitHub https://github.com/Surile/react-native-sunmi-printer/issues/34#issuecomment-1743677842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZXZEVHQULAUF7C7STKJWPDX5MM4XAVCNFSM6AAAAAA5BPOBS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGY3TOOBUGI . You are receiving this because you authored the thread.Message ID: @.***>
The model I'm trying to get the printer to run is the K2 model from Sunmi, I've tried everything here too and I can't make any progress, I opened a few more issues to make a few more attempts, but I do accept knowing how you did to make this connection with the printer.
I'm using react native 0.72.4 to try to create this connection, I saw someone saying that if I generated an apk, it would work, I'm trying but I'm having these errors above. :/
so what happens is that you get developer documentation with the printer device it has all the options to access the printer you don't even need any third party library All can be found on the official documentation and I learned this thing the hard way. Please share your WhatsApp I'll provide all the details and recordings there so you can have more possibilities to search from .
On Tue, Oct 3, 2023, 2:02 AM Davi M. G. de Almeida @.***> wrote:
The model I'm trying to get the printer to run is the K2 model from Sunmi, I've tried everything here too and I can't make any progress, I opened a few more issues to make a few more attempts, but I do accept knowing how you did to make this connection with the printer.
I'm using react native 0.72.4 to try to create this connection, I saw someone saying that if I generated an apk, it would work, I'm trying but I'm having these errors above. :/
— Reply to this email directly, view it on GitHub https://github.com/Surile/react-native-sunmi-printer/issues/34#issuecomment-1743760270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZXZEVF37U3R25FHUD3GUXDX5MTVRAVCNFSM6AAAAAA5BPOBS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTG43DAMRXGA . You are receiving this because you authored the thread.Message ID: @.***>
Follow me on instagram, @davimateus1 https://www.instagram.com/davimateus1/
De: Irtiza Atiq-ur-Rehman @.> Enviado: segunda-feira, 2 de outubro de 2023 18:12 Para: Surile/react-native-sunmi-printer @.> Cc: DAVI MATEUS GOMES DE ALMEIDA @.>; Comment @.> Assunto: Re: [Surile/react-native-sunmi-printer] Unable to build project after installing depedency please help (Issue #34)
so what happens is that you get developer documentation with the printer device it has all the options to access the printer you don't even need any third party library All can be found on the official documentation and I learned this thing the hard way. Please share your WhatsApp I'll provide all the details and recordings there so you can have more possibilities to search from .
On Tue, Oct 3, 2023, 2:02 AM Davi M. G. de Almeida @.***> wrote:
The model I'm trying to get the printer to run is the K2 model from Sunmi, I've tried everything here too and I can't make any progress, I opened a few more issues to make a few more attempts, but I do accept knowing how you did to make this connection with the printer.
I'm using react native 0.72.4 to try to create this connection, I saw someone saying that if I generated an apk, it would work, I'm trying but I'm having these errors above. :/
— Reply to this email directly, view it on GitHub https://github.com/Surile/react-native-sunmi-printer/issues/34#issuecomment-1743760270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZXZEVF37U3R25FHUD3GUXDX5MTVRAVCNFSM6AAAAAA5BPOBS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTG43DAMRXGA . You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/Surile/react-native-sunmi-printer/issues/34#issuecomment-1743773719, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP2A62TTDKQ7EHZHZYCTU6TX5MU4DAVCNFSM6AAAAAA5BPOBS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTG43TGNZRHE. You are receiving this because you commented.Message ID: @.***>
so what happens is that you get developer documentation with the printer device it has all the options to access the printer you don't even need any third party library All can be found on the official documentation and I learned this thing the hard way. Please share your WhatsApp I'll provide all the details and recordings there so you can have more possibilities to search from . … On Tue, Oct 3, 2023, 2:02 AM Davi M. G. de Almeida @.> wrote: The model I'm trying to get the printer to run is the K2 model from Sunmi, I've tried everything here too and I can't make any progress, I opened a few more issues to make a few more attempts, but I do accept knowing how you did to make this connection with the printer. I'm using react native 0.72.4 to try to create this connection, I saw someone saying that if I generated an apk, it would work, I'm trying but I'm having these errors above. :/ — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZXZEVF37U3R25FHUD3GUXDX5MTVRAVCNFSM6AAAAAA5BPOBS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTG43DAMRXGA . You are receiving this because you authored the thread.Message ID: @.>
I sent you an email, check, please
I tried everything it gives same errors like gradle issue, sdk version below issue but everything is upto date i really need to use this depedency can someone guide me exact stepts to do so there are so many issues i am getting. Please help.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':tasks'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 6s error Failed to install the app. Command failed with exit code 1: gradlew.bat tasks FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':tasks'. > Could not create task ':heasy_react-native-sunmi-printer:compileDebugJavaWithJavac'. > In order to compile Java 9+ source, please set compileSdkVersion to 30 or above Try: