By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
Popular Releases
Popular Libraries
New Libraries
Top Authors
Trending Kits
Trending Discussions
Learning
webpack | |
parcel | v2.5.0 |
esbuild | v0.14.38 |
composer | 2.3.4 |
pipenv | Release v2022.4.21 |
webpack |
parcel v2.5.0 |
esbuild v0.14.38 |
composer 2.3.4 |
pipenv Release v2022.4.21 |
by jackfrued python
114192
Python - 100天从新手到大师
by webpack javascript
60899 MIT
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
by parcel-bundler javascript
40599 MIT
The zero configuration build tool for the web. 📦🚀
by evanw go
31445 MIT
An extremely fast JavaScript and CSS bundler and minifier
by composer php
26405 MIT
Dependency Manager for PHP
by pypa python
22897 MIT
Python Development Workflow for Humans.
by bazelbuild java
18479 Apache-2.0
a fast, scalable, multi-language and extensible build system
by tj shell
16154 MIT
Node version management
by bower javascript
15076 MIT
A package manager for the web
by jackfrued python
114192
Python - 100天从新手到大师
by webpack javascript
60899 MIT
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
by parcel-bundler javascript
40599 MIT
The zero configuration build tool for the web. 📦🚀
by evanw go
31445 MIT
An extremely fast JavaScript and CSS bundler and minifier
by composer php
26405 MIT
Dependency Manager for PHP
by pypa python
22897 MIT
Python Development Workflow for Humans.
by bazelbuild java
18479 Apache-2.0
a fast, scalable, multi-language and extensible build system
by tj shell
16154 MIT
Node version management
by bower javascript
15076 MIT
A package manager for the web
by earthly go
6523 MPL-2.0
Repeatable builds
by FrictionalGames c++
3256 GPL-3.0
by ml-tooling python
2098 CC-BY-SA-4.0
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
by egoist typescript
1978 MIT
The simplest and fastest way to bundle your TypeScript libraries.
by efoxTeam typescript
1716 NOASSERTION
EMP Micro FE Base on webpack 5 & module federation
by paulrberg javascript
1225 MIT
Create Ethereum-powered apps with one command
by Haixiang6123 html
1153 CC0-1.0
这本小书会带你造 10 个非常实用的 npm 库 📦
by antfu typescript
1035 MIT
💡 Use the right package manager
by SFUMECJF c++
885
快速入门CMake,通过例程学习语法。在线阅读地址:https://sfumecjf.github.io/cmake-examples-Chinese/
by earthly go
6523 MPL-2.0
Repeatable builds
by FrictionalGames c++
3256 GPL-3.0
by ml-tooling python
2098 CC-BY-SA-4.0
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
by egoist typescript
1978 MIT
The simplest and fastest way to bundle your TypeScript libraries.
by efoxTeam typescript
1716 NOASSERTION
EMP Micro FE Base on webpack 5 & module federation
by paulrberg javascript
1225 MIT
Create Ethereum-powered apps with one command
by Haixiang6123 html
1153 CC0-1.0
这本小书会带你造 10 个非常实用的 npm 库 📦
by antfu typescript
1035 MIT
💡 Use the right package manager
by SFUMECJF c++
885
快速入门CMake,通过例程学习语法。在线阅读地址:https://sfumecjf.github.io/cmake-examples-Chinese/
1
113 Libraries
425
2
62 Libraries
808
3
50 Libraries
9126
4
41 Libraries
19236
5
27 Libraries
67
6
27 Libraries
3498
7
23 Libraries
1478
8
21 Libraries
133
9
20 Libraries
233
10
20 Libraries
2361
No Trending Kits are available at this moment for Build Tool
QUESTION
Could NOT find Boost (missing: python3) (found version "1.76.0") - CMake Windows
Asked 2022-Mar-30 at 15:49I need help solving this cmake boost python3 find problem when trying to compile cv_bridge from ros2, which uses a build tool called colcon and in turn CMake. The colcon build error message:
1> colcon build --symlink-install --merge-install
2...
3--- stderr: cv_bridge
4 CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
5 Could NOT find Boost (missing: python3) (found version "1.76.0")
6 Call Stack (most recent call first):
7 C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
8 C:/Program Files/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
9 CMakeLists.txt:32 (find_package)
10
What I have tried:
1> colcon build --symlink-install --merge-install
2...
3--- stderr: cv_bridge
4 CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
5 Could NOT find Boost (missing: python3) (found version "1.76.0")
6 Call Stack (most recent call first):
7 C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
8 C:/Program Files/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
9 CMakeLists.txt:32 (find_package)
10 if(NOT ANDROID)
11 find_package(PythonLibs)
12 list(APPEND Boost_INCLUDE_DIRS "C:/Program Files/boost/boost_1_76_0")
13 list(APPEND Boost_INCLUDE_DIRS "C:/Program Files/boost/boost_1_76_0/stage/lib")
14
libboost_python38-vc142-mt-gd-x64-1_76.lib
to libboost_python38.lib
and libboost_python3.lib
I have run out of ideas, please any help will be greatly appreciated!
ANSWER
Answered 2021-Dec-08 at 13:20I was able to solve it (after a few days of suffering) using precompiled Boost 1.74 and by changing the boost/python related parts of cv_bridge/CMakeLists.txt to:
1> colcon build --symlink-install --merge-install
2...
3--- stderr: cv_bridge
4 CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
5 Could NOT find Boost (missing: python3) (found version "1.76.0")
6 Call Stack (most recent call first):
7 C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
8 C:/Program Files/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
9 CMakeLists.txt:32 (find_package)
10 if(NOT ANDROID)
11 find_package(PythonLibs)
12 list(APPEND Boost_INCLUDE_DIRS "C:/Program Files/boost/boost_1_76_0")
13 list(APPEND Boost_INCLUDE_DIRS "C:/Program Files/boost/boost_1_76_0/stage/lib")
14...
15set(BOOST_ROOT <your/path/to/boost_1_74_0>)
16
17find_package (Python3 REQUIRED COMPONENTS Interpreter Development)
18if(NOT ANDROID)
19 find_package(Boost QUIET)
20 if(Boost_VERSION LESS 106500)
21 find_package(Boost REQUIRED python)
22 else()
23 # This is a bit of a hack to suppress a warning
24 # No header defined for python3; skipping header check
25 # Which should only affect Boost versions < 1.67
26 # Resolution for newer versions:
27 # https://gitlab.kitware.com/cmake/cmake/issues/16391
28 if (Boost_VERSION LESS 106700)
29 set(_Boost_PYTHON3_HEADERS "boost/python.hpp")
30 endif()
31 find_package(Boost COMPONENTS python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR} REQUIRED)
32 endif()
33else()
34 find_package(Boost REQUIRED)
35endif()
36find_package(sensor_msgs REQUIRED)
37...
38
Do not forget to remove build and install folders before triggering colcon build again.
QUESTION
RCT-Folly error when using hermes with iOS
Asked 2022-Mar-20 at 03:32When enabling hermes in the Podfile and rebuilding the build it fails due to RCT-Folly. No idea what it does.
To re-initialise everything I use the following:
rm -rf node_modules && rm package-lock.json && npm install && cd ios && rm -rf Pods && rm Podfile.lock && pod deintegrate && pod setup && pod install && cd ..
I also start the metro bundler with:
npx react-native --reset-cache
Anyone has a solution?
The app uses react-native v0.64 and we want to have a better performance using hermes.
All information:
ios/Podfile
1require_relative '../node_modules/react-native/scripts/react_native_pods'
2require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3platform :ios, '10.0'
4
5target 'unblnd' do
6 config = use_native_modules!
7 use_react_native!(
8 :path => config[:reactNativePath],
9 :hermes_enabled => true
10 )
11
12 permissions_path = '../node_modules/react-native-permissions/ios'
13 pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
14 pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
15 pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
16 pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
17 pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
18 pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
19 pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
20 pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
21 pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
22 pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
23 pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
24 pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
25 pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
26 pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
27 pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
28 pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
29
30 pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
31
32 # add the Firebase pod for Google Analytics
33 pod 'Firebase/Analytics'
34 # add pods for any other desired Firebase products
35 # https://firebase.google.com/docs/ios/setup#available-pods
36
37
38 target 'unblndTests' do
39 inherit! :complete
40 # Pods for testing
41 end
42 # Enables Flipper.
43 #
44 # Note that if you have use_frameworks! enabled, Flipper will not work and
45 # you should disable these next few lines.
46 # flipper_pods()
47 # post_install do |installer|
48 # flipper_post_install(installer)
49 # end
50end
51
Terminal Output
1require_relative '../node_modules/react-native/scripts/react_native_pods'
2require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3platform :ios, '10.0'
4
5target 'unblnd' do
6 config = use_native_modules!
7 use_react_native!(
8 :path => config[:reactNativePath],
9 :hermes_enabled => true
10 )
11
12 permissions_path = '../node_modules/react-native-permissions/ios'
13 pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
14 pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
15 pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
16 pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
17 pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
18 pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
19 pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
20 pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
21 pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
22 pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
23 pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
24 pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
25 pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
26 pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
27 pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
28 pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
29
30 pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
31
32 # add the Firebase pod for Google Analytics
33 pod 'Firebase/Analytics'
34 # add pods for any other desired Firebase products
35 # https://firebase.google.com/docs/ios/setup#available-pods
36
37
38 target 'unblndTests' do
39 inherit! :complete
40 # Pods for testing
41 end
42 # Enables Flipper.
43 #
44 # Note that if you have use_frameworks! enabled, Flipper will not work and
45 # you should disable these next few lines.
46 # flipper_pods()
47 # post_install do |installer|
48 # flipper_post_install(installer)
49 # end
50end
51In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:352: /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: error: 'atomic_notify_one<unsigned long>' is unavailable
52 atomic_notify_one(state);
53 ^ /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1573:5: note: in instantiation of function template specialization 'folly::detail::distributed_mutex::wakeTimedWaiters<std::__1::atomic<unsigned long>>' requested here
54 wakeTimedWaiters(&state_, proxy.timedWaiters_);
55 ^ In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:19: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/Optional.h:58: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/functional:504: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:681: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/atomic:2140:6: note: 'atomic_notify_one<unsigned long>' has been explicitly marked unavailable here void atomic_notify_one(atomic<_Tp>* __o) _NOEXCEPT
56 ^ 1 error generated.
57
58CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Demangle-3c4c6b43c285d16c32230d6f0a7a76ce5af39228ed5c3beeaf7ed7d1344f76b0.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/detail/Demangle.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
59
60...
61
62CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Cursor.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/io/Cursor.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
63 cd /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods
64 export LANG\=en_US.US-ASCII
65 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
66
67...
68
69** BUILD FAILED **
70
71
72The following build commands failed: CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/DistributedMutex.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
73
npx react-native info
1require_relative '../node_modules/react-native/scripts/react_native_pods'
2require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3platform :ios, '10.0'
4
5target 'unblnd' do
6 config = use_native_modules!
7 use_react_native!(
8 :path => config[:reactNativePath],
9 :hermes_enabled => true
10 )
11
12 permissions_path = '../node_modules/react-native-permissions/ios'
13 pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
14 pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
15 pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
16 pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
17 pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
18 pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
19 pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
20 pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
21 pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
22 pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
23 pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
24 pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
25 pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
26 pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
27 pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
28 pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
29
30 pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
31
32 # add the Firebase pod for Google Analytics
33 pod 'Firebase/Analytics'
34 # add pods for any other desired Firebase products
35 # https://firebase.google.com/docs/ios/setup#available-pods
36
37
38 target 'unblndTests' do
39 inherit! :complete
40 # Pods for testing
41 end
42 # Enables Flipper.
43 #
44 # Note that if you have use_frameworks! enabled, Flipper will not work and
45 # you should disable these next few lines.
46 # flipper_pods()
47 # post_install do |installer|
48 # flipper_post_install(installer)
49 # end
50end
51In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:352: /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: error: 'atomic_notify_one<unsigned long>' is unavailable
52 atomic_notify_one(state);
53 ^ /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1573:5: note: in instantiation of function template specialization 'folly::detail::distributed_mutex::wakeTimedWaiters<std::__1::atomic<unsigned long>>' requested here
54 wakeTimedWaiters(&state_, proxy.timedWaiters_);
55 ^ In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:19: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/Optional.h:58: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/functional:504: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:681: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/atomic:2140:6: note: 'atomic_notify_one<unsigned long>' has been explicitly marked unavailable here void atomic_notify_one(atomic<_Tp>* __o) _NOEXCEPT
56 ^ 1 error generated.
57
58CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Demangle-3c4c6b43c285d16c32230d6f0a7a76ce5af39228ed5c3beeaf7ed7d1344f76b0.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/detail/Demangle.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
59
60...
61
62CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Cursor.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/io/Cursor.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
63 cd /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods
64 export LANG\=en_US.US-ASCII
65 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
66
67...
68
69** BUILD FAILED **
70
71
72The following build commands failed: CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/DistributedMutex.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
73System:
74 OS: macOS 11.4
75 CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
76 Memory: 1.05 GB / 16.00 GB
77 Shell: 5.8 - /bin/zsh
78 Binaries:
79 Node: 14.17.0 - /usr/local/bin/node
80 Yarn: Not Found
81 npm: 6.14.13 - ~/htdocs/unblnd_app/node_modules/.bin/npm
82 Watchman: 4.9.0 - /usr/local/bin/watchman
83 Managers:
84 CocoaPods: 1.10.1 - /usr/local/bin/pod
85 SDKs:
86 iOS SDK:
87 Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
88 Android SDK:
89 API Levels: 28, 29
90 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2
91 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
92 Android NDK: Not Found
93 IDEs:
94 Android Studio: 4.2 AI-202.7660.26.42.7351085
95 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
96 Languages:
97 Java: 1.8.0_265 - /usr/bin/javac
98 npmPackages:
99 @react-native-community/cli: Not Found
100 react: 17.0.1 => 17.0.1
101 react-native: 0.64.2 => 0.64.2
102 react-native-macos: Not Found
103 npmGlobalPackages:
104 *react-native*: Not Found
105
ANSWER
Answered 2021-Jul-23 at 16:11After lots of trial and error I found a working solution. It's a bit strange, but I had to enable Flipper. I did not find a way without it.
Thanks to this answer: https://github.com/facebook/react-native/issues/31179#issuecomment-831932941 I found out about fixing Pods.
This is my Podfile now:
1require_relative '../node_modules/react-native/scripts/react_native_pods'
2require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3platform :ios, '10.0'
4
5target 'unblnd' do
6 config = use_native_modules!
7 use_react_native!(
8 :path => config[:reactNativePath],
9 :hermes_enabled => true
10 )
11
12 permissions_path = '../node_modules/react-native-permissions/ios'
13 pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
14 pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
15 pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
16 pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
17 pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
18 pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
19 pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
20 pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
21 pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
22 pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
23 pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
24 pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
25 pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
26 pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
27 pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
28 pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
29
30 pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
31
32 # add the Firebase pod for Google Analytics
33 pod 'Firebase/Analytics'
34 # add pods for any other desired Firebase products
35 # https://firebase.google.com/docs/ios/setup#available-pods
36
37
38 target 'unblndTests' do
39 inherit! :complete
40 # Pods for testing
41 end
42 # Enables Flipper.
43 #
44 # Note that if you have use_frameworks! enabled, Flipper will not work and
45 # you should disable these next few lines.
46 # flipper_pods()
47 # post_install do |installer|
48 # flipper_post_install(installer)
49 # end
50end
51In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:352: /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: error: 'atomic_notify_one<unsigned long>' is unavailable
52 atomic_notify_one(state);
53 ^ /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h:1573:5: note: in instantiation of function template specialization 'folly::detail::distributed_mutex::wakeTimedWaiters<std::__1::atomic<unsigned long>>' requested here
54 wakeTimedWaiters(&state_, proxy.timedWaiters_);
55 ^ In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp:17: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex.h:19: In file included from /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/Headers/Private/RCT-Folly/folly/Optional.h:58: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/functional:504: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:681: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/atomic:2140:6: note: 'atomic_notify_one<unsigned long>' has been explicitly marked unavailable here void atomic_notify_one(atomic<_Tp>* __o) _NOEXCEPT
56 ^ 1 error generated.
57
58CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Demangle-3c4c6b43c285d16c32230d6f0a7a76ce5af39228ed5c3beeaf7ed7d1344f76b0.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/detail/Demangle.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
59
60...
61
62CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/Cursor.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/io/Cursor.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
63 cd /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods
64 export LANG\=en_US.US-ASCII
65 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
66
67...
68
69** BUILD FAILED **
70
71
72The following build commands failed: CompileC /Users/adriaandebolle/Library/Developer/Xcode/DerivedData/unblnd-cvaavakypguqqzftojmgjqbtdeij/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/DistributedMutex.o /Users/adriaandebolle/htdocs/unblnd_app/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
73System:
74 OS: macOS 11.4
75 CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
76 Memory: 1.05 GB / 16.00 GB
77 Shell: 5.8 - /bin/zsh
78 Binaries:
79 Node: 14.17.0 - /usr/local/bin/node
80 Yarn: Not Found
81 npm: 6.14.13 - ~/htdocs/unblnd_app/node_modules/.bin/npm
82 Watchman: 4.9.0 - /usr/local/bin/watchman
83 Managers:
84 CocoaPods: 1.10.1 - /usr/local/bin/pod
85 SDKs:
86 iOS SDK:
87 Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
88 Android SDK:
89 API Levels: 28, 29
90 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2
91 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
92 Android NDK: Not Found
93 IDEs:
94 Android Studio: 4.2 AI-202.7660.26.42.7351085
95 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
96 Languages:
97 Java: 1.8.0_265 - /usr/bin/javac
98 npmPackages:
99 @react-native-community/cli: Not Found
100 react: 17.0.1 => 17.0.1
101 react-native: 0.64.2 => 0.64.2
102 react-native-macos: Not Found
103 npmGlobalPackages:
104 *react-native*: Not Found
105 ...
106
107 # Enables Flipper.
108 #
109 # Note that if you have use_frameworks! enabled, Flipper will not work and
110 # you should disable these next few lines.
111 use_flipper!({ 'Flipper' => '0.87' })
112 post_install do |installer|
113 flipper_post_install(installer)
114
115 find_and_replace("Pods/Headers/Private/RCT-Folly/folly/synchronization/DistributedMutex-inl.h",
116 "atomic_notify_one(state)", "folly::atomic_notify_one(state)")
117
118 find_and_replace("Pods/Flipper-Folly/folly/synchronization/DistributedMutex-inl.h",
119 "atomic_wait_until(&state, previous | data, deadline)", "folly::atomic_wait_until(&state, previous | data, deadline)")
120 end
121
122 ...
123
QUESTION
Getting wix toolset not installed error in azure devops upon building wixproj
Asked 2022-Mar-09 at 18:58I am creating an MSI installer with Wix and wrote a task in the azure DevOps pipeline which builds the MSI solution file using MSBuild. When the code is pushed to remote the pipeline runs the task but my task returns the error saying WiX toolset is not installed hence the build fails. Though it is assured that the MSBuild task works as it is building other projects in the solution.
1##[error]Process 'MSBuild.exe' exited with code '1'.
2##[error][Path to wixproj](44,5): Error : The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/
3
Is there any way to install Wix toolset using pipeline? Or any workaround which might help?
Please note that I am using a custom job pool if that might be a cause for this issue.
ANSWER
Answered 2022-Mar-09 at 18:02Check this article from the official wix documentation.
QUESTION
Android Studio Disconnects From Physical Device
Asked 2022-Mar-06 at 15:11Android Studio Bumblebee (2021.1.1) was released stably on 25 January 2022 bundled with a new Device Manager (accompanying new support for Android 11+ device debugging over WIFI). I jumped on this stable release, updating from Android Studio Arctic Fox (2020.3.1 Patch 4).
Unfortunately however, since updating, physical devices/handsets don't remain connected to Android Studio for the purpose of debugging. I can confirm that the issue was introduced from Android Studio Bumblebee onwards (occurring in Beta and Canary builds also). I've reproduced the issue on Android Studio Bumblebee (Stable), Chipmunk (Beta), and Dolphin (Canary), but Android Studio Arctic Fox (superseded Stable) continues to work just fine.
The issue occurs soon after opening Android Studio (Bumblebee+) with one of my physical devices connected. Everything appears fine initially and I may even have enough time to deploy my project to the handset, before the device disappears from Android Studio (as if I'd physically disconnected the USB cable from my computer or from the handset itself).
I've tried a fair few things in an attempt to determine a root cause. These include testing:
adb kill-server
then adb start-server
.I searched and read through remotely similar issues, including (but not limited to) these:
This particular comment in one of the above issues clued me onto a possible root cause:
I have been fighting for a few days with adb not seeing my device. After trying many other posted solutions, I discovered that the issue was with Chrome also trying to connect its debugger to a web view. If Chrome is connected using chrome://inspect, then adb seems to disconnect. Quitting Chrome resolves the issue. Then I can connect with Android Studio and then restart Chrome and reconnect. Hope this helps someone else.
However I've been unable to do anything with the above discovery, other than close Google Chrome, and hope for the best. Obviously this isn't an ideal solution. It appears as though the moment Google Chrome shows the connected physical device in the chrome://inspect/#devices page, the physical device promptly becomes unavailable through Android Studio.
I've jumped back to Android Studio Arctic Fox (2020.3.1 Patch 4) for the moment, however this brings with it other issues (my current core project targets the latest SDK version, which requires the updated IDE).
Absolutely any help with this would be insanely appreciated. I've exhausted just about every avenue that I can think of!
ANSWER
Answered 2022-Feb-01 at 17:29I solved the problem by disabling
Settings -> Build, Execution, Deployment -> Debugger -> "Enable adb mDNS for wireless debugging"
QUESTION
How to hack conda for Anaconda3 Python to ignore package dependencies? Modified conda-meta package JSON depends flag, but it's not enough
Asked 2022-Mar-03 at 23:39Alright I have a package Pythran
which is a Python to C++ (PYD module) complier. The package itself on conda-forge says it requires clang
and clangxx
. BUT I have MS Build Tools clang-12
already installed, so these packages are not used at all.
Now every time I go to conda install [package_name]
it tells me my environment is inconsistent, because I force removed the clang libraries I don't need (or want) via a:
1conda remove clang clangxx clang-13 --force
2
So I looked around a bit at the installation of things. And I found that there is a \Anaconda3\conda-meta\pythran-0.11.0-py39h832f523_0.json (note the name after the version changes)...
So I opened that file up, scrolled down to:
1conda remove clang clangxx clang-13 --force
2 "depends": [
3 "beniget 0.4.*",
4 "decorator",
5 "gast 0.5.*",
6 "numpy >=1.19.5,<2.0a0",
7 "ply >=3.4",
8 "python >=3.9,<3.10.0a0",
9 "python_abi 3.9.* *_cp39",
10 "xsimd >=8.0.5,<8.1"
11 ],
12
Which had these entries, which I manually removed:
1conda remove clang clangxx clang-13 --force
2 "depends": [
3 "beniget 0.4.*",
4 "decorator",
5 "gast 0.5.*",
6 "numpy >=1.19.5,<2.0a0",
7 "ply >=3.4",
8 "python >=3.9,<3.10.0a0",
9 "python_abi 3.9.* *_cp39",
10 "xsimd >=8.0.5,<8.1"
11 ],
12"clang",
13"clangxx",
14
So now when I go to run conda
it doesn't say my environment is inconsistent anymore. However, when I try to add a package, it insists on installing clang
, clang-13
, clangxx
.
Anyone have a way to completely remove these dependencies? I think maybe it's referring to files online rather than local, since I deleted those required libraries. I ran a command prompt: findstr /S /C:'clang' *
which is like calling grep from Linux. It shows all the files that reference clang
somewhere. It isn't referenced anywhere other than what I deleted already, hence my confusion.
Yes I understand these package managers like conda
are supposed to ensure your environment works. But I can compile Python to C++ to PYD (modules) no problem at all with these clang
libraries missing. Since I already have clang-12
in the path. This is more of an annoyance than anything else, as every package install / upgrade keeps wanting to install clang-13
libraries that aren't needed...
ANSWER
Answered 2022-Mar-01 at 00:36The cleaner solution is to create a dummy package that one can install as an indicator that the corresponding software is already available on the system. This is what Conda Forge provides for the mpich
package. Specifically, they provide an external build (see recipe), that one installs with
1conda remove clang clangxx clang-13 --force
2 "depends": [
3 "beniget 0.4.*",
4 "decorator",
5 "gast 0.5.*",
6 "numpy >=1.19.5,<2.0a0",
7 "ply >=3.4",
8 "python >=3.9,<3.10.0a0",
9 "python_abi 3.9.* *_cp39",
10 "xsimd >=8.0.5,<8.1"
11 ],
12"clang",
13"clangxx",
14conda install mpich=*=external_*
15
For custom configurations like what you want, create your own dummy version of the clang
and clangxx
packages that would satisfy the requirements and install them to the environment. Something like
meta.yaml
1conda remove clang clangxx clang-13 --force
2 "depends": [
3 "beniget 0.4.*",
4 "decorator",
5 "gast 0.5.*",
6 "numpy >=1.19.5,<2.0a0",
7 "ply >=3.4",
8 "python >=3.9,<3.10.0a0",
9 "python_abi 3.9.* *_cp39",
10 "xsimd >=8.0.5,<8.1"
11 ],
12"clang",
13"clangxx",
14conda install mpich=*=external_*
15{% set version = "12.0.1" %}
16{% set build = 0 %}
17
18package:
19 name: clang-dummies
20 version: {{ version }}
21
22build:
23 number: {{ build }}
24
25outputs:
26 - name: clang
27 string: external_{{ build }}
28 - name: clangxx
29 string: external_{{ build }}
30
31about:
32 license: GPL-3.0-only
33 summary: Dummy package for external clang(xx) compiler.
34
After building this (conda build .
), you can install these local versions with
1conda remove clang clangxx clang-13 --force
2 "depends": [
3 "beniget 0.4.*",
4 "decorator",
5 "gast 0.5.*",
6 "numpy >=1.19.5,<2.0a0",
7 "ply >=3.4",
8 "python >=3.9,<3.10.0a0",
9 "python_abi 3.9.* *_cp39",
10 "xsimd >=8.0.5,<8.1"
11 ],
12"clang",
13"clangxx",
14conda install mpich=*=external_*
15{% set version = "12.0.1" %}
16{% set build = 0 %}
17
18package:
19 name: clang-dummies
20 version: {{ version }}
21
22build:
23 number: {{ build }}
24
25outputs:
26 - name: clang
27 string: external_{{ build }}
28 - name: clangxx
29 string: external_{{ build }}
30
31about:
32 license: GPL-3.0-only
33 summary: Dummy package for external clang(xx) compiler.
34conda install --use-local clang=12=external* clangxx=12=external*
35
or upload them to a user Anaconda Cloud channel.
QUESTION
unable to install pyodbc using python 3.10 in windows 10
Asked 2022-Feb-24 at 20:07I get this Error when I try to install Pyodbc , I have already install visual studio and I have Microsoft Visual C++ 12 , 15-19 in my machine but still its giving this error.
1Running setup.py clean for pyodbc
2Failed to build pyodbc
3Installing collected packages: sqlparse, pytz, asgiref, pyodbc, Django, Pillow, mssql-django, django-crispy-forms
4 Running setup.py install for pyodbc ... error
5 ERROR: Command errored out with exit status 1:
6 command: 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"'; __file__='"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Athar\AppData\Local\Temp\pip-record-t1td50y6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\include\site\python3.10\pyodbc'
7 cwd: C:\Users\Athar\AppData\Local\Temp\pip-install-w0wwm18g\pyodbc_61963e883a8543fea24a63b1c522bbea\
8 Complete output (7 lines):
9 running install
10 C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
11 warnings.warn(
12 running build
13 running build_ext
14 building 'pyodbc' extension
15 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
16 ----------------------------------------
17ERROR: Command errored out with exit status 1: 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"'; __file__='"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Athar\AppData\Local\Temp\pip-record-t1td50y6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\include\site\python3.10\pyodbc' Check the logs for full command output.
18
ANSWER
Answered 2021-Nov-12 at 13:38The current release of pyodbc (4.0.32) does not have pre-built wheel files for Python 3.10. The easiest way to get it installed at the moment is to download the appropriate wheel from
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyodbc
and then install it. For example, if you are running 64-bit Python then you would download the 64-bit wheel and use
1Running setup.py clean for pyodbc
2Failed to build pyodbc
3Installing collected packages: sqlparse, pytz, asgiref, pyodbc, Django, Pillow, mssql-django, django-crispy-forms
4 Running setup.py install for pyodbc ... error
5 ERROR: Command errored out with exit status 1:
6 command: 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"'; __file__='"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Athar\AppData\Local\Temp\pip-record-t1td50y6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\include\site\python3.10\pyodbc'
7 cwd: C:\Users\Athar\AppData\Local\Temp\pip-install-w0wwm18g\pyodbc_61963e883a8543fea24a63b1c522bbea\
8 Complete output (7 lines):
9 running install
10 C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
11 warnings.warn(
12 running build
13 running build_ext
14 building 'pyodbc' extension
15 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
16 ----------------------------------------
17ERROR: Command errored out with exit status 1: 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"'; __file__='"'"'C:\\Users\\Athar\\AppData\\Local\\Temp\\pip-install-w0wwm18g\\pyodbc_61963e883a8543fea24a63b1c522bbea\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Athar\AppData\Local\Temp\pip-record-t1td50y6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Athar\Desktop\New folder\Project\HeatlhCare\venv\include\site\python3.10\pyodbc' Check the logs for full command output.
18pip install pyodbc‑4.0.32‑cp310‑cp310‑win_amd64.whl
19
QUESTION
How to register QObject class in CMake with qt_add_qml_module?
Asked 2022-Feb-21 at 07:35I have a QObject
derived class Expense
that I use in QML like this.
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8
The expense class has no UI components, it has some basic Signal and Slots for API communications.
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39
I have used qmlRegisterType()
for registering Expense
type in QML. Below is how my main()
looks like.
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39int main(int argc, char *argv[])
40{
41 QGuiApplication app(argc, argv);
42 ......
43
44
45 qmlRegisterType<Expense>("com.kadbyte.expense", 1, 0, "Expense");
46
47 ........
48 return app.exec();
49}
50
Everything working perfectly as it used to. But recently I have upgraded my project to QT6 with CMake as the build tool instead of QMake. In the docs I saw that we can use qt_add_qml_module
command in CMakeList.txt to register C++ Classes instead of qmlRegisterType()
, by adding QML_ELEMENT
macro to the QObject class.
But I can't understand how to do this, the documentation doesn't make sense as it uses qmake example (Link to docs) instead of CMake. Below is my CMakeLists.txt file
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39int main(int argc, char *argv[])
40{
41 QGuiApplication app(argc, argv);
42 ......
43
44
45 qmlRegisterType<Expense>("com.kadbyte.expense", 1, 0, "Expense");
46
47 ........
48 return app.exec();
49}
50cmake_minimum_required(VERSION 3.16)
51
52project(Udyan VERSION 0.1 LANGUAGES CXX)
53
54set(CMAKE_AUTOMOC ON)
55set(CMAKE_CXX_STANDARD_REQUIRED ON)
56
57find_package(Qt6 6.2 COMPONENTS Quick REQUIRED)
58
59qt_add_executable(appUdyan
60 main.cpp
61 expense.h expense.cpp
62)
63
64qt_add_qml_module(appUdyan
65 URI Udyan
66 VERSION 1.0
67 QML_FILES qml/main.qml
68)
69
70set_target_properties(appUdyan PROPERTIES
71 MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
72 MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
73 MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
74 MACOSX_BUNDLE TRUE
75 WIN32_EXECUTABLE TRUE
76)
77
78target_compile_definitions(appUdyan
79 PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
80
81target_link_libraries(appUdyan
82 PRIVATE Qt6::Quick)
83
So how to use qt_add_qml_module
to registering QObject class to use in QML?
Note: All the example I have given above is just an MRE and not my complete code.
ANSWER
Answered 2022-Feb-21 at 07:35You just need to add QML_ELEMENT
to your QObject-derived Expense
class's header and make sure you have moc enabled in your CMakeLists.txt. In application case it doesn't matter if the expense.h/cpp sources are included via qt_add_executable
or qt_add_qml_module
. I think it's clearer to add them to qt_add_qml_module
SOURCES. Then you just import module URI in you QML file. In the example below I'm printing out property value from Expense object in QML.
CMakeLists.txt
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39int main(int argc, char *argv[])
40{
41 QGuiApplication app(argc, argv);
42 ......
43
44
45 qmlRegisterType<Expense>("com.kadbyte.expense", 1, 0, "Expense");
46
47 ........
48 return app.exec();
49}
50cmake_minimum_required(VERSION 3.16)
51
52project(Udyan VERSION 0.1 LANGUAGES CXX)
53
54set(CMAKE_AUTOMOC ON)
55set(CMAKE_CXX_STANDARD_REQUIRED ON)
56
57find_package(Qt6 6.2 COMPONENTS Quick REQUIRED)
58
59qt_add_executable(appUdyan
60 main.cpp
61 expense.h expense.cpp
62)
63
64qt_add_qml_module(appUdyan
65 URI Udyan
66 VERSION 1.0
67 QML_FILES qml/main.qml
68)
69
70set_target_properties(appUdyan PROPERTIES
71 MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
72 MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
73 MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
74 MACOSX_BUNDLE TRUE
75 WIN32_EXECUTABLE TRUE
76)
77
78target_compile_definitions(appUdyan
79 PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
80
81target_link_libraries(appUdyan
82 PRIVATE Qt6::Quick)
83set(CMAKE_AUTOMOC ON)
84
85qt_add_qml_module(appUdyan
86 URI udyan
87 VERSION 1.0
88 QML_FILES
89 main.qml
90 SOURCES
91 expense.h
92 expense.cpp
93)
94
C++
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39int main(int argc, char *argv[])
40{
41 QGuiApplication app(argc, argv);
42 ......
43
44
45 qmlRegisterType<Expense>("com.kadbyte.expense", 1, 0, "Expense");
46
47 ........
48 return app.exec();
49}
50cmake_minimum_required(VERSION 3.16)
51
52project(Udyan VERSION 0.1 LANGUAGES CXX)
53
54set(CMAKE_AUTOMOC ON)
55set(CMAKE_CXX_STANDARD_REQUIRED ON)
56
57find_package(Qt6 6.2 COMPONENTS Quick REQUIRED)
58
59qt_add_executable(appUdyan
60 main.cpp
61 expense.h expense.cpp
62)
63
64qt_add_qml_module(appUdyan
65 URI Udyan
66 VERSION 1.0
67 QML_FILES qml/main.qml
68)
69
70set_target_properties(appUdyan PROPERTIES
71 MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
72 MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
73 MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
74 MACOSX_BUNDLE TRUE
75 WIN32_EXECUTABLE TRUE
76)
77
78target_compile_definitions(appUdyan
79 PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
80
81target_link_libraries(appUdyan
82 PRIVATE Qt6::Quick)
83set(CMAKE_AUTOMOC ON)
84
85qt_add_qml_module(appUdyan
86 URI udyan
87 VERSION 1.0
88 QML_FILES
89 main.qml
90 SOURCES
91 expense.h
92 expense.cpp
93)
94#include <QObject>
95#include <QtQml/qqmlregistration.h>
96
97class Expense : public QObject
98{
99 Q_OBJECT
100 QML_ELEMENT
101 Q_PROPERTY(int value READ value NOTIFY valueChanged)
102public:
103 explicit Expense(QObject *parent = nullptr);
104 int value() const;
105
106signals:
107 void valueChanged();
108
109private:
110 int m_value {5};
111};
112
QML:
1// main.qml
2Expense {
3 id: expenseManager
4 onExpenseCreated: {
5 // Do something
6 }
7}
8// expense.h
9
10#ifndef EXPENSE_H
11#define EXPENSE_H
12#include <QObject>
13#include <QString>
14
15#include "service.h"
16
17class Expense : public QObject
18{
19 Q_OBJECT
20
21private:
22 Service service;
23 void networkError();
24 bool buttonLock = false;
25
26public:
27 explicit Expense(QObject *parent = nullptr);
28
29
30public slots:
31 void createInvoice(QString item, float amount);
32
33signals:
34 void expenseCreated();
35
36};
37
38#endif // EXPENSE_H
39int main(int argc, char *argv[])
40{
41 QGuiApplication app(argc, argv);
42 ......
43
44
45 qmlRegisterType<Expense>("com.kadbyte.expense", 1, 0, "Expense");
46
47 ........
48 return app.exec();
49}
50cmake_minimum_required(VERSION 3.16)
51
52project(Udyan VERSION 0.1 LANGUAGES CXX)
53
54set(CMAKE_AUTOMOC ON)
55set(CMAKE_CXX_STANDARD_REQUIRED ON)
56
57find_package(Qt6 6.2 COMPONENTS Quick REQUIRED)
58
59qt_add_executable(appUdyan
60 main.cpp
61 expense.h expense.cpp
62)
63
64qt_add_qml_module(appUdyan
65 URI Udyan
66 VERSION 1.0
67 QML_FILES qml/main.qml
68)
69
70set_target_properties(appUdyan PROPERTIES
71 MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
72 MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
73 MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
74 MACOSX_BUNDLE TRUE
75 WIN32_EXECUTABLE TRUE
76)
77
78target_compile_definitions(appUdyan
79 PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
80
81target_link_libraries(appUdyan
82 PRIVATE Qt6::Quick)
83set(CMAKE_AUTOMOC ON)
84
85qt_add_qml_module(appUdyan
86 URI udyan
87 VERSION 1.0
88 QML_FILES
89 main.qml
90 SOURCES
91 expense.h
92 expense.cpp
93)
94#include <QObject>
95#include <QtQml/qqmlregistration.h>
96
97class Expense : public QObject
98{
99 Q_OBJECT
100 QML_ELEMENT
101 Q_PROPERTY(int value READ value NOTIFY valueChanged)
102public:
103 explicit Expense(QObject *parent = nullptr);
104 int value() const;
105
106signals:
107 void valueChanged();
108
109private:
110 int m_value {5};
111};
112import QtQuick
113import udyan
114
115Window {
116 width: 640
117 height: 480
118 visible: true
119 title: qsTr("Hello World")
120
121 Expense {
122 id: expense
123 Component.onCompleted: console.log(expense.value)
124 }
125}
126
QUESTION
Flutter does not include Native Debug Symbols
Asked 2022-Feb-19 at 21:44Building my app using flutter on android studio, and when I upload my app bundle (made via flutter build appbundle
, the message pops up:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4
I've tried every solution currently online to fix this. Every combination of the following:
these solutions:
Upgrading to Flutter 2.10.0
Upgrading to Android Studio Bumblebee | 2021.1.1 Patch 1 and clicking check for updates, to which it responds You already have the latest version of Android Studio and plugins installed.
Trying to check the gradle plugin version, but it's packaged into android studio, and I can't see the version nor an option to upgrade.
Upgrading Android SDK build tools to 33-rc1. via SDK manager
Installing NDK (Side-by-side) via SDK manager
Installing CMake via SDK manager
Adding ndk.dir=/home/jaden/Android/Sdk/ndk/23.1.7779620
to the local.properties file, even though that's apparently deprecated.
adding android.buildTypes.release.ndk.debugSymbolLevel = 'SYMBOL_TABLE'
to the bottom of my app/build.gradle.
from app/build.gradle:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28
flutter doctor:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40
last lines of flutter build appbundle -v
:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40[ ] > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE
41[ ] > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE
42[ ] > Task :package_info_plus:generateReleaseRFile UP-TO-DATE
43[ ] > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE
44[ ] > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE
45[ ] > Task :package_info_plus:mergeReleaseGeneratedProguardFiles UP-TO-DATE
46[ ] > Task :package_info_plus:exportReleaseConsumerProguardFiles UP-TO-DATE
47[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
48[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
49[ ] > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE
50[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
51[ ] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
52[ ] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
53[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
54[ +97 ms] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
55[ ] > Task :fluttertoast:exportReleaseConsumerProguardFiles UP-TO-DATE
56[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
57[ ] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
58[ ] > Task :permission_handler:parseReleaseLocalResources UP-TO-DATE
59[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
60[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
61[ ] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
62[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
63[ ] > Task :permission_handler:exportReleaseConsumerProguardFiles UP-TO-DATE
64[ ] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
65[ ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
66[ ] > Task :app:compileReleaseAidl NO-SOURCE
67[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
68[ ] > Task :cloud_firestore:writeReleaseAarMetadata UP-TO-DATE
69[ ] > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE
70[ ] > Task :firebase_auth:writeReleaseAarMetadata UP-TO-DATE
71[ ] > Task :firebase_core:writeReleaseAarMetadata UP-TO-DATE
72[ ] > Task :flutter_fimber:writeReleaseAarMetadata UP-TO-DATE
73[ ] > Task :flutter_inappwebview:writeReleaseAarMetadata UP-TO-DATE
74[ ] > Task :flutter_keyboard_visibility:writeReleaseAarMetadata UP-TO-DATE
75[ ] > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE
76[ ] > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE
77[ ] > Task :image_picker:writeReleaseAarMetadata UP-TO-DATE
78[ ] > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE
79[ ] > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE
80[ ] > Task :permission_handler:writeReleaseAarMetadata UP-TO-DATE
81[ ] > Task :share_plus:writeReleaseAarMetadata UP-TO-DATE
82[ ] > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE
83[ ] > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE
84[ ] > Task :webview_flutter_android:writeReleaseAarMetadata UP-TO-DATE
85[ ] > Task :app:checkReleaseAarMetadata UP-TO-DATE
86[ +495 ms] > Task :app:copyFlutterAssetsRelease
87[ ] > Task :app:processReleaseManifestForPackage UP-TO-DATE
88[ ] > Task :app:processReleaseResources UP-TO-DATE
89[ ] > Task :cloud_firestore:bundleLibCompileToJarRelease UP-TO-DATE
90[ ] > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE
91[ ] > Task :firebase_auth:bundleLibCompileToJarRelease UP-TO-DATE
92[ ] > Task :flutter_fimber:bundleLibCompileToJarRelease UP-TO-DATE
93[ ] > Task :flutter_inappwebview:bundleLibCompileToJarRelease UP-TO-DATE
94[ ] > Task :flutter_keyboard_visibility:bundleLibCompileToJarRelease UP-TO-DATE
95[ ] > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE
96[ ] > Task :image_picker:bundleLibCompileToJarRelease UP-TO-DATE
97[ ] > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE
98[ ] > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE
99[ ] > Task :permission_handler:bundleLibCompileToJarRelease UP-TO-DATE
100[ ] > Task :share_plus:bundleLibCompileToJarRelease UP-TO-DATE
101[ ] > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE
102[ ] > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE
103[ ] > Task :webview_flutter_android:bundleLibCompileToJarRelease UP-TO-DATE
104[ +96 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
105[ ] > Task :app:javaPreCompileRelease UP-TO-DATE
106[ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
107[ ] > Task :app:extractProguardFiles UP-TO-DATE
108[ ] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
109[ ] > Task :app:processReleaseJavaRes NO-SOURCE
110[ ] > Task :cloud_firestore:processReleaseJavaRes NO-SOURCE
111[ ] > Task :cloud_firestore:bundleLibResRelease NO-SOURCE
112[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
113[ ] > Task :file_picker:bundleLibResRelease NO-SOURCE
114[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
115[ ] > Task :firebase_auth:bundleLibResRelease NO-SOURCE
116[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
117[ ] > Task :firebase_core:bundleLibResRelease NO-SOURCE
118[ ] > Task :flutter_fimber:processReleaseJavaRes NO-SOURCE
119[ ] > Task :flutter_fimber:bundleLibResRelease UP-TO-DATE
120[ ] > Task :flutter_inappwebview:processReleaseJavaRes NO-SOURCE
121[ ] > Task :flutter_inappwebview:bundleLibResRelease NO-SOURCE
122[ ] > Task :flutter_keyboard_visibility:processReleaseJavaRes NO-SOURCE
123[ ] > Task :flutter_keyboard_visibility:bundleLibResRelease NO-SOURCE
124[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
125[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE
126[ ] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
127[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
128[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
129[ ] > Task :image_picker:bundleLibResRelease NO-SOURCE
130[ ] > Task :package_info_plus:processReleaseJavaRes NO-SOURCE
131[ ] > Task :package_info_plus:bundleLibResRelease NO-SOURCE
132[ ] > Task :path_provider_android:processReleaseJavaRes NO-SOURCE
133[ ] > Task :path_provider_android:bundleLibResRelease NO-SOURCE
134[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
135[ ] > Task :permission_handler:bundleLibResRelease NO-SOURCE
136[ ] > Task :share_plus:processReleaseJavaRes NO-SOURCE
137[ ] > Task :share_plus:bundleLibResRelease NO-SOURCE
138[ ] > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE
139[ ] > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE
140[ ] > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE
141[ ] > Task :url_launcher_android:bundleLibResRelease NO-SOURCE
142[ ] > Task :webview_flutter_android:processReleaseJavaRes NO-SOURCE
143[ ] > Task :webview_flutter_android:bundleLibResRelease NO-SOURCE
144[ ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
145[ ] > Task :cloud_firestore:bundleLibRuntimeToJarRelease UP-TO-DATE
146[ ] > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
147[ ] > Task :firebase_auth:bundleLibRuntimeToJarRelease UP-TO-DATE
148[ ] > Task :firebase_core:bundleLibRuntimeToJarRelease UP-TO-DATE
149[ ] > Task :flutter_fimber:bundleLibRuntimeToJarRelease UP-TO-DATE
150[ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarRelease UP-TO-DATE
151[ ] > Task :flutter_keyboard_visibility:bundleLibRuntimeToJarRelease UP-TO-DATE
152[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE
153[ ] > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE
154[ ] > Task :image_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
155[ ] > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
156[ ] > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE
157[ ] > Task :permission_handler:bundleLibRuntimeToJarRelease UP-TO-DATE
158[ ] > Task :share_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
159[ ] > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE
160[ ] > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE
161[ ] > Task :webview_flutter_android:bundleLibRuntimeToJarRelease UP-TO-DATE
162[ +172 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
163[ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
164[ ] > Task :cloud_firestore:mergeReleaseJniLibFolders UP-TO-DATE
165[ ] > Task :cloud_firestore:mergeReleaseNativeLibs NO-SOURCE
166[ ] > Task :cloud_firestore:copyReleaseJniLibsProjectOnly UP-TO-DATE
167[ ] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
168[ ] > Task :file_picker:mergeReleaseNativeLibs NO-SOURCE
169[ ] > Task :file_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
170[ ] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
171[ ] > Task :firebase_auth:mergeReleaseNativeLibs NO-SOURCE
172[ ] > Task :firebase_auth:copyReleaseJniLibsProjectOnly UP-TO-DATE
173[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
174[ ] > Task :firebase_core:mergeReleaseNativeLibs NO-SOURCE
175[ ] > Task :firebase_core:copyReleaseJniLibsProjectOnly UP-TO-DATE
176[ ] > Task :flutter_fimber:mergeReleaseJniLibFolders UP-TO-DATE
177[ ] > Task :flutter_fimber:mergeReleaseNativeLibs NO-SOURCE
178[ ] > Task :flutter_fimber:copyReleaseJniLibsProjectOnly UP-TO-DATE
179[ ] > Task :flutter_inappwebview:mergeReleaseJniLibFolders UP-TO-DATE
180[ ] > Task :flutter_inappwebview:mergeReleaseNativeLibs NO-SOURCE
181[ ] > Task :flutter_inappwebview:copyReleaseJniLibsProjectOnly UP-TO-DATE
182[ ] > Task :flutter_keyboard_visibility:mergeReleaseJniLibFolders UP-TO-DATE
183[ ] > Task :flutter_keyboard_visibility:mergeReleaseNativeLibs NO-SOURCE
184[ ] > Task :flutter_keyboard_visibility:copyReleaseJniLibsProjectOnly UP-TO-DATE
185[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
186[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs NO-SOURCE
187[ ] > Task :flutter_plugin_android_lifecycle:copyReleaseJniLibsProjectOnly UP-TO-DATE
188[ ] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
189[ ] > Task :fluttertoast:mergeReleaseNativeLibs NO-SOURCE
190[ ] > Task :fluttertoast:copyReleaseJniLibsProjectOnly UP-TO-DATE
191[ +16 ms] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
192[ ] > Task :image_picker:mergeReleaseNativeLibs NO-SOURCE
193[ ] > Task :image_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
194[ ] > Task :package_info_plus:mergeReleaseJniLibFolders UP-TO-DATE
195[ ] > Task :package_info_plus:mergeReleaseNativeLibs NO-SOURCE
196[ ] > Task :package_info_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
197[ ] > Task :path_provider_android:mergeReleaseJniLibFolders UP-TO-DATE
198[ ] > Task :path_provider_android:mergeReleaseNativeLibs NO-SOURCE
199[ ] > Task :path_provider_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
200[ +98 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
201[ ] > Task :permission_handler:mergeReleaseNativeLibs NO-SOURCE
202[ ] > Task :permission_handler:copyReleaseJniLibsProjectOnly UP-TO-DATE
203[ ] > Task :share_plus:mergeReleaseJniLibFolders UP-TO-DATE
204[ ] > Task :share_plus:mergeReleaseNativeLibs NO-SOURCE
205[ ] > Task :share_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
206[ ] > Task :shared_preferences_android:mergeReleaseJniLibFolders UP-TO-DATE
207[ ] > Task :shared_preferences_android:mergeReleaseNativeLibs NO-SOURCE
208[ ] > Task :shared_preferences_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
209[ ] > Task :url_launcher_android:mergeReleaseJniLibFolders UP-TO-DATE
210[ ] > Task :url_launcher_android:mergeReleaseNativeLibs NO-SOURCE
211[ ] > Task :url_launcher_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
212[ ] > Task :webview_flutter_android:mergeReleaseJniLibFolders UP-TO-DATE
213[ ] > Task :webview_flutter_android:mergeReleaseNativeLibs NO-SOURCE
214[ +98 ms] > Task :webview_flutter_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
215[ ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
216[ ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
217[+2799 ms] > Task :app:buildReleasePreBundle
218[ ] > Task :cloud_firestore:prepareReleaseArtProfile UP-TO-DATE
219[ ] > Task :file_picker:prepareReleaseArtProfile UP-TO-DATE
220[ ] > Task :firebase_auth:prepareReleaseArtProfile UP-TO-DATE
221[ ] > Task :firebase_core:prepareReleaseArtProfile UP-TO-DATE
222[ ] > Task :flutter_fimber:prepareReleaseArtProfile UP-TO-DATE
223[ ] > Task :flutter_inappwebview:prepareReleaseArtProfile UP-TO-DATE
224[ ] > Task :flutter_keyboard_visibility:prepareReleaseArtProfile UP-TO-DATE
225[ ] > Task :flutter_plugin_android_lifecycle:prepareReleaseArtProfile UP-TO-DATE
226[ ] > Task :fluttertoast:prepareReleaseArtProfile UP-TO-DATE
227[ ] > Task :image_picker:prepareReleaseArtProfile UP-TO-DATE
228[ ] > Task :package_info_plus:prepareReleaseArtProfile UP-TO-DATE
229[ ] > Task :path_provider_android:prepareReleaseArtProfile UP-TO-DATE
230[ ] > Task :permission_handler:prepareReleaseArtProfile UP-TO-DATE
231[ ] > Task :share_plus:prepareReleaseArtProfile UP-TO-DATE
232[ ] > Task :shared_preferences_android:prepareReleaseArtProfile UP-TO-DATE
233[ ] > Task :url_launcher_android:prepareReleaseArtProfile UP-TO-DATE
234[ ] > Task :webview_flutter_android:prepareReleaseArtProfile UP-TO-DATE
235[ ] > Task :app:mergeReleaseArtProfile UP-TO-DATE
236[ ] > Task :app:compileReleaseArtProfile UP-TO-DATE
237[ ] > Task :app:collectReleaseDependencies UP-TO-DATE
238[ ] > Task :app:configureReleaseDependencies UP-TO-DATE
239[ ] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
240[ ] > Task :app:parseReleaseIntegrityConfig UP-TO-DATE
241[ ] > Task :app:writeReleaseAppMetadata UP-TO-DATE
242[ ] > Task :app:validateSigningRelease UP-TO-DATE
243[+3397 ms] > Task :app:packageReleaseBundle
244[+4398 ms] > Task :app:shrinkBundleReleaseResources
245[+5699 ms] > Task :app:signReleaseBundle
246[ ] > Task :app:produceReleaseBundleIdeListingFile
247[ ] > Task :app:createReleaseBundleListingFileRedirect
248[ ] > Task :app:bundleRelease
249[ +96 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
250[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
251[ ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
252[ ] BUILD SUCCESSFUL in 36s
253[ ] 375 actionable tasks: 11 executed, 364 up-to-date
254[ +397 ms] Running Gradle task 'bundleRelease'... (completed in 37.5s)
255[ +30 ms] ✓ Built build/app/outputs/bundle/release/app-release.aab (68.2MB).
256[ +5 ms] "flutter appbundle" took 39,072ms.
257[ +235 ms] ensureAnalyticsSent: 224ms
258[ +5 ms] Running shutdown hooks
259[ +1 ms] Shutdown hooks complete
260[ +3 ms] exiting with code 0
261
262
What's insane is that the flutter documentation for building and releasing an android app says absolutely nothing about including native debug symbols. That leads me to believe that for some reason, flutter should already be including them in the app bundle, but it's not. Does it have anything to do with obfuscating my code? I didn't obfuscate mine, but do I need to use the solutions described in there to pull out the native debug symbols?
Is this even supported? Should I just upload the app as-is without the feature? What am I supposed to do when I get unintelligible crash reports?
ANSWER
Answered 2022-Feb-19 at 21:44Turns out the problem is occurring, for some reason, due to my usage of gradle plugin 7.1.1. Changing classpath 'com.android.tools.build:gradle:7.1.1'
to 'classpath 'com.android.tools.build:gradle:4.1.3'` fixes my problem. The google play console recognizes the native debug symbols within the app bundle. It's unclear why, except within the app bundle, the directory BUNDLE-METADATA contains the directories:
Using 7.1.1:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40[ ] > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE
41[ ] > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE
42[ ] > Task :package_info_plus:generateReleaseRFile UP-TO-DATE
43[ ] > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE
44[ ] > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE
45[ ] > Task :package_info_plus:mergeReleaseGeneratedProguardFiles UP-TO-DATE
46[ ] > Task :package_info_plus:exportReleaseConsumerProguardFiles UP-TO-DATE
47[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
48[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
49[ ] > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE
50[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
51[ ] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
52[ ] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
53[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
54[ +97 ms] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
55[ ] > Task :fluttertoast:exportReleaseConsumerProguardFiles UP-TO-DATE
56[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
57[ ] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
58[ ] > Task :permission_handler:parseReleaseLocalResources UP-TO-DATE
59[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
60[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
61[ ] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
62[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
63[ ] > Task :permission_handler:exportReleaseConsumerProguardFiles UP-TO-DATE
64[ ] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
65[ ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
66[ ] > Task :app:compileReleaseAidl NO-SOURCE
67[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
68[ ] > Task :cloud_firestore:writeReleaseAarMetadata UP-TO-DATE
69[ ] > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE
70[ ] > Task :firebase_auth:writeReleaseAarMetadata UP-TO-DATE
71[ ] > Task :firebase_core:writeReleaseAarMetadata UP-TO-DATE
72[ ] > Task :flutter_fimber:writeReleaseAarMetadata UP-TO-DATE
73[ ] > Task :flutter_inappwebview:writeReleaseAarMetadata UP-TO-DATE
74[ ] > Task :flutter_keyboard_visibility:writeReleaseAarMetadata UP-TO-DATE
75[ ] > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE
76[ ] > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE
77[ ] > Task :image_picker:writeReleaseAarMetadata UP-TO-DATE
78[ ] > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE
79[ ] > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE
80[ ] > Task :permission_handler:writeReleaseAarMetadata UP-TO-DATE
81[ ] > Task :share_plus:writeReleaseAarMetadata UP-TO-DATE
82[ ] > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE
83[ ] > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE
84[ ] > Task :webview_flutter_android:writeReleaseAarMetadata UP-TO-DATE
85[ ] > Task :app:checkReleaseAarMetadata UP-TO-DATE
86[ +495 ms] > Task :app:copyFlutterAssetsRelease
87[ ] > Task :app:processReleaseManifestForPackage UP-TO-DATE
88[ ] > Task :app:processReleaseResources UP-TO-DATE
89[ ] > Task :cloud_firestore:bundleLibCompileToJarRelease UP-TO-DATE
90[ ] > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE
91[ ] > Task :firebase_auth:bundleLibCompileToJarRelease UP-TO-DATE
92[ ] > Task :flutter_fimber:bundleLibCompileToJarRelease UP-TO-DATE
93[ ] > Task :flutter_inappwebview:bundleLibCompileToJarRelease UP-TO-DATE
94[ ] > Task :flutter_keyboard_visibility:bundleLibCompileToJarRelease UP-TO-DATE
95[ ] > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE
96[ ] > Task :image_picker:bundleLibCompileToJarRelease UP-TO-DATE
97[ ] > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE
98[ ] > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE
99[ ] > Task :permission_handler:bundleLibCompileToJarRelease UP-TO-DATE
100[ ] > Task :share_plus:bundleLibCompileToJarRelease UP-TO-DATE
101[ ] > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE
102[ ] > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE
103[ ] > Task :webview_flutter_android:bundleLibCompileToJarRelease UP-TO-DATE
104[ +96 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
105[ ] > Task :app:javaPreCompileRelease UP-TO-DATE
106[ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
107[ ] > Task :app:extractProguardFiles UP-TO-DATE
108[ ] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
109[ ] > Task :app:processReleaseJavaRes NO-SOURCE
110[ ] > Task :cloud_firestore:processReleaseJavaRes NO-SOURCE
111[ ] > Task :cloud_firestore:bundleLibResRelease NO-SOURCE
112[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
113[ ] > Task :file_picker:bundleLibResRelease NO-SOURCE
114[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
115[ ] > Task :firebase_auth:bundleLibResRelease NO-SOURCE
116[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
117[ ] > Task :firebase_core:bundleLibResRelease NO-SOURCE
118[ ] > Task :flutter_fimber:processReleaseJavaRes NO-SOURCE
119[ ] > Task :flutter_fimber:bundleLibResRelease UP-TO-DATE
120[ ] > Task :flutter_inappwebview:processReleaseJavaRes NO-SOURCE
121[ ] > Task :flutter_inappwebview:bundleLibResRelease NO-SOURCE
122[ ] > Task :flutter_keyboard_visibility:processReleaseJavaRes NO-SOURCE
123[ ] > Task :flutter_keyboard_visibility:bundleLibResRelease NO-SOURCE
124[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
125[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE
126[ ] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
127[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
128[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
129[ ] > Task :image_picker:bundleLibResRelease NO-SOURCE
130[ ] > Task :package_info_plus:processReleaseJavaRes NO-SOURCE
131[ ] > Task :package_info_plus:bundleLibResRelease NO-SOURCE
132[ ] > Task :path_provider_android:processReleaseJavaRes NO-SOURCE
133[ ] > Task :path_provider_android:bundleLibResRelease NO-SOURCE
134[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
135[ ] > Task :permission_handler:bundleLibResRelease NO-SOURCE
136[ ] > Task :share_plus:processReleaseJavaRes NO-SOURCE
137[ ] > Task :share_plus:bundleLibResRelease NO-SOURCE
138[ ] > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE
139[ ] > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE
140[ ] > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE
141[ ] > Task :url_launcher_android:bundleLibResRelease NO-SOURCE
142[ ] > Task :webview_flutter_android:processReleaseJavaRes NO-SOURCE
143[ ] > Task :webview_flutter_android:bundleLibResRelease NO-SOURCE
144[ ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
145[ ] > Task :cloud_firestore:bundleLibRuntimeToJarRelease UP-TO-DATE
146[ ] > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
147[ ] > Task :firebase_auth:bundleLibRuntimeToJarRelease UP-TO-DATE
148[ ] > Task :firebase_core:bundleLibRuntimeToJarRelease UP-TO-DATE
149[ ] > Task :flutter_fimber:bundleLibRuntimeToJarRelease UP-TO-DATE
150[ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarRelease UP-TO-DATE
151[ ] > Task :flutter_keyboard_visibility:bundleLibRuntimeToJarRelease UP-TO-DATE
152[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE
153[ ] > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE
154[ ] > Task :image_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
155[ ] > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
156[ ] > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE
157[ ] > Task :permission_handler:bundleLibRuntimeToJarRelease UP-TO-DATE
158[ ] > Task :share_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
159[ ] > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE
160[ ] > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE
161[ ] > Task :webview_flutter_android:bundleLibRuntimeToJarRelease UP-TO-DATE
162[ +172 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
163[ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
164[ ] > Task :cloud_firestore:mergeReleaseJniLibFolders UP-TO-DATE
165[ ] > Task :cloud_firestore:mergeReleaseNativeLibs NO-SOURCE
166[ ] > Task :cloud_firestore:copyReleaseJniLibsProjectOnly UP-TO-DATE
167[ ] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
168[ ] > Task :file_picker:mergeReleaseNativeLibs NO-SOURCE
169[ ] > Task :file_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
170[ ] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
171[ ] > Task :firebase_auth:mergeReleaseNativeLibs NO-SOURCE
172[ ] > Task :firebase_auth:copyReleaseJniLibsProjectOnly UP-TO-DATE
173[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
174[ ] > Task :firebase_core:mergeReleaseNativeLibs NO-SOURCE
175[ ] > Task :firebase_core:copyReleaseJniLibsProjectOnly UP-TO-DATE
176[ ] > Task :flutter_fimber:mergeReleaseJniLibFolders UP-TO-DATE
177[ ] > Task :flutter_fimber:mergeReleaseNativeLibs NO-SOURCE
178[ ] > Task :flutter_fimber:copyReleaseJniLibsProjectOnly UP-TO-DATE
179[ ] > Task :flutter_inappwebview:mergeReleaseJniLibFolders UP-TO-DATE
180[ ] > Task :flutter_inappwebview:mergeReleaseNativeLibs NO-SOURCE
181[ ] > Task :flutter_inappwebview:copyReleaseJniLibsProjectOnly UP-TO-DATE
182[ ] > Task :flutter_keyboard_visibility:mergeReleaseJniLibFolders UP-TO-DATE
183[ ] > Task :flutter_keyboard_visibility:mergeReleaseNativeLibs NO-SOURCE
184[ ] > Task :flutter_keyboard_visibility:copyReleaseJniLibsProjectOnly UP-TO-DATE
185[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
186[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs NO-SOURCE
187[ ] > Task :flutter_plugin_android_lifecycle:copyReleaseJniLibsProjectOnly UP-TO-DATE
188[ ] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
189[ ] > Task :fluttertoast:mergeReleaseNativeLibs NO-SOURCE
190[ ] > Task :fluttertoast:copyReleaseJniLibsProjectOnly UP-TO-DATE
191[ +16 ms] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
192[ ] > Task :image_picker:mergeReleaseNativeLibs NO-SOURCE
193[ ] > Task :image_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
194[ ] > Task :package_info_plus:mergeReleaseJniLibFolders UP-TO-DATE
195[ ] > Task :package_info_plus:mergeReleaseNativeLibs NO-SOURCE
196[ ] > Task :package_info_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
197[ ] > Task :path_provider_android:mergeReleaseJniLibFolders UP-TO-DATE
198[ ] > Task :path_provider_android:mergeReleaseNativeLibs NO-SOURCE
199[ ] > Task :path_provider_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
200[ +98 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
201[ ] > Task :permission_handler:mergeReleaseNativeLibs NO-SOURCE
202[ ] > Task :permission_handler:copyReleaseJniLibsProjectOnly UP-TO-DATE
203[ ] > Task :share_plus:mergeReleaseJniLibFolders UP-TO-DATE
204[ ] > Task :share_plus:mergeReleaseNativeLibs NO-SOURCE
205[ ] > Task :share_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
206[ ] > Task :shared_preferences_android:mergeReleaseJniLibFolders UP-TO-DATE
207[ ] > Task :shared_preferences_android:mergeReleaseNativeLibs NO-SOURCE
208[ ] > Task :shared_preferences_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
209[ ] > Task :url_launcher_android:mergeReleaseJniLibFolders UP-TO-DATE
210[ ] > Task :url_launcher_android:mergeReleaseNativeLibs NO-SOURCE
211[ ] > Task :url_launcher_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
212[ ] > Task :webview_flutter_android:mergeReleaseJniLibFolders UP-TO-DATE
213[ ] > Task :webview_flutter_android:mergeReleaseNativeLibs NO-SOURCE
214[ +98 ms] > Task :webview_flutter_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
215[ ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
216[ ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
217[+2799 ms] > Task :app:buildReleasePreBundle
218[ ] > Task :cloud_firestore:prepareReleaseArtProfile UP-TO-DATE
219[ ] > Task :file_picker:prepareReleaseArtProfile UP-TO-DATE
220[ ] > Task :firebase_auth:prepareReleaseArtProfile UP-TO-DATE
221[ ] > Task :firebase_core:prepareReleaseArtProfile UP-TO-DATE
222[ ] > Task :flutter_fimber:prepareReleaseArtProfile UP-TO-DATE
223[ ] > Task :flutter_inappwebview:prepareReleaseArtProfile UP-TO-DATE
224[ ] > Task :flutter_keyboard_visibility:prepareReleaseArtProfile UP-TO-DATE
225[ ] > Task :flutter_plugin_android_lifecycle:prepareReleaseArtProfile UP-TO-DATE
226[ ] > Task :fluttertoast:prepareReleaseArtProfile UP-TO-DATE
227[ ] > Task :image_picker:prepareReleaseArtProfile UP-TO-DATE
228[ ] > Task :package_info_plus:prepareReleaseArtProfile UP-TO-DATE
229[ ] > Task :path_provider_android:prepareReleaseArtProfile UP-TO-DATE
230[ ] > Task :permission_handler:prepareReleaseArtProfile UP-TO-DATE
231[ ] > Task :share_plus:prepareReleaseArtProfile UP-TO-DATE
232[ ] > Task :shared_preferences_android:prepareReleaseArtProfile UP-TO-DATE
233[ ] > Task :url_launcher_android:prepareReleaseArtProfile UP-TO-DATE
234[ ] > Task :webview_flutter_android:prepareReleaseArtProfile UP-TO-DATE
235[ ] > Task :app:mergeReleaseArtProfile UP-TO-DATE
236[ ] > Task :app:compileReleaseArtProfile UP-TO-DATE
237[ ] > Task :app:collectReleaseDependencies UP-TO-DATE
238[ ] > Task :app:configureReleaseDependencies UP-TO-DATE
239[ ] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
240[ ] > Task :app:parseReleaseIntegrityConfig UP-TO-DATE
241[ ] > Task :app:writeReleaseAppMetadata UP-TO-DATE
242[ ] > Task :app:validateSigningRelease UP-TO-DATE
243[+3397 ms] > Task :app:packageReleaseBundle
244[+4398 ms] > Task :app:shrinkBundleReleaseResources
245[+5699 ms] > Task :app:signReleaseBundle
246[ ] > Task :app:produceReleaseBundleIdeListingFile
247[ ] > Task :app:createReleaseBundleListingFileRedirect
248[ ] > Task :app:bundleRelease
249[ +96 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
250[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
251[ ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
252[ ] BUILD SUCCESSFUL in 36s
253[ ] 375 actionable tasks: 11 executed, 364 up-to-date
254[ +397 ms] Running Gradle task 'bundleRelease'... (completed in 37.5s)
255[ +30 ms] ✓ Built build/app/outputs/bundle/release/app-release.aab (68.2MB).
256[ +5 ms] "flutter appbundle" took 39,072ms.
257[ +235 ms] ensureAnalyticsSent: 224ms
258[ +5 ms] Running shutdown hooks
259[ +1 ms] Shutdown hooks complete
260[ +3 ms] exiting with code 0
261
262com.android.tools.build.gradle
263com.android.tools.build.libraries
264com.android.tools.build.obfuscation
265
Using 4.1.3:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40[ ] > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE
41[ ] > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE
42[ ] > Task :package_info_plus:generateReleaseRFile UP-TO-DATE
43[ ] > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE
44[ ] > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE
45[ ] > Task :package_info_plus:mergeReleaseGeneratedProguardFiles UP-TO-DATE
46[ ] > Task :package_info_plus:exportReleaseConsumerProguardFiles UP-TO-DATE
47[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
48[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
49[ ] > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE
50[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
51[ ] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
52[ ] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
53[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
54[ +97 ms] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
55[ ] > Task :fluttertoast:exportReleaseConsumerProguardFiles UP-TO-DATE
56[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
57[ ] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
58[ ] > Task :permission_handler:parseReleaseLocalResources UP-TO-DATE
59[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
60[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
61[ ] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
62[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
63[ ] > Task :permission_handler:exportReleaseConsumerProguardFiles UP-TO-DATE
64[ ] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
65[ ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
66[ ] > Task :app:compileReleaseAidl NO-SOURCE
67[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
68[ ] > Task :cloud_firestore:writeReleaseAarMetadata UP-TO-DATE
69[ ] > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE
70[ ] > Task :firebase_auth:writeReleaseAarMetadata UP-TO-DATE
71[ ] > Task :firebase_core:writeReleaseAarMetadata UP-TO-DATE
72[ ] > Task :flutter_fimber:writeReleaseAarMetadata UP-TO-DATE
73[ ] > Task :flutter_inappwebview:writeReleaseAarMetadata UP-TO-DATE
74[ ] > Task :flutter_keyboard_visibility:writeReleaseAarMetadata UP-TO-DATE
75[ ] > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE
76[ ] > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE
77[ ] > Task :image_picker:writeReleaseAarMetadata UP-TO-DATE
78[ ] > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE
79[ ] > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE
80[ ] > Task :permission_handler:writeReleaseAarMetadata UP-TO-DATE
81[ ] > Task :share_plus:writeReleaseAarMetadata UP-TO-DATE
82[ ] > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE
83[ ] > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE
84[ ] > Task :webview_flutter_android:writeReleaseAarMetadata UP-TO-DATE
85[ ] > Task :app:checkReleaseAarMetadata UP-TO-DATE
86[ +495 ms] > Task :app:copyFlutterAssetsRelease
87[ ] > Task :app:processReleaseManifestForPackage UP-TO-DATE
88[ ] > Task :app:processReleaseResources UP-TO-DATE
89[ ] > Task :cloud_firestore:bundleLibCompileToJarRelease UP-TO-DATE
90[ ] > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE
91[ ] > Task :firebase_auth:bundleLibCompileToJarRelease UP-TO-DATE
92[ ] > Task :flutter_fimber:bundleLibCompileToJarRelease UP-TO-DATE
93[ ] > Task :flutter_inappwebview:bundleLibCompileToJarRelease UP-TO-DATE
94[ ] > Task :flutter_keyboard_visibility:bundleLibCompileToJarRelease UP-TO-DATE
95[ ] > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE
96[ ] > Task :image_picker:bundleLibCompileToJarRelease UP-TO-DATE
97[ ] > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE
98[ ] > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE
99[ ] > Task :permission_handler:bundleLibCompileToJarRelease UP-TO-DATE
100[ ] > Task :share_plus:bundleLibCompileToJarRelease UP-TO-DATE
101[ ] > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE
102[ ] > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE
103[ ] > Task :webview_flutter_android:bundleLibCompileToJarRelease UP-TO-DATE
104[ +96 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
105[ ] > Task :app:javaPreCompileRelease UP-TO-DATE
106[ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
107[ ] > Task :app:extractProguardFiles UP-TO-DATE
108[ ] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
109[ ] > Task :app:processReleaseJavaRes NO-SOURCE
110[ ] > Task :cloud_firestore:processReleaseJavaRes NO-SOURCE
111[ ] > Task :cloud_firestore:bundleLibResRelease NO-SOURCE
112[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
113[ ] > Task :file_picker:bundleLibResRelease NO-SOURCE
114[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
115[ ] > Task :firebase_auth:bundleLibResRelease NO-SOURCE
116[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
117[ ] > Task :firebase_core:bundleLibResRelease NO-SOURCE
118[ ] > Task :flutter_fimber:processReleaseJavaRes NO-SOURCE
119[ ] > Task :flutter_fimber:bundleLibResRelease UP-TO-DATE
120[ ] > Task :flutter_inappwebview:processReleaseJavaRes NO-SOURCE
121[ ] > Task :flutter_inappwebview:bundleLibResRelease NO-SOURCE
122[ ] > Task :flutter_keyboard_visibility:processReleaseJavaRes NO-SOURCE
123[ ] > Task :flutter_keyboard_visibility:bundleLibResRelease NO-SOURCE
124[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
125[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE
126[ ] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
127[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
128[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
129[ ] > Task :image_picker:bundleLibResRelease NO-SOURCE
130[ ] > Task :package_info_plus:processReleaseJavaRes NO-SOURCE
131[ ] > Task :package_info_plus:bundleLibResRelease NO-SOURCE
132[ ] > Task :path_provider_android:processReleaseJavaRes NO-SOURCE
133[ ] > Task :path_provider_android:bundleLibResRelease NO-SOURCE
134[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
135[ ] > Task :permission_handler:bundleLibResRelease NO-SOURCE
136[ ] > Task :share_plus:processReleaseJavaRes NO-SOURCE
137[ ] > Task :share_plus:bundleLibResRelease NO-SOURCE
138[ ] > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE
139[ ] > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE
140[ ] > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE
141[ ] > Task :url_launcher_android:bundleLibResRelease NO-SOURCE
142[ ] > Task :webview_flutter_android:processReleaseJavaRes NO-SOURCE
143[ ] > Task :webview_flutter_android:bundleLibResRelease NO-SOURCE
144[ ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
145[ ] > Task :cloud_firestore:bundleLibRuntimeToJarRelease UP-TO-DATE
146[ ] > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
147[ ] > Task :firebase_auth:bundleLibRuntimeToJarRelease UP-TO-DATE
148[ ] > Task :firebase_core:bundleLibRuntimeToJarRelease UP-TO-DATE
149[ ] > Task :flutter_fimber:bundleLibRuntimeToJarRelease UP-TO-DATE
150[ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarRelease UP-TO-DATE
151[ ] > Task :flutter_keyboard_visibility:bundleLibRuntimeToJarRelease UP-TO-DATE
152[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE
153[ ] > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE
154[ ] > Task :image_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
155[ ] > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
156[ ] > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE
157[ ] > Task :permission_handler:bundleLibRuntimeToJarRelease UP-TO-DATE
158[ ] > Task :share_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
159[ ] > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE
160[ ] > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE
161[ ] > Task :webview_flutter_android:bundleLibRuntimeToJarRelease UP-TO-DATE
162[ +172 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
163[ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
164[ ] > Task :cloud_firestore:mergeReleaseJniLibFolders UP-TO-DATE
165[ ] > Task :cloud_firestore:mergeReleaseNativeLibs NO-SOURCE
166[ ] > Task :cloud_firestore:copyReleaseJniLibsProjectOnly UP-TO-DATE
167[ ] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
168[ ] > Task :file_picker:mergeReleaseNativeLibs NO-SOURCE
169[ ] > Task :file_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
170[ ] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
171[ ] > Task :firebase_auth:mergeReleaseNativeLibs NO-SOURCE
172[ ] > Task :firebase_auth:copyReleaseJniLibsProjectOnly UP-TO-DATE
173[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
174[ ] > Task :firebase_core:mergeReleaseNativeLibs NO-SOURCE
175[ ] > Task :firebase_core:copyReleaseJniLibsProjectOnly UP-TO-DATE
176[ ] > Task :flutter_fimber:mergeReleaseJniLibFolders UP-TO-DATE
177[ ] > Task :flutter_fimber:mergeReleaseNativeLibs NO-SOURCE
178[ ] > Task :flutter_fimber:copyReleaseJniLibsProjectOnly UP-TO-DATE
179[ ] > Task :flutter_inappwebview:mergeReleaseJniLibFolders UP-TO-DATE
180[ ] > Task :flutter_inappwebview:mergeReleaseNativeLibs NO-SOURCE
181[ ] > Task :flutter_inappwebview:copyReleaseJniLibsProjectOnly UP-TO-DATE
182[ ] > Task :flutter_keyboard_visibility:mergeReleaseJniLibFolders UP-TO-DATE
183[ ] > Task :flutter_keyboard_visibility:mergeReleaseNativeLibs NO-SOURCE
184[ ] > Task :flutter_keyboard_visibility:copyReleaseJniLibsProjectOnly UP-TO-DATE
185[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
186[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs NO-SOURCE
187[ ] > Task :flutter_plugin_android_lifecycle:copyReleaseJniLibsProjectOnly UP-TO-DATE
188[ ] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
189[ ] > Task :fluttertoast:mergeReleaseNativeLibs NO-SOURCE
190[ ] > Task :fluttertoast:copyReleaseJniLibsProjectOnly UP-TO-DATE
191[ +16 ms] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
192[ ] > Task :image_picker:mergeReleaseNativeLibs NO-SOURCE
193[ ] > Task :image_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
194[ ] > Task :package_info_plus:mergeReleaseJniLibFolders UP-TO-DATE
195[ ] > Task :package_info_plus:mergeReleaseNativeLibs NO-SOURCE
196[ ] > Task :package_info_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
197[ ] > Task :path_provider_android:mergeReleaseJniLibFolders UP-TO-DATE
198[ ] > Task :path_provider_android:mergeReleaseNativeLibs NO-SOURCE
199[ ] > Task :path_provider_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
200[ +98 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
201[ ] > Task :permission_handler:mergeReleaseNativeLibs NO-SOURCE
202[ ] > Task :permission_handler:copyReleaseJniLibsProjectOnly UP-TO-DATE
203[ ] > Task :share_plus:mergeReleaseJniLibFolders UP-TO-DATE
204[ ] > Task :share_plus:mergeReleaseNativeLibs NO-SOURCE
205[ ] > Task :share_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
206[ ] > Task :shared_preferences_android:mergeReleaseJniLibFolders UP-TO-DATE
207[ ] > Task :shared_preferences_android:mergeReleaseNativeLibs NO-SOURCE
208[ ] > Task :shared_preferences_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
209[ ] > Task :url_launcher_android:mergeReleaseJniLibFolders UP-TO-DATE
210[ ] > Task :url_launcher_android:mergeReleaseNativeLibs NO-SOURCE
211[ ] > Task :url_launcher_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
212[ ] > Task :webview_flutter_android:mergeReleaseJniLibFolders UP-TO-DATE
213[ ] > Task :webview_flutter_android:mergeReleaseNativeLibs NO-SOURCE
214[ +98 ms] > Task :webview_flutter_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
215[ ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
216[ ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
217[+2799 ms] > Task :app:buildReleasePreBundle
218[ ] > Task :cloud_firestore:prepareReleaseArtProfile UP-TO-DATE
219[ ] > Task :file_picker:prepareReleaseArtProfile UP-TO-DATE
220[ ] > Task :firebase_auth:prepareReleaseArtProfile UP-TO-DATE
221[ ] > Task :firebase_core:prepareReleaseArtProfile UP-TO-DATE
222[ ] > Task :flutter_fimber:prepareReleaseArtProfile UP-TO-DATE
223[ ] > Task :flutter_inappwebview:prepareReleaseArtProfile UP-TO-DATE
224[ ] > Task :flutter_keyboard_visibility:prepareReleaseArtProfile UP-TO-DATE
225[ ] > Task :flutter_plugin_android_lifecycle:prepareReleaseArtProfile UP-TO-DATE
226[ ] > Task :fluttertoast:prepareReleaseArtProfile UP-TO-DATE
227[ ] > Task :image_picker:prepareReleaseArtProfile UP-TO-DATE
228[ ] > Task :package_info_plus:prepareReleaseArtProfile UP-TO-DATE
229[ ] > Task :path_provider_android:prepareReleaseArtProfile UP-TO-DATE
230[ ] > Task :permission_handler:prepareReleaseArtProfile UP-TO-DATE
231[ ] > Task :share_plus:prepareReleaseArtProfile UP-TO-DATE
232[ ] > Task :shared_preferences_android:prepareReleaseArtProfile UP-TO-DATE
233[ ] > Task :url_launcher_android:prepareReleaseArtProfile UP-TO-DATE
234[ ] > Task :webview_flutter_android:prepareReleaseArtProfile UP-TO-DATE
235[ ] > Task :app:mergeReleaseArtProfile UP-TO-DATE
236[ ] > Task :app:compileReleaseArtProfile UP-TO-DATE
237[ ] > Task :app:collectReleaseDependencies UP-TO-DATE
238[ ] > Task :app:configureReleaseDependencies UP-TO-DATE
239[ ] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
240[ ] > Task :app:parseReleaseIntegrityConfig UP-TO-DATE
241[ ] > Task :app:writeReleaseAppMetadata UP-TO-DATE
242[ ] > Task :app:validateSigningRelease UP-TO-DATE
243[+3397 ms] > Task :app:packageReleaseBundle
244[+4398 ms] > Task :app:shrinkBundleReleaseResources
245[+5699 ms] > Task :app:signReleaseBundle
246[ ] > Task :app:produceReleaseBundleIdeListingFile
247[ ] > Task :app:createReleaseBundleListingFileRedirect
248[ ] > Task :app:bundleRelease
249[ +96 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
250[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
251[ ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
252[ ] BUILD SUCCESSFUL in 36s
253[ ] 375 actionable tasks: 11 executed, 364 up-to-date
254[ +397 ms] Running Gradle task 'bundleRelease'... (completed in 37.5s)
255[ +30 ms] ✓ Built build/app/outputs/bundle/release/app-release.aab (68.2MB).
256[ +5 ms] "flutter appbundle" took 39,072ms.
257[ +235 ms] ensureAnalyticsSent: 224ms
258[ +5 ms] Running shutdown hooks
259[ +1 ms] Shutdown hooks complete
260[ +3 ms] exiting with code 0
261
262com.android.tools.build.gradle
263com.android.tools.build.libraries
264com.android.tools.build.obfuscation
265com.android.tools.build.debugsymbols
266com.android.tools.build.libraries
267com.android.tools.build.obfuscation
268
I've tried it with multiple versions of the android gradle plugin, and I can say that the problem occurs after android gradle plugin version 4.1.3. So my fix right now is to make android/build.gradle
have:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40[ ] > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE
41[ ] > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE
42[ ] > Task :package_info_plus:generateReleaseRFile UP-TO-DATE
43[ ] > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE
44[ ] > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE
45[ ] > Task :package_info_plus:mergeReleaseGeneratedProguardFiles UP-TO-DATE
46[ ] > Task :package_info_plus:exportReleaseConsumerProguardFiles UP-TO-DATE
47[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
48[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
49[ ] > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE
50[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
51[ ] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
52[ ] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
53[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
54[ +97 ms] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
55[ ] > Task :fluttertoast:exportReleaseConsumerProguardFiles UP-TO-DATE
56[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
57[ ] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
58[ ] > Task :permission_handler:parseReleaseLocalResources UP-TO-DATE
59[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
60[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
61[ ] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
62[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
63[ ] > Task :permission_handler:exportReleaseConsumerProguardFiles UP-TO-DATE
64[ ] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
65[ ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
66[ ] > Task :app:compileReleaseAidl NO-SOURCE
67[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
68[ ] > Task :cloud_firestore:writeReleaseAarMetadata UP-TO-DATE
69[ ] > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE
70[ ] > Task :firebase_auth:writeReleaseAarMetadata UP-TO-DATE
71[ ] > Task :firebase_core:writeReleaseAarMetadata UP-TO-DATE
72[ ] > Task :flutter_fimber:writeReleaseAarMetadata UP-TO-DATE
73[ ] > Task :flutter_inappwebview:writeReleaseAarMetadata UP-TO-DATE
74[ ] > Task :flutter_keyboard_visibility:writeReleaseAarMetadata UP-TO-DATE
75[ ] > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE
76[ ] > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE
77[ ] > Task :image_picker:writeReleaseAarMetadata UP-TO-DATE
78[ ] > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE
79[ ] > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE
80[ ] > Task :permission_handler:writeReleaseAarMetadata UP-TO-DATE
81[ ] > Task :share_plus:writeReleaseAarMetadata UP-TO-DATE
82[ ] > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE
83[ ] > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE
84[ ] > Task :webview_flutter_android:writeReleaseAarMetadata UP-TO-DATE
85[ ] > Task :app:checkReleaseAarMetadata UP-TO-DATE
86[ +495 ms] > Task :app:copyFlutterAssetsRelease
87[ ] > Task :app:processReleaseManifestForPackage UP-TO-DATE
88[ ] > Task :app:processReleaseResources UP-TO-DATE
89[ ] > Task :cloud_firestore:bundleLibCompileToJarRelease UP-TO-DATE
90[ ] > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE
91[ ] > Task :firebase_auth:bundleLibCompileToJarRelease UP-TO-DATE
92[ ] > Task :flutter_fimber:bundleLibCompileToJarRelease UP-TO-DATE
93[ ] > Task :flutter_inappwebview:bundleLibCompileToJarRelease UP-TO-DATE
94[ ] > Task :flutter_keyboard_visibility:bundleLibCompileToJarRelease UP-TO-DATE
95[ ] > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE
96[ ] > Task :image_picker:bundleLibCompileToJarRelease UP-TO-DATE
97[ ] > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE
98[ ] > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE
99[ ] > Task :permission_handler:bundleLibCompileToJarRelease UP-TO-DATE
100[ ] > Task :share_plus:bundleLibCompileToJarRelease UP-TO-DATE
101[ ] > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE
102[ ] > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE
103[ ] > Task :webview_flutter_android:bundleLibCompileToJarRelease UP-TO-DATE
104[ +96 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
105[ ] > Task :app:javaPreCompileRelease UP-TO-DATE
106[ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
107[ ] > Task :app:extractProguardFiles UP-TO-DATE
108[ ] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
109[ ] > Task :app:processReleaseJavaRes NO-SOURCE
110[ ] > Task :cloud_firestore:processReleaseJavaRes NO-SOURCE
111[ ] > Task :cloud_firestore:bundleLibResRelease NO-SOURCE
112[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
113[ ] > Task :file_picker:bundleLibResRelease NO-SOURCE
114[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
115[ ] > Task :firebase_auth:bundleLibResRelease NO-SOURCE
116[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
117[ ] > Task :firebase_core:bundleLibResRelease NO-SOURCE
118[ ] > Task :flutter_fimber:processReleaseJavaRes NO-SOURCE
119[ ] > Task :flutter_fimber:bundleLibResRelease UP-TO-DATE
120[ ] > Task :flutter_inappwebview:processReleaseJavaRes NO-SOURCE
121[ ] > Task :flutter_inappwebview:bundleLibResRelease NO-SOURCE
122[ ] > Task :flutter_keyboard_visibility:processReleaseJavaRes NO-SOURCE
123[ ] > Task :flutter_keyboard_visibility:bundleLibResRelease NO-SOURCE
124[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
125[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE
126[ ] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
127[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
128[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
129[ ] > Task :image_picker:bundleLibResRelease NO-SOURCE
130[ ] > Task :package_info_plus:processReleaseJavaRes NO-SOURCE
131[ ] > Task :package_info_plus:bundleLibResRelease NO-SOURCE
132[ ] > Task :path_provider_android:processReleaseJavaRes NO-SOURCE
133[ ] > Task :path_provider_android:bundleLibResRelease NO-SOURCE
134[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
135[ ] > Task :permission_handler:bundleLibResRelease NO-SOURCE
136[ ] > Task :share_plus:processReleaseJavaRes NO-SOURCE
137[ ] > Task :share_plus:bundleLibResRelease NO-SOURCE
138[ ] > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE
139[ ] > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE
140[ ] > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE
141[ ] > Task :url_launcher_android:bundleLibResRelease NO-SOURCE
142[ ] > Task :webview_flutter_android:processReleaseJavaRes NO-SOURCE
143[ ] > Task :webview_flutter_android:bundleLibResRelease NO-SOURCE
144[ ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
145[ ] > Task :cloud_firestore:bundleLibRuntimeToJarRelease UP-TO-DATE
146[ ] > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
147[ ] > Task :firebase_auth:bundleLibRuntimeToJarRelease UP-TO-DATE
148[ ] > Task :firebase_core:bundleLibRuntimeToJarRelease UP-TO-DATE
149[ ] > Task :flutter_fimber:bundleLibRuntimeToJarRelease UP-TO-DATE
150[ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarRelease UP-TO-DATE
151[ ] > Task :flutter_keyboard_visibility:bundleLibRuntimeToJarRelease UP-TO-DATE
152[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE
153[ ] > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE
154[ ] > Task :image_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
155[ ] > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
156[ ] > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE
157[ ] > Task :permission_handler:bundleLibRuntimeToJarRelease UP-TO-DATE
158[ ] > Task :share_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
159[ ] > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE
160[ ] > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE
161[ ] > Task :webview_flutter_android:bundleLibRuntimeToJarRelease UP-TO-DATE
162[ +172 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
163[ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
164[ ] > Task :cloud_firestore:mergeReleaseJniLibFolders UP-TO-DATE
165[ ] > Task :cloud_firestore:mergeReleaseNativeLibs NO-SOURCE
166[ ] > Task :cloud_firestore:copyReleaseJniLibsProjectOnly UP-TO-DATE
167[ ] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
168[ ] > Task :file_picker:mergeReleaseNativeLibs NO-SOURCE
169[ ] > Task :file_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
170[ ] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
171[ ] > Task :firebase_auth:mergeReleaseNativeLibs NO-SOURCE
172[ ] > Task :firebase_auth:copyReleaseJniLibsProjectOnly UP-TO-DATE
173[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
174[ ] > Task :firebase_core:mergeReleaseNativeLibs NO-SOURCE
175[ ] > Task :firebase_core:copyReleaseJniLibsProjectOnly UP-TO-DATE
176[ ] > Task :flutter_fimber:mergeReleaseJniLibFolders UP-TO-DATE
177[ ] > Task :flutter_fimber:mergeReleaseNativeLibs NO-SOURCE
178[ ] > Task :flutter_fimber:copyReleaseJniLibsProjectOnly UP-TO-DATE
179[ ] > Task :flutter_inappwebview:mergeReleaseJniLibFolders UP-TO-DATE
180[ ] > Task :flutter_inappwebview:mergeReleaseNativeLibs NO-SOURCE
181[ ] > Task :flutter_inappwebview:copyReleaseJniLibsProjectOnly UP-TO-DATE
182[ ] > Task :flutter_keyboard_visibility:mergeReleaseJniLibFolders UP-TO-DATE
183[ ] > Task :flutter_keyboard_visibility:mergeReleaseNativeLibs NO-SOURCE
184[ ] > Task :flutter_keyboard_visibility:copyReleaseJniLibsProjectOnly UP-TO-DATE
185[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
186[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs NO-SOURCE
187[ ] > Task :flutter_plugin_android_lifecycle:copyReleaseJniLibsProjectOnly UP-TO-DATE
188[ ] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
189[ ] > Task :fluttertoast:mergeReleaseNativeLibs NO-SOURCE
190[ ] > Task :fluttertoast:copyReleaseJniLibsProjectOnly UP-TO-DATE
191[ +16 ms] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
192[ ] > Task :image_picker:mergeReleaseNativeLibs NO-SOURCE
193[ ] > Task :image_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
194[ ] > Task :package_info_plus:mergeReleaseJniLibFolders UP-TO-DATE
195[ ] > Task :package_info_plus:mergeReleaseNativeLibs NO-SOURCE
196[ ] > Task :package_info_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
197[ ] > Task :path_provider_android:mergeReleaseJniLibFolders UP-TO-DATE
198[ ] > Task :path_provider_android:mergeReleaseNativeLibs NO-SOURCE
199[ ] > Task :path_provider_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
200[ +98 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
201[ ] > Task :permission_handler:mergeReleaseNativeLibs NO-SOURCE
202[ ] > Task :permission_handler:copyReleaseJniLibsProjectOnly UP-TO-DATE
203[ ] > Task :share_plus:mergeReleaseJniLibFolders UP-TO-DATE
204[ ] > Task :share_plus:mergeReleaseNativeLibs NO-SOURCE
205[ ] > Task :share_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
206[ ] > Task :shared_preferences_android:mergeReleaseJniLibFolders UP-TO-DATE
207[ ] > Task :shared_preferences_android:mergeReleaseNativeLibs NO-SOURCE
208[ ] > Task :shared_preferences_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
209[ ] > Task :url_launcher_android:mergeReleaseJniLibFolders UP-TO-DATE
210[ ] > Task :url_launcher_android:mergeReleaseNativeLibs NO-SOURCE
211[ ] > Task :url_launcher_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
212[ ] > Task :webview_flutter_android:mergeReleaseJniLibFolders UP-TO-DATE
213[ ] > Task :webview_flutter_android:mergeReleaseNativeLibs NO-SOURCE
214[ +98 ms] > Task :webview_flutter_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
215[ ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
216[ ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
217[+2799 ms] > Task :app:buildReleasePreBundle
218[ ] > Task :cloud_firestore:prepareReleaseArtProfile UP-TO-DATE
219[ ] > Task :file_picker:prepareReleaseArtProfile UP-TO-DATE
220[ ] > Task :firebase_auth:prepareReleaseArtProfile UP-TO-DATE
221[ ] > Task :firebase_core:prepareReleaseArtProfile UP-TO-DATE
222[ ] > Task :flutter_fimber:prepareReleaseArtProfile UP-TO-DATE
223[ ] > Task :flutter_inappwebview:prepareReleaseArtProfile UP-TO-DATE
224[ ] > Task :flutter_keyboard_visibility:prepareReleaseArtProfile UP-TO-DATE
225[ ] > Task :flutter_plugin_android_lifecycle:prepareReleaseArtProfile UP-TO-DATE
226[ ] > Task :fluttertoast:prepareReleaseArtProfile UP-TO-DATE
227[ ] > Task :image_picker:prepareReleaseArtProfile UP-TO-DATE
228[ ] > Task :package_info_plus:prepareReleaseArtProfile UP-TO-DATE
229[ ] > Task :path_provider_android:prepareReleaseArtProfile UP-TO-DATE
230[ ] > Task :permission_handler:prepareReleaseArtProfile UP-TO-DATE
231[ ] > Task :share_plus:prepareReleaseArtProfile UP-TO-DATE
232[ ] > Task :shared_preferences_android:prepareReleaseArtProfile UP-TO-DATE
233[ ] > Task :url_launcher_android:prepareReleaseArtProfile UP-TO-DATE
234[ ] > Task :webview_flutter_android:prepareReleaseArtProfile UP-TO-DATE
235[ ] > Task :app:mergeReleaseArtProfile UP-TO-DATE
236[ ] > Task :app:compileReleaseArtProfile UP-TO-DATE
237[ ] > Task :app:collectReleaseDependencies UP-TO-DATE
238[ ] > Task :app:configureReleaseDependencies UP-TO-DATE
239[ ] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
240[ ] > Task :app:parseReleaseIntegrityConfig UP-TO-DATE
241[ ] > Task :app:writeReleaseAppMetadata UP-TO-DATE
242[ ] > Task :app:validateSigningRelease UP-TO-DATE
243[+3397 ms] > Task :app:packageReleaseBundle
244[+4398 ms] > Task :app:shrinkBundleReleaseResources
245[+5699 ms] > Task :app:signReleaseBundle
246[ ] > Task :app:produceReleaseBundleIdeListingFile
247[ ] > Task :app:createReleaseBundleListingFileRedirect
248[ ] > Task :app:bundleRelease
249[ +96 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
250[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
251[ ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
252[ ] BUILD SUCCESSFUL in 36s
253[ ] 375 actionable tasks: 11 executed, 364 up-to-date
254[ +397 ms] Running Gradle task 'bundleRelease'... (completed in 37.5s)
255[ +30 ms] ✓ Built build/app/outputs/bundle/release/app-release.aab (68.2MB).
256[ +5 ms] "flutter appbundle" took 39,072ms.
257[ +235 ms] ensureAnalyticsSent: 224ms
258[ +5 ms] Running shutdown hooks
259[ +1 ms] Shutdown hooks complete
260[ +3 ms] exiting with code 0
261
262com.android.tools.build.gradle
263com.android.tools.build.libraries
264com.android.tools.build.obfuscation
265com.android.tools.build.debugsymbols
266com.android.tools.build.libraries
267com.android.tools.build.obfuscation
268buildscript {
269 ...
270 dependencies {
271 classpath 'com.android.tools.build:gradle:4.1.3'
272 ...
273 }
274}
275
The next version of the plugin, 4.2.0, omits the native debug files, despite this inclusion in app/build.gradle:
1Warning
2
3This App Bundle contains native code, and youve not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. Learn More
4android {
5 compileSdkVersion 31
6
7 ...
8
9 defaultConfig {
10 applicationId "app.(myapp)"
11 minSdkVersion 23
12 targetSdkVersion 31
13 versionCode flutterVersionCode.toInteger()
14 versionName flutterVersionName
15 }
16 ndkVersion "23.1.7779620"
17 buildTypes {
18 ...
19 release {
20 signingConfig signingConfigs.release
21 ndk {
22 debugSymbolLevel 'SYMBOL_TABLE'
23 }
24 }
25 }
26}
27
28flutter doctor
29Doctor summary (to see all details, run flutter doctor -v):
30[✓] Flutter (Channel stable, 2.10.0, on Manjaro Linux 5.13.19-2-MANJARO, locale en_US.UTF-8)
31[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
32[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
33 ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
34[✓] Android Studio (version 2021.1)
35[!] Connected device
36 ! No devices available
37[✓] HTTP Host Availability
38
39! Doctor found issues in 2 categories.
40[ ] > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE
41[ ] > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE
42[ ] > Task :package_info_plus:generateReleaseRFile UP-TO-DATE
43[ ] > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE
44[ ] > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE
45[ ] > Task :package_info_plus:mergeReleaseGeneratedProguardFiles UP-TO-DATE
46[ ] > Task :package_info_plus:exportReleaseConsumerProguardFiles UP-TO-DATE
47[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
48[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
49[ ] > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE
50[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
51[ ] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
52[ ] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
53[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
54[ +97 ms] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
55[ ] > Task :fluttertoast:exportReleaseConsumerProguardFiles UP-TO-DATE
56[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
57[ ] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
58[ ] > Task :permission_handler:parseReleaseLocalResources UP-TO-DATE
59[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
60[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
61[ ] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
62[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
63[ ] > Task :permission_handler:exportReleaseConsumerProguardFiles UP-TO-DATE
64[ ] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
65[ ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
66[ ] > Task :app:compileReleaseAidl NO-SOURCE
67[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
68[ ] > Task :cloud_firestore:writeReleaseAarMetadata UP-TO-DATE
69[ ] > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE
70[ ] > Task :firebase_auth:writeReleaseAarMetadata UP-TO-DATE
71[ ] > Task :firebase_core:writeReleaseAarMetadata UP-TO-DATE
72[ ] > Task :flutter_fimber:writeReleaseAarMetadata UP-TO-DATE
73[ ] > Task :flutter_inappwebview:writeReleaseAarMetadata UP-TO-DATE
74[ ] > Task :flutter_keyboard_visibility:writeReleaseAarMetadata UP-TO-DATE
75[ ] > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE
76[ ] > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE
77[ ] > Task :image_picker:writeReleaseAarMetadata UP-TO-DATE
78[ ] > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE
79[ ] > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE
80[ ] > Task :permission_handler:writeReleaseAarMetadata UP-TO-DATE
81[ ] > Task :share_plus:writeReleaseAarMetadata UP-TO-DATE
82[ ] > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE
83[ ] > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE
84[ ] > Task :webview_flutter_android:writeReleaseAarMetadata UP-TO-DATE
85[ ] > Task :app:checkReleaseAarMetadata UP-TO-DATE
86[ +495 ms] > Task :app:copyFlutterAssetsRelease
87[ ] > Task :app:processReleaseManifestForPackage UP-TO-DATE
88[ ] > Task :app:processReleaseResources UP-TO-DATE
89[ ] > Task :cloud_firestore:bundleLibCompileToJarRelease UP-TO-DATE
90[ ] > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE
91[ ] > Task :firebase_auth:bundleLibCompileToJarRelease UP-TO-DATE
92[ ] > Task :flutter_fimber:bundleLibCompileToJarRelease UP-TO-DATE
93[ ] > Task :flutter_inappwebview:bundleLibCompileToJarRelease UP-TO-DATE
94[ ] > Task :flutter_keyboard_visibility:bundleLibCompileToJarRelease UP-TO-DATE
95[ ] > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE
96[ ] > Task :image_picker:bundleLibCompileToJarRelease UP-TO-DATE
97[ ] > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE
98[ ] > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE
99[ ] > Task :permission_handler:bundleLibCompileToJarRelease UP-TO-DATE
100[ ] > Task :share_plus:bundleLibCompileToJarRelease UP-TO-DATE
101[ ] > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE
102[ ] > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE
103[ ] > Task :webview_flutter_android:bundleLibCompileToJarRelease UP-TO-DATE
104[ +96 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
105[ ] > Task :app:javaPreCompileRelease UP-TO-DATE
106[ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
107[ ] > Task :app:extractProguardFiles UP-TO-DATE
108[ ] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
109[ ] > Task :app:processReleaseJavaRes NO-SOURCE
110[ ] > Task :cloud_firestore:processReleaseJavaRes NO-SOURCE
111[ ] > Task :cloud_firestore:bundleLibResRelease NO-SOURCE
112[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
113[ ] > Task :file_picker:bundleLibResRelease NO-SOURCE
114[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
115[ ] > Task :firebase_auth:bundleLibResRelease NO-SOURCE
116[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
117[ ] > Task :firebase_core:bundleLibResRelease NO-SOURCE
118[ ] > Task :flutter_fimber:processReleaseJavaRes NO-SOURCE
119[ ] > Task :flutter_fimber:bundleLibResRelease UP-TO-DATE
120[ ] > Task :flutter_inappwebview:processReleaseJavaRes NO-SOURCE
121[ ] > Task :flutter_inappwebview:bundleLibResRelease NO-SOURCE
122[ ] > Task :flutter_keyboard_visibility:processReleaseJavaRes NO-SOURCE
123[ ] > Task :flutter_keyboard_visibility:bundleLibResRelease NO-SOURCE
124[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
125[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE
126[ ] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
127[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
128[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
129[ ] > Task :image_picker:bundleLibResRelease NO-SOURCE
130[ ] > Task :package_info_plus:processReleaseJavaRes NO-SOURCE
131[ ] > Task :package_info_plus:bundleLibResRelease NO-SOURCE
132[ ] > Task :path_provider_android:processReleaseJavaRes NO-SOURCE
133[ ] > Task :path_provider_android:bundleLibResRelease NO-SOURCE
134[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
135[ ] > Task :permission_handler:bundleLibResRelease NO-SOURCE
136[ ] > Task :share_plus:processReleaseJavaRes NO-SOURCE
137[ ] > Task :share_plus:bundleLibResRelease NO-SOURCE
138[ ] > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE
139[ ] > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE
140[ ] > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE
141[ ] > Task :url_launcher_android:bundleLibResRelease NO-SOURCE
142[ ] > Task :webview_flutter_android:processReleaseJavaRes NO-SOURCE
143[ ] > Task :webview_flutter_android:bundleLibResRelease NO-SOURCE
144[ ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
145[ ] > Task :cloud_firestore:bundleLibRuntimeToJarRelease UP-TO-DATE
146[ ] > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
147[ ] > Task :firebase_auth:bundleLibRuntimeToJarRelease UP-TO-DATE
148[ ] > Task :firebase_core:bundleLibRuntimeToJarRelease UP-TO-DATE
149[ ] > Task :flutter_fimber:bundleLibRuntimeToJarRelease UP-TO-DATE
150[ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarRelease UP-TO-DATE
151[ ] > Task :flutter_keyboard_visibility:bundleLibRuntimeToJarRelease UP-TO-DATE
152[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE
153[ ] > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE
154[ ] > Task :image_picker:bundleLibRuntimeToJarRelease UP-TO-DATE
155[ ] > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
156[ ] > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE
157[ ] > Task :permission_handler:bundleLibRuntimeToJarRelease UP-TO-DATE
158[ ] > Task :share_plus:bundleLibRuntimeToJarRelease UP-TO-DATE
159[ ] > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE
160[ ] > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE
161[ ] > Task :webview_flutter_android:bundleLibRuntimeToJarRelease UP-TO-DATE
162[ +172 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
163[ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
164[ ] > Task :cloud_firestore:mergeReleaseJniLibFolders UP-TO-DATE
165[ ] > Task :cloud_firestore:mergeReleaseNativeLibs NO-SOURCE
166[ ] > Task :cloud_firestore:copyReleaseJniLibsProjectOnly UP-TO-DATE
167[ ] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
168[ ] > Task :file_picker:mergeReleaseNativeLibs NO-SOURCE
169[ ] > Task :file_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
170[ ] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
171[ ] > Task :firebase_auth:mergeReleaseNativeLibs NO-SOURCE
172[ ] > Task :firebase_auth:copyReleaseJniLibsProjectOnly UP-TO-DATE
173[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
174[ ] > Task :firebase_core:mergeReleaseNativeLibs NO-SOURCE
175[ ] > Task :firebase_core:copyReleaseJniLibsProjectOnly UP-TO-DATE
176[ ] > Task :flutter_fimber:mergeReleaseJniLibFolders UP-TO-DATE
177[ ] > Task :flutter_fimber:mergeReleaseNativeLibs NO-SOURCE
178[ ] > Task :flutter_fimber:copyReleaseJniLibsProjectOnly UP-TO-DATE
179[ ] > Task :flutter_inappwebview:mergeReleaseJniLibFolders UP-TO-DATE
180[ ] > Task :flutter_inappwebview:mergeReleaseNativeLibs NO-SOURCE
181[ ] > Task :flutter_inappwebview:copyReleaseJniLibsProjectOnly UP-TO-DATE
182[ ] > Task :flutter_keyboard_visibility:mergeReleaseJniLibFolders UP-TO-DATE
183[ ] > Task :flutter_keyboard_visibility:mergeReleaseNativeLibs NO-SOURCE
184[ ] > Task :flutter_keyboard_visibility:copyReleaseJniLibsProjectOnly UP-TO-DATE
185[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
186[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs NO-SOURCE
187[ ] > Task :flutter_plugin_android_lifecycle:copyReleaseJniLibsProjectOnly UP-TO-DATE
188[ ] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
189[ ] > Task :fluttertoast:mergeReleaseNativeLibs NO-SOURCE
190[ ] > Task :fluttertoast:copyReleaseJniLibsProjectOnly UP-TO-DATE
191[ +16 ms] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
192[ ] > Task :image_picker:mergeReleaseNativeLibs NO-SOURCE
193[ ] > Task :image_picker:copyReleaseJniLibsProjectOnly UP-TO-DATE
194[ ] > Task :package_info_plus:mergeReleaseJniLibFolders UP-TO-DATE
195[ ] > Task :package_info_plus:mergeReleaseNativeLibs NO-SOURCE
196[ ] > Task :package_info_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
197[ ] > Task :path_provider_android:mergeReleaseJniLibFolders UP-TO-DATE
198[ ] > Task :path_provider_android:mergeReleaseNativeLibs NO-SOURCE
199[ ] > Task :path_provider_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
200[ +98 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
201[ ] > Task :permission_handler:mergeReleaseNativeLibs NO-SOURCE
202[ ] > Task :permission_handler:copyReleaseJniLibsProjectOnly UP-TO-DATE
203[ ] > Task :share_plus:mergeReleaseJniLibFolders UP-TO-DATE
204[ ] > Task :share_plus:mergeReleaseNativeLibs NO-SOURCE
205[ ] > Task :share_plus:copyReleaseJniLibsProjectOnly UP-TO-DATE
206[ ] > Task :shared_preferences_android:mergeReleaseJniLibFolders UP-TO-DATE
207[ ] > Task :shared_preferences_android:mergeReleaseNativeLibs NO-SOURCE
208[ ] > Task :shared_preferences_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
209[ ] > Task :url_launcher_android:mergeReleaseJniLibFolders UP-TO-DATE
210[ ] > Task :url_launcher_android:mergeReleaseNativeLibs NO-SOURCE
211[ ] > Task :url_launcher_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
212[ ] > Task :webview_flutter_android:mergeReleaseJniLibFolders UP-TO-DATE
213[ ] > Task :webview_flutter_android:mergeReleaseNativeLibs NO-SOURCE
214[ +98 ms] > Task :webview_flutter_android:copyReleaseJniLibsProjectOnly UP-TO-DATE
215[ ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
216[ ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
217[+2799 ms] > Task :app:buildReleasePreBundle
218[ ] > Task :cloud_firestore:prepareReleaseArtProfile UP-TO-DATE
219[ ] > Task :file_picker:prepareReleaseArtProfile UP-TO-DATE
220[ ] > Task :firebase_auth:prepareReleaseArtProfile UP-TO-DATE
221[ ] > Task :firebase_core:prepareReleaseArtProfile UP-TO-DATE
222[ ] > Task :flutter_fimber:prepareReleaseArtProfile UP-TO-DATE
223[ ] > Task :flutter_inappwebview:prepareReleaseArtProfile UP-TO-DATE
224[ ] > Task :flutter_keyboard_visibility:prepareReleaseArtProfile UP-TO-DATE
225[ ] > Task :flutter_plugin_android_lifecycle:prepareReleaseArtProfile UP-TO-DATE
226[ ] > Task :fluttertoast:prepareReleaseArtProfile UP-TO-DATE
227[ ] > Task :image_picker:prepareReleaseArtProfile UP-TO-DATE
228[ ] > Task :package_info_plus:prepareReleaseArtProfile UP-TO-DATE
229[ ] > Task :path_provider_android:prepareReleaseArtProfile UP-TO-DATE
230[ ] > Task :permission_handler:prepareReleaseArtProfile UP-TO-DATE
231[ ] > Task :share_plus:prepareReleaseArtProfile UP-TO-DATE
232[ ] > Task :shared_preferences_android:prepareReleaseArtProfile UP-TO-DATE
233[ ] > Task :url_launcher_android:prepareReleaseArtProfile UP-TO-DATE
234[ ] > Task :webview_flutter_android:prepareReleaseArtProfile UP-TO-DATE
235[ ] > Task :app:mergeReleaseArtProfile UP-TO-DATE
236[ ] > Task :app:compileReleaseArtProfile UP-TO-DATE
237[ ] > Task :app:collectReleaseDependencies UP-TO-DATE
238[ ] > Task :app:configureReleaseDependencies UP-TO-DATE
239[ ] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
240[ ] > Task :app:parseReleaseIntegrityConfig UP-TO-DATE
241[ ] > Task :app:writeReleaseAppMetadata UP-TO-DATE
242[ ] > Task :app:validateSigningRelease UP-TO-DATE
243[+3397 ms] > Task :app:packageReleaseBundle
244[+4398 ms] > Task :app:shrinkBundleReleaseResources
245[+5699 ms] > Task :app:signReleaseBundle
246[ ] > Task :app:produceReleaseBundleIdeListingFile
247[ ] > Task :app:createReleaseBundleListingFileRedirect
248[ ] > Task :app:bundleRelease
249[ +96 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
250[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
251[ ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
252[ ] BUILD SUCCESSFUL in 36s
253[ ] 375 actionable tasks: 11 executed, 364 up-to-date
254[ +397 ms] Running Gradle task 'bundleRelease'... (completed in 37.5s)
255[ +30 ms] ✓ Built build/app/outputs/bundle/release/app-release.aab (68.2MB).
256[ +5 ms] "flutter appbundle" took 39,072ms.
257[ +235 ms] ensureAnalyticsSent: 224ms
258[ +5 ms] Running shutdown hooks
259[ +1 ms] Shutdown hooks complete
260[ +3 ms] exiting with code 0
261
262com.android.tools.build.gradle
263com.android.tools.build.libraries
264com.android.tools.build.obfuscation
265com.android.tools.build.debugsymbols
266com.android.tools.build.libraries
267com.android.tools.build.obfuscation
268buildscript {
269 ...
270 dependencies {
271 classpath 'com.android.tools.build:gradle:4.1.3'
272 ...
273 }
274}
275android {
276 ...
277 packagingOptions {
278 dex {
279 useLegacyPackaging true
280 }
281 jniLibs {
282 useLegacyPackaging true
283 }
284 }
285}
286
QUESTION
The function pointer is changing its own address
Asked 2022-Feb-17 at 07:53I am first time using function pointers and ran into a weird problem. I am writing a code for STM32G4xx. The main idea is to transmit and receive data through LPUART. I have implemented simple FSM to handle TX and RX. LPUART configured in DMA interrupt mode. I have typedef the function pointer and declared the three function pointer variables (ISR handles) in main.h file as follow:
1#ifndef __MAIN_H
2#define __MAIN_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7/* USER CODE BEGIN ET */
8typedef void (*_func_clbck)(void);
9/* USER CODE END ET */
10 _func_clbck lpuart_tx_tc_isr_clback;
11//_func_clbck lpuart_rx_rne_isr_clback;
12 _func_clbck lpuart_dma_tx_tc_isr_clback;
13 _func_clbck lpuart_dma_rx_tc_isr_clback;
14
15/* USER CODE END Private defines */
16
17#ifdef __cplusplus
18}
19#endif
20
21#endif /* __MAIN_H */
22
The definition of the function pointer is in function MX_LPUART1_UART_Init()
in the main.c file.
1#ifndef __MAIN_H
2#define __MAIN_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7/* USER CODE BEGIN ET */
8typedef void (*_func_clbck)(void);
9/* USER CODE END ET */
10 _func_clbck lpuart_tx_tc_isr_clback;
11//_func_clbck lpuart_rx_rne_isr_clback;
12 _func_clbck lpuart_dma_tx_tc_isr_clback;
13 _func_clbck lpuart_dma_rx_tc_isr_clback;
14
15/* USER CODE END Private defines */
16
17#ifdef __cplusplus
18}
19#endif
20
21#endif /* __MAIN_H */
22#include "main.h"
23int main(void)
24{
25 /* USER CODE BEGIN 1 */
26
27 /* USER CODE END 1 */
28
29 /* MCU Configuration--------------------------------------------------------*/
30
31 /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
32
33 LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_SYSCFG);
34 LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
35
36 NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
37
38 /* System interrupt init*/
39 /* SysTick_IRQn interrupt configuration */
40 NVIC_SetPriority(SysTick_IRQn, NVIC_EncodePriority(NVIC_GetPriorityGrouping(),1, 0));
41
42 /** Configure the internal voltage reference buffer voltage scale
43 */
44 LL_VREFBUF_SetVoltageScaling(LL_VREFBUF_VOLTAGE_SCALE1);
45 /** Enable the Internal Voltage Reference buffer
46 */
47 LL_VREFBUF_Enable();
48 /** Configure the internal voltage reference buffer high impedance mode
49 */
50 LL_VREFBUF_DisableHIZ();
51 /** Disable the internal Pull-Up in Dead Battery pins of UCPD peripheral
52 */
53 LL_PWR_DisableUCPDDeadBattery();
54
55 /* USER CODE BEGIN Init */
56
57 /* USER CODE END Init */
58
59 /* Configure the system clock */
60 SystemClock_Config();
61
62 /* USER CODE BEGIN SysInit */
63
64 /* USER CODE END SysInit */
65
66 /* Initialize all configured peripherals */
67 MX_GPIO_Init();
68 MX_DMA_Init();
69 MX_LPUART1_UART_Init();
70 MX_RTC_Init();
71 /* USER CODE BEGIN 2 */
72#ifdef LPUART_TEST
73 lpuart_init_test();
74#endif
75 /* USER CODE END 2 */
76
77 /* Infinite loop */
78 /* USER CODE BEGIN WHILE */
79 LL_GPIO_ResetOutputPin(GPIOC,LL_GPIO_PIN_6);
80 //LL_GPIO_SetOutputPin(GPIOC,LL_GPIO_PIN_6);
81 LL_mDelay(1);
82 uint8_t buf[9] ={'a','d','v',' ','l','o','w','\r','\n'};
83 //uint8_t buf[9] ={1,2,3,4,5,6,7,8,9};
84
85#ifdef LPUART_TEST
86 uint16_t len_test[19] = {0,16,17,65535, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
87 for(uint16_t i = 0 ; i<19 ; i++){
88 set_len_rx_dma_buff(len_test[i]);
89 lpuart_rx_test();
90 }
91#endif
92static uint8_t once = 1;
93 while (1)
94 {
95 lpuart_task();
96 //delay_ms_DWT(1);
97 /*if(once){
98 once = 0;
99 lpuart_start_tx(buf, 9);
100 LL_mDelay(100);
101 }*/
102
103 if(1){
104 //lpuart_start_tx(buf, 9);
105 if(!lpuart_isTxBusy()){
106 lpuart_start_tx(buf, 9);
107 delay_ms_DWT(1);
108 if(!lpuart_isRxBusy()){
109 rxOldIndex += rxIndex;
110 if(rxOldIndex > 255){
111 rxOldIndex = 0;
112 rxIndex = 0;
113 }
114 rxIndex = RingBuffer_available(&lpuart_RX_ring_buff);
115 for(i = rxOldIndex ; i < (rxIndex+rxOldIndex) ; i++ ){
116 rxBuff[i] = RingBuffer_readMeas(&lpuart_RX_ring_buff);
117 }
118 }
119 }
120 }
121 //}
122 }
123 /* USER CODE END WHILE */
124
125 /* USER CODE BEGIN 3 */
126
127 /* USER CODE END 3 */
128}
129static void MX_LPUART1_UART_Init(void)
130{
131
132 /* USER CODE BEGIN LPUART1_Init 0 */
133
134 /* USER CODE END LPUART1_Init 0 */
135
136 LL_LPUART_InitTypeDef LPUART_InitStruct = {0};
137
138 LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
139
140 /* Peripheral clock enable */
141 LL_APB1_GRP2_EnableClock(LL_APB1_GRP2_PERIPH_LPUART1);
142
143 LL_AHB2_GRP1_EnableClock(LL_AHB2_GRP1_PERIPH_GPIOB);
144 /**LPUART1 GPIO Configuration
145 PB10 ------> LPUART1_RX
146 PB11 ------> LPUART1_TX
147 */
148 GPIO_InitStruct.Pin = LL_GPIO_PIN_10;
149 GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
150 GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
151 GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
152 GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
153 GPIO_InitStruct.Alternate = LL_GPIO_AF_8;
154 LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
155
156 GPIO_InitStruct.Pin = LL_GPIO_PIN_11;
157 GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
158 GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
159 GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
160 GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
161 GPIO_InitStruct.Alternate = LL_GPIO_AF_8;
162 LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
163
164 /* LPUART1 DMA Init */
165
166 /* LPUART1_TX Init */
167 LL_DMA_SetPeriphRequest(DMA1, LL_DMA_CHANNEL_1, LL_DMAMUX_REQ_LPUART1_TX);
168
169 LL_DMA_SetDataTransferDirection(DMA1, LL_DMA_CHANNEL_1, LL_DMA_DIRECTION_MEMORY_TO_PERIPH);
170
171 LL_DMA_SetChannelPriorityLevel(DMA1, LL_DMA_CHANNEL_1, LL_DMA_PRIORITY_HIGH);
172
173 LL_DMA_SetMode(DMA1, LL_DMA_CHANNEL_1, LL_DMA_MODE_NORMAL);
174
175 LL_DMA_SetPeriphIncMode(DMA1, LL_DMA_CHANNEL_1, LL_DMA_PERIPH_NOINCREMENT);
176
177 LL_DMA_SetMemoryIncMode(DMA1, LL_DMA_CHANNEL_1, LL_DMA_MEMORY_INCREMENT);
178
179 LL_DMA_SetPeriphSize(DMA1, LL_DMA_CHANNEL_1, LL_DMA_PDATAALIGN_BYTE);
180
181 LL_DMA_SetMemorySize(DMA1, LL_DMA_CHANNEL_1, LL_DMA_MDATAALIGN_BYTE);
182
183 /* LPUART1_RX Init */
184 LL_DMA_SetPeriphRequest(DMA1, LL_DMA_CHANNEL_2, LL_DMAMUX_REQ_LPUART1_RX);
185
186 LL_DMA_SetDataTransferDirection(DMA1, LL_DMA_CHANNEL_2, LL_DMA_DIRECTION_PERIPH_TO_MEMORY);
187
188 LL_DMA_SetChannelPriorityLevel(DMA1, LL_DMA_CHANNEL_2, LL_DMA_PRIORITY_HIGH);
189
190 LL_DMA_SetMode(DMA1, LL_DMA_CHANNEL_2, LL_DMA_MODE_CIRCULAR);
191
192 LL_DMA_SetPeriphIncMode(DMA1, LL_DMA_CHANNEL_2, LL_DMA_PERIPH_NOINCREMENT);
193
194 LL_DMA_SetMemoryIncMode(DMA1, LL_DMA_CHANNEL_2, LL_DMA_MEMORY_INCREMENT);
195
196 LL_DMA_SetPeriphSize(DMA1, LL_DMA_CHANNEL_2, LL_DMA_PDATAALIGN_BYTE);
197
198 LL_DMA_SetMemorySize(DMA1, LL_DMA_CHANNEL_2, LL_DMA_MDATAALIGN_BYTE);
199
200 /* LPUART1 interrupt Init */
201 NVIC_SetPriority(LPUART1_IRQn, NVIC_EncodePriority(NVIC_GetPriorityGrouping(),0, 0));
202 NVIC_EnableIRQ(LPUART1_IRQn);
203
204 /* USER CODE BEGIN LPUART1_Init 1 */
205
206 /* USER CODE END LPUART1_Init 1 */
207 LPUART_InitStruct.PrescalerValue = LL_LPUART_PRESCALER_DIV1;
208 LPUART_InitStruct.BaudRate = 9600;
209 LPUART_InitStruct.DataWidth = LL_LPUART_DATAWIDTH_8B;
210 LPUART_InitStruct.StopBits = LL_LPUART_STOPBITS_1;
211 LPUART_InitStruct.Parity = LL_LPUART_PARITY_NONE;
212 LPUART_InitStruct.TransferDirection = LL_LPUART_DIRECTION_TX_RX;
213 LPUART_InitStruct.HardwareFlowControl = LL_LPUART_HWCONTROL_NONE;
214 LL_LPUART_Init(LPUART1, &LPUART_InitStruct);
215 LL_LPUART_SetTXFIFOThreshold(LPUART1, LL_LPUART_FIFOTHRESHOLD_1_8);
216 LL_LPUART_SetRXFIFOThreshold(LPUART1, LL_LPUART_FIFOTHRESHOLD_1_8);
217 LL_LPUART_DisableFIFO(LPUART1);
218 LL_LPUART_SetTXRXSwap(LPUART1, LL_LPUART_TXRX_SWAPPED);
219// LL_LPUART_EnableOverrunDetect(LPUART1);
220 // LL_LPUART_EnableDMADeactOnRxErr(LPUART1);
221
222 /* USER CODE BEGIN WKUPType LPUART1 */
223
224 /* USER CODE END WKUPType LPUART1 */
225
226 LL_LPUART_Enable(LPUART1);
227
228 /* Polling LPUART1 initialisation */
229 while((!(LL_LPUART_IsActiveFlag_TEACK(LPUART1))) || (!(LL_LPUART_IsActiveFlag_REACK(LPUART1))))
230 {
231 }
232 /* USER CODE BEGIN LPUART1_Init 2 */
233
234 //LL_LPUART_EnableIT_TXE_TXFNF(LPUART1);
235 /* Enable TC interrupts for RX */
236
237
238 /* Enable HT & TC interrupts for TX */
239 // LL_DMA_EnableIT_TC(DMA1, LL_DMA_CHANNEL_1);
240
241 lpuart_tx_tc_isr_clback = LPUART_TX_TC_ISR_CALLBACK;
242 //lpuart_rx_rne_isr_clback = &LPUART_RX_RXNE_ISR_CALLBACK;
243 lpuart_dma_tx_tc_isr_clback = LPUART_DMA_TX_TC_CALLBACK;
244 lpuart_dma_rx_tc_isr_clback = LPUART_DMA_RX_TC_CALLBACK;
245
246 //LL_LPUART_EnableDirectionRx(LPUART1);
247 LL_LPUART_EnableDirectionTx(LPUART1);
248 //LL_LPUART_EnableIT_RXNE_RXFNE(LPUART1);
249
250 /* USER CODE END LPUART1_Init 2 */
251
252}
253
In main function, in while loop, I am calling the lpuart_start_tx(buf, 9);
function just after the if(!lpuart_isTxBusy())
statement. This causes change of the address of the function pointer lpuart_dma_rx_tc_isr_clback
but other two function pointers don't change its addresses and work fine. When an intrrupt raised on the reception of the data, it tried to execute lpuart_dma_rx_tc_isr_clback
which causes the hard fault because its address was modified. Note that if I call lpuart_start_tx(buf, 9);
before if(!lpuart_isTxBusy())
, then everything works fine. I don't understand what could be an issue.
I have checked the CFSR
register and every time different flag was raised. I have noticed that out of three flags, such as IBUSERR
, IACCVOIL
, and INVSTATE
, one of them was raised. I have not included the full main.c file.
LPUART FSM implementation is as follow: lpuart.h file
1#ifndef __MAIN_H
2#define __MAIN_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7/* USER CODE BEGIN ET */
8typedef void (*_func_clbck)(void);
9/* USER CODE END ET */
10 _func_clbck lpuart_tx_tc_isr_clback;
11//_func_clbck lpuart_rx_rne_isr_clback;
12 _func_clbck lpuart_dma_tx_tc_isr_clback;
13 _func_clbck lpuart_dma_rx_tc_isr_clback;
14
15/* USER CODE END Private defines */
16
17#ifdef __cplusplus
18}
19#endif
20
21#endif /* __MAIN_H */
22#include "main.h"
23int main(void)
24{
25 /* USER CODE BEGIN 1 */
26
27 /* USER CODE END 1 */
28
29 /* MCU Configuration--------------------------------------------------------*/
30
31 /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
32
33 LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_SYSCFG);
34 LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
35
36 NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
37
38 /* System interrupt init*/
39 /* SysTick_IRQn interrupt configuration */
40 NVIC_SetPriority(SysTick_IRQn, NVIC_EncodePriority(NVIC_GetPriorityGrouping(),1, 0));
41
42 /** Configure the internal voltage reference buffer voltage scale
43 */
44 LL_VREFBUF_SetVoltageScaling(LL_VREFBUF_VOLTAGE_SCALE1);
45 /** Enable the Internal Voltage Reference buffer
46 */
47 LL_VREFBUF_Enable();
48 /** Configure the internal voltage reference buffer high impedance mode
49 */
50 LL_VREFBUF_DisableHIZ();
51 /** Disable the internal Pull-Up in Dead Battery pins of UCPD peripheral
52 */
53 LL_PWR_DisableUCPDDeadBattery();
54
55 /* USER CODE BEGIN Init */
56
57 /* USER CODE END Init */
58
59 /* Configure the system clock */
60 SystemClock_Config();
61
62 /* USER CODE BEGIN SysInit */
63
64 /* USER CODE END SysInit */
65
66 /* Initialize all configured peripherals */
67 MX_GPIO_Init();
68 MX_DMA_Init();
69 MX_LPUART1_UART_Init();
70 MX_RTC_Init();
71 /* USER CODE BEGIN 2 */
72#ifdef LPUART_TEST
73 lpuart_init_test();
74#endif
75 /* USER CODE END 2 */
76
77 /* Infinite loop */
78 /* USER CODE BEGIN WHILE */
79 LL_GPIO_ResetOutputPin(GPIOC,LL_GPIO_PIN_6);
80 //LL_GPIO_SetOutputPin(GPIOC,LL_GPIO_PIN_6);
81 LL_mDelay(1);
82 uint8_t buf[9] ={'a','d','v',' ','l','o','w','\r','\n'};
83 //uint8_t buf[9] ={1,2,3,4,5,6,7,8,9};
84
85#ifdef LPUART_TEST
86 uint16_t len_test[19] = {0,16,17,65535, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};