-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example can't build apk in flutter 1.12.13 + hotfix.6 #76
Comments
I met the same question |
我正在处理这个问题. |
问题已经解决. 亲可以试一下. |
OK了哦 |
没有迁移androidX就迁移啊,这是什么问题,现在很多插件都是androidx,与时俱进呗, |
@ismanong 我会尽快的. 年底事情太多要做了 |
@hanxu317317 我不是说你 不好意思 我表达不好,我意思提这种问题不太好,因为我用的时候没问题,如果打包提示更新androidX,开发者应该第一时间了解androidX并尝试去更新,而且更新androidx并不是什么坏事,但如果提问题到这里,还得麻烦作者去兼容什么的,这个兼容可要可不要。反而冗余,哈哈。 |
FAILURE: Build failed with an exception.
BUILD FAILED in 1s Finished with error: The plugin city_pickers could not be built due to the issue above. |
I met the same question |
我也遇到这样的问题
BUILD FAILED in 0s |
希望作者早点解决一下吧 我只能flutter SDK 版本回退才能使用这个插件 |
我是在添加 image_picker插件后出现的这个问题,照着这个处理,暂时没有那个问题了: flutter/flutter#27254 (comment) |
The same version with you. I try to update my project to be Androidx, and problem was solved!
|
问题没有解决 |
1 similar comment
问题没有解决 |
我也遇到了这个问题
|
example git:(master) ✗ flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the
steps on https://goo.gl/CP92wY.
FAILURE: Build failed with an exception.
Execution failed for task ':app:processReleaseResources'.
Command: /Users/dengwenhao/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/067c550bab45744a730d55ac6d07bb79/aapt2-3.2.1-4818971-osx/aapt2 link -I
/Users/dengwenhao/Library/Android/sdk/platforms/android-27/android.jar
--manifest\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/merged_manifests/release/processReleaseManifest/merged/armeabi-v7a/AndroidManifest.xml
-o\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/processed_res/release/processReleaseResources/out/resources-armeabi-v7aRelease.ap_
-R\
@/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/incremental/processReleaseResources/resources-list-for-resources-armeabi-v7aRelease.ap_.txt
--auto-add-overlay\
--java\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/generated/not_namespaced_r_class_sources/release/processReleaseResources/r
--proguard\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/proguard-rules/release/aapt_rules.txt
--custom-package\
com.example.citypickersexample\
-0\
apk\
--output-text-symbols\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/symbols/release/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
Output: /Users/dengwenhao/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0.aar/d1e31fc57430ff614027e4e63f629ecb/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationSettings not found.
/Users/dengwenhao/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0.aar/d1e31fc57430ff614027e4e63f629ecb/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: /Users/dengwenhao/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/067c550bab45744a730d55ac6d07bb79/aapt2-3.2.1-4818971-osx/aapt2 link -I
/Users/dengwenhao/Library/Android/sdk/platforms/android-27/android.jar
--manifest\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/merged_manifests/release/processReleaseManifest/merged/armeabi-v7a/AndroidManifest.xml
-o\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/processed_res/release/processReleaseResources/out/resources-armeabi-v7aRelease.ap_
-R\
@/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/incremental/processReleaseResources/resources-list-for-resources-armeabi-v7aRelease.ap_.txt
--auto-add-overlay\
--java\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/generated/not_namespaced_r_class_sources/release/processReleaseResources/r
--proguard\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/proguard-rules/release/aapt_rules.txt
--custom-package\
com.example.citypickersexample\
-0\
apk\
--output-text-symbols\
/Users/dengwenhao/coding/learn/city_pickers/example/build/app/intermediates/symbols/release/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 35s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 37.1s
AndroidX incompatibilities may have caused this build to fail. Please migrate your app to
AndroidX. See https://goo.gl/CP92wY.
Gradle task assembleRelease failed with exit code 1
When the AndroidX used, it is also failed
The text was updated successfully, but these errors were encountered: