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

[BUG]flutter3.24版本安卓打包报错,请把fijkplayer的compileSdkVersion改成34 #634

Open
yuxingmin opened this issue Aug 26, 2024 · 2 comments

Comments

@yuxingmin
Copy link

Describe the bug
A clear and concise description of what the bug is.
清晰描述你遇到了什么问题。

What attempts have you made to resolve this error ?
为了解决这个问题你有什么尝试?
有问题请自己先努力尝试解决。
尤其是一些已经在错误输出中给出了可能的解决办法的问题

To Reproduce
问题的复现步骤
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
描述清楚你希望的运行结果是什么

Screenshots
If applicable, add screenshots to help explain your problem.
如果截图有助于对此问题的理解,一定要附上截图

fijkplayer version
Which version you used.
用了什么版本的 fijkplayer

Smartphone (please complete the following information):
什么手机设备和系统版本?

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]

Additional context
Add any other context about the problem here.
其他有关此问题的内容

@FlowerMiLeLe
Copy link

FlowerMiLeLe commented Sep 29, 2024

这个问题目前可以使用下面的方法解决:

subprojects {
    afterEvaluate { project ->
        if (project.plugins.hasPlugin("com.android.application") ||
                project.plugins.hasPlugin("com.android.library")) {
            project.android {
                compileSdkVersion 34
                buildToolsVersion "34.0.0"
            }
        }
    }
}

具体位置,如果帮到你,叫我一声活菩萨:
Snip20240929_10

@2013108827
Copy link

这个问题目前可以使用下面的方法解决:

subprojects {
    afterEvaluate { project ->
        if (project.plugins.hasPlugin("com.android.application") ||
                project.plugins.hasPlugin("com.android.library")) {
            project.android {
                compileSdkVersion 34
                buildToolsVersion "34.0.0"
            }
        }
    }
}

具体位置,如果帮到你,叫我一声活菩萨: Snip20240929_10

真活菩萨,终于能打包了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@yuxingmin @2013108827 @FlowerMiLeLe and others