Closed ZhaoXinZhang closed 9 months ago
maybe is because ndk version lead to build failed
It is lack file here?
Hi I think the problem is dependencies { classpath 'com.android.tools.build:gradle:7.1.2' // classpath 'com.android.tools.build:gradle:7.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
when com.android.tools.build:gradle:7.3.0 will build failed ,I change to classpath 'com.android.tools.build:gradle:7.1.2', it fix. Is that a problem?
Changing the Gradle version fixes the issue yes
Same as #24 right?
Yes, why?
If you can provide a pr explaining it in readme, that's will be awesome
OK,I do it .
please check version https://pub.dev/packages/pytorch_lite/versions/4.1.0-dev
camera code is tested on android but not tested on ios hopefully it works (will need someone to test it and report its status)
no need for ndk version now, thank you for pr but it wont be needed now
`FAILURE: Build failed with an exception.
flutter doctor -v [√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.19045.3324], locale en-US) • Flutter version 3.13.2 on channel stable at D:\sdk\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500 • Engine revision b20183e040 • Dart version 3.1.0 • DevTools version 2.25.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at C:\Users\zhaox\AppData\Local\Android\sdk • Platform android-33-ext4, build-tools 33.0.1 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Android Studio (version 2022.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)