Closed ujwalbasnet1 closed 5 months ago
try git master branch code. if it works, i will make a new release in pub.dev
works, thanks! @wang-bin
new version is available on pub.dev
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':fvp:configureCMakeDebug[arm64-v8a]'.
> [CXX1405] error when building with cmake using /Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android/CMakeLists.txt: Build command failed.
Error while executing process /Users/username/Library/Android/sdk/cmake/3.18.1/bin/cmake with arguments {-H/Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=16 -DANDROID_PLATFORM=android-16 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=/Users/username/Library/Android/sdk/ndk/21.4.7075529 -DCMAKE_ANDROID_NDK=/Users/username/Library/Android/sdk/ndk/21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=/Users/username/Library/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/Users/username/Library/Android/sdk/cmake/3.18.1/bin/ninja -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/username/Work/upwork/ui/build/fvp/intermediates/cxx/Debug/375qv724/obj/arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/username/Work/upwork/ui/build/fvp/intermediates/cxx/Debug/375qv724/obj/arm64-v8a -DCMAKE_BUILD_TYPE=Debug -B/Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android/.cxx/Debug/375qv724/arm64-v8a -GNinja -DANDROID_STL=c++_shared}
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/username/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android/.cxx/Debug/375qv724/arm64-v8a/CMakeFiles/CMakeOutput.log".
CMake Error: Problem with archive_read_next_header():
CMake Error: Problem extracting tar: /Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android/mdk-sdk-android.7z
CMake Error at CMakeLists.txt:65 (message):
Failed to extract mdk-sdk. You can download manually from
https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z
and extract to
/Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 43s
Exception: Gradle task assembleDebug failed with exit code 1
android run failed with fvp: ^0.13.0
works with fvp: ^0.12.0
@wang-bin
It's download error, sometimes occurs. You can download manually from https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z and extract to /Users/username/.pub-cache/hosted/pub.dev/fvp-0.13.0/android
when used fvp the video aspectRatio is inversed using video_player without fvp its fine
Expected behavior A clear and concise description of what you expected to happen.
Code:
Screenshots: fvp:![IMG_6419](https://github.com/wang-bin/fvp/assets/32839778/4cb95534-b89b-4c9a-9e7b-c71ec42a2e29)
without fvp:![IMG_6416](https://github.com/wang-bin/fvp/assets/32839778/884db8ac-cb72-4140-87de-673dd10128c5)
logs:
noticed video with this issue has rotation 90: line 49
stream#1, range: 0 +3198ms, frames: 96, rotation: 90
but
rotationCorrection
value is 0