Comments (5)
I have now temporary replaced your version of flutter with my modification:
I leave this to others, as it might be helpful.
dependencies:
....
flutter_sodium:
git:
url: git://github.com/chickahoona/flutter_sodium.git
ref: upgrade-to-compilesdk-28
....
from flutter_sodium.
My Flutter 1.12.13+hotfix.5 • channel stable •
from flutter_sodium.
I hope that I am not hijacking this thread, but I believe that I have a "related" issue.
I use flutter_sodium myself and now with the new flutter version (Same as silencezwm "1.12.13+hotfix.5") I have a problem to build my APK:
2769 FAILURE: Build failed with an exception.
2770 * What went wrong:
2771 Execution failed for task ':flutter_sodium:verifyReleaseResources'.
2772 > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
2773 /builds/app/build/flutter_sodium/intermediates/res/merged/release/values/values.xml:236: error: resource android:attr/fontVariationSettings not found.
2774 /builds/app/build/flutter_sodium/intermediates/res/merged/release/values/values.xml:237: error: resource android:attr/ttcIndex not found.
2775 error: failed linking references.
2776 * Try:
2777 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
2778 * Get more help at https://help.gradle.org
2779 BUILD FAILED in 6m 58s
2780 Running Gradle task 'assembleRelease'... 420.2s (!)
2781 Gradle task assembleRelease failed with exit code 1
I have investigated and found this: flutter/flutter#27226
Long story short. All plugins have to update compileSdkVersion to 28.
from flutter_sodium.
I created here a PR https://github.com/chickahoona/flutter_sodium/tree/upgrade-to-compilesdk-28
from flutter_sodium.
This is no longer an issue with the current FFI implementation
from flutter_sodium.
Related Issues (20)
- Invalid plugin specification flutter_sodium. HOT 1
- crypto_secretstream_xchacha20poly1305_pull failed with -1 HOT 1
- Fix .gitignore to exclude source files with local dev info
- Extend library documentation
- Inconsistencies with cryptoPwhashStr across libraries HOT 4
- READ_PHONE_STATE permission implicitly added on android HOT 5
- Plugin with id 'com.android.library' not found. HOT 8
- Migrate to null safety HOT 3
- Cannot use libsodium HOT 7
- Support for Flutter web
- Support for FFI 1.0 HOT 5
- Cover the entire libsodium API HOT 2
- Support for Desktop Platforms (Linux, Windows, macOS) HOT 8
- libsodium.a linker error HOT 4
- Argon2id in sensitive mode gives SodiumException crypto_pwhash failed with -1 HOT 2
- Build issue when using Flutter 2.5.0 HOT 3
- Update pub.dev release HOT 2
- Key derivation using XOR (^) instead of power function HOT 2
- Is this not maintained anymore?
- Upgrade to ffi ^2.0.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_sodium.