Closed gsusalvarado closed 6 years ago
This is a plug-in for react native project, cannot run directly.
发自我的 iPhone
在 2017年11月6日,上午4:09,Jesus Alvarado notifications@github.com 写道:
Thank you, for your time, I followed the steps for the installation when I run react-native run-android I get this message
1 error :react-native-sunmi-inner-printer:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-sunmi-inner-printer:compileReleaseJavaWithJavac'. Compilation failed; see the compiler error output for details.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
Total time: 22.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hello, if I execute " react-native run-android " correctly , the error "\node_modules\react-native-sunmi-inner-printer\android\src\main\java\com\sunmi\innerprinter\SunmiInnerPrinterPackage.java:15: error: method does not override or implement a method from a supertype @Override" then I comment that line and I compile my project well, when I press the print button I get this message "print error.Attempt to invoke interface metohd 'void woyou.aidlservice.jiuiv5.IWoyouService.setAlignment(int,woyou.aidlservice.jiuiv5.Icallback) on a null object"... Thanks I need to test if it manages to print, otherwise I need native development
Are you testing with the sumi device?
发自我的 iPhone
在 2017年11月7日,上午1:19,Jesus Alvarado notifications@github.com 写道:
Hello, if I execute " react-native run-android " correctly , the error "\node_modules\react-native-sunmi-inner-printer\android\src\main\java\com\sunmi\innerprinter\SunmiInnerPrinterPackage.java:15: error: method does not override or implement a method from a supertype @override" then I comment that line and I compile my project well, when I press the print button I get this message "print error.Attempt to invoke interface metohd 'void woyou.aidlservice.jiuiv5.IWoyouService.setAlignment(int,woyou.aidlservice.jiuiv5.Icallback) on a null object"... Thanks I need to test if it manages to print, otherwise I need native development
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Yes I have the sumi device
@gsusalvarado I am not sure the problem, have you tried the official demo? can them works?https://github.com/shangmisunmi/SunmiPrinterDemo
@gsusalvarado the line 15, which problem occurs should be the overriding the react-native api method. which version of react-native you are using >?
I just started with React-Native react-native-cli: 2.0.1 react-native: 0.49.5
Thanks, I already printed, I had to comment on that line 15
please REPOEN the issue.. ON react-native 0.58 is not working for signed apk releases. react-native-cli: 2.0.1 react-native: 0.58.3
Task :react-native-sunmi-inner-printer:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-sunmi-inner-printer:verifyReleaseResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed Output: error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found. error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:954: error: resource android:attr/fontStyle not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:955: error: resource android:attr/font not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:956: error: resource android:attr/fontWeight not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:957: error: resource android:attr/fontVariationSettings not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:958: error: resource android:attr/ttcIndex not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:1039: error: resource android:attr/startX not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:1042: error: resource android:attr/startY not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:1045: error: resource android:attr/endX not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:1048: error: resource android:attr/endY not found. D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\merged\release\values\values.xml:1056: error: resource android:attr/offset not found. error: failed linking references.
Command: C:\Users\suga.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\b4dbe755a8f709ede5d9a02ba73289b7\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\ C:\Users\suga\AppData\Local\Android\Sdk\platforms\android-23\android.jar\ --manifest\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\aapt_friendly_merged_manifests\release\processReleaseManifest\aapt\AndroidManifest.xml\ -o\ C:\Users\suga\AppData\Local\Temp\aapt-1141010446236108678-out\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_fade_in.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_fade_out.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_grow_fade_in_from_bottom.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_popup_enter.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_popup_exit.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_shrink_fade_out_from_bottom.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_slide_in_bottom.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_slide_in_top.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_slide_out_bottom.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_slide_out_top.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_tooltip_enter.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_abc_tooltip_exit.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_fade_in.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_fade_out.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_push_up_in.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_push_up_out.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_slide_down.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\anim_catalyst_slide_up.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v21_abc_btn_colored_borderless_text_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_btn_colored_borderless_text_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_btn_colored_text_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_color_highlight_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_btn_checkable.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_default.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_edittext.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_seek_thumb.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_spinner.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color-v23_abc_tint_switch_track.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_background_cache_hint_selector_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_background_cache_hint_selector_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_btn_colored_borderless_text_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_btn_colored_text_material.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_hint_foreground_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_hint_foreground_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_primary_text_disable_only_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_primary_text_disable_only_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_primary_text_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_primary_text_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_search_url_text.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_secondary_text_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_secondary_text_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_btn_checkable.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_default.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_edittext.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_seek_thumb.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_spinner.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_abc_tint_switch_track.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_switch_thumb_material_dark.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\color_switch_thumb_material_light.xml.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ab_share_pack_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_check_to_on_mtrl_000.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_check_to_on_mtrl_015.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_radio_to_on_mtrl_000.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_radio_to_on_mtrl_015.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_switch_to_on_mtrl_00001.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_btn_switch_to_on_mtrl_00012.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_cab_background_top_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_commit_search_api_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_menu_paste_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_menu_selectall_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_menu_share_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_black_16dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_black_36dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_black_48dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_half_black_16dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_half_black_36dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_ic_star_half_black_48dp.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_divider_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_focused_holo.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_longpressed_holo.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_pressed_holo_dark.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_pressed_holo_light.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_selector_disabled_holo_dark.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_list_selector_disabled_holo_light.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_menu_hardkey_panel_mtrl_mult.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_popup_background_mtrl_mult.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_scrubber_control_off_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_scrubber_control_to_pressed_mtrl_000.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_scrubber_control_to_pressed_mtrl_005.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_scrubber_primary_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_scrubber_track_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_switch_track_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_tab_indicator_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_textfield_activated_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_textfield_default_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_textfield_search_activated_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_textfield_search_default_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_left_mtrl_dark.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_left_mtrl_light.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_middle_mtrl_dark.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_middle_mtrl_light.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_right_mtrl_dark.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_abc_text_select_handle_right_mtrl_light.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_notification_bg_low_normal.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_notification_bg_low_pressed.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_notification_bg_normal.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_notification_bg_normal_pressed.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-hdpi-v4_notify_panel_notification_icon_bg.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-hdpi-v17_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-hdpi-v17_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-hdpi-v17_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-mdpi-v17_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-mdpi-v17_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-mdpi-v17_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xhdpi-v17_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xhdpi-v17_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xhdpi-v17_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxhdpi-v17_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxhdpi-v17_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxhdpi-v17_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxxhdpi-v17_abc_ic_menu_copy_mtrl_am_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxxhdpi-v17_abc_ic_menu_cut_mtrl_alpha.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-ldrtl-xxxhdpi-v17_abc_spinner_mtrl_am_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_ab_share_pack_mtrl_alpha.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_btn_check_to_on_mtrl_000.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_btn_check_to_on_mtrl_015.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_btn_radio_to_on_mtrl_000.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_btn_radio_to_on_mtrl_015.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_modules\react-native-sunmi-inner-printer\android\build\intermediates\res\compiled\release\drawable-mdpi-v4_abc_btn_switch_to_on_mtrl_00001.9.png.flat\ -R\ D:\DADOS TRAMPO\GIT\Datacase TicketApp\Eventu\node_m
and it goes....
try react native version 0.61.3 and just install https://www.npmjs.com/package/react-native-sunmi-v2-printer npx i react-native-sunmi-v2-printer and use in your project it is work for me there is no need to link
Hello, i have this error, how can I solve?
Error:
"react-native": "0.72.4", "@heasy/react-native-sunmi-printer": "^1.7.0"
[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
I'm having this error when running the eas build -p android --profile preview
command, how can I solve it? I've tried a few things I've researched but none of them work.
Thank you, for your time, I followed the steps for the installation when I run react-native run-android I get this message
1 error :react-native-sunmi-inner-printer:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-sunmi-inner-printer:compileReleaseJavaWithJavac'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 22.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html