Skip to content
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

flutter build apk报错 #53

Closed
oliwenfly opened this issue Dec 14, 2019 · 3 comments
Closed

flutter build apk报错 #53

oliwenfly opened this issue Dec 14, 2019 · 3 comments

Comments

@oliwenfly
Copy link

主要配置如下:
• Flutter version 1.12.13 at /Users/oliwen/sdk/flutter
classpath 'com.android.tools.build:gradle:3.2.1'
compileSdkVersion 29

debug都正常,build就报错,很奇怪,求解决

报错如下:

  • What went wrong:
    Execution failed for task ':agora_rtc_engine:verifyReleaseResources'.

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /Users/oliwen/77/77dj_app/build/agora_rtc_engine/intermediates/res/merged/release/values/values.xml:186: error: resource android:attr/fontVariationSettings not found.
/Users/oliwen/77/77dj_app/build/agora_rtc_engine/intermediates/res/merged/release/values/values.xml:187: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Command: /Users/oliwen/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/e6b9d6bb1b14e5a2bc026728f7062fec/aapt2-3.2.1-4818971-osx/aapt2 link -I\

@oliwenfly
Copy link
Author

求官方解答

plutoless added a commit that referenced this issue Dec 20, 2019
upgrade compileSdkVersion and fix #46, #52, #53
@LichKing-2234
Copy link
Contributor

#54 fix it

maxxfrazer pushed a commit to maxxfrazer/Agora-Flutter-SDK that referenced this issue Mar 14, 2022
@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants