brasizza / sunmi_printer

BSD 3-Clause "New" or "Revised" License
38 stars 45 forks source link

A failure occurred while executing com.android.build.gradle.tasks.AidlCompile$AidlCompileRunnable #72

Open dzghxs opened 4 months ago

dzghxs commented 4 months ago

Hello, I encountered an issue where running on an Android device resulted in a compilation error and a prompt Execution failed for task ':sunmi_printer_plus:compileDebugAidl'.

A failure occurred while executing com.android.build.gradle.tasks.AidlCompile$AidlCompileRunnable java.nio.charset.MalformedInputException: Input length = 1

The version used is 2.1.3

Please help me solve this problem, thank you

brasizza commented 4 months ago

which sunmi are you using ?

dzghxs commented 4 months ago

image

brasizza commented 4 months ago

i mean the equipment

dzghxs commented 4 months ago

Testing the Android 14 real machine, both the Android 12 real machine and the Android 9 emulator will report this error. This is also true when directly typing the Android package. Flutter version is 3.16.6

brasizza commented 4 months ago

are you testing in a sunmi device ?

brasizza commented 4 months ago

Testing the Android 14 real machine, both the Android 12 real machine and the Android 9 emulator will report this error. This is also true when directly typing the Android package. Flutter version is 3.16.6

i need more information, i tried and compile and its ok, can you add me in discord to help you ?

@brasizza