-
Notifications
You must be signed in to change notification settings - Fork 121
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
fix: Unable to generate release aar (shorebird release aar --release-version 1.0.0+1) #2091
Comments
@bryanoltman @erickzanardo Can you please help me on this? |
Does |
aftr running flutter build aar got this error: Running Gradle task 'assembleAarDebug'... 7.4s You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugin FAILURE: Build failed with an exception. Where: What went wrong: Try: Get more help at https://help.gradle.org/ BUILD FAILED in 7s Gradle task assembleAarDebug failed with exit code 1. |
After some discussion on Discord, @vineetpal88 mentioned that they have integrated Flutter into their Android app using the "Module source code" method mentioned in https://docs.flutter.dev/add-to-app/android/project-setup#integrate-your-flutter-module. Shorebird does not yet support this mode of hybrid Android app. |
@bryanoltman should we close this issue in favor of a new one specific about adding this mode that we don't support? |
@erickzanardo yeah, I think that'd be best |
Closing this in favor of #2168 |
App ID: com.shout.dating
I am implementing a shorebird for hybrid android app. I imported flutter module in my android app.
I open PowerShell and go to flutter module and run this command (shorebird release aar --release-version 1.0.0+1) but this command give me error:
PS D:\shoutproject\DatingFlutterCode3Shore\datingapp\shout2> shorebird release aar --release-version 1.0.28+29
✓ Fetching apps (0.6s)
⠸ Building aar with Flutter 3.19.6 (4b22a31bd9)... (16.4s)Failed to build aar: Instance of 'ArtifactBuildException'
The text was updated successfully, but these errors were encountered: