lollipopkit / lollipopkit/flutter_gpt_box
can not build android release
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 390
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
my log
Running Gradle task 'assembleRelease'... 166.7s
Warning: Flutter support for your project's Kotlin version (1.8.10) will soon be dropped. Please upgrade your Kotlin version to a version of at least 2.1.0 soon.
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.
Potential fix: Your project's KGP version is typically defined in the plugins block of the `settings.gradle` file (/home/runner/work/flutter_gpt_box/flutter_gpt_box/android/settings.gradle), by a plugin with the id of org.jetbrains.kotlin.android.
If you don't see a plugins block, your project was likely created with an older template version, in which case it is most likely defined in the top-level build.gradle file (/home/runner/work/flutter_gpt_box/flutter_gpt_box/android/build.gradle) by the ext.kotlin_version property.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app_links'.
> Library projects cannot set applicationIdSuffix. applicationIdSuffix is set to '.debug' in build type 'profile'.
* 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 2m 46s
Gradle task assembleRelease failed with exit code 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with android/settings.gradle and android/build.gradle, then inspect the :app_links configuration implicated by the assembleRelease failure. Reproduce the release build and use the logged applicationIdSuffix error as the initial checkpoint. Done means the assembleRelease task completes without that configuration failure; the Kotlin version warning is also present for separate verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, kotlin
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100