Skip to content

Instantly share code, notes, and snippets.

@DreadBoy
Created December 27, 2020 21:40
Show Gist options
  • Save DreadBoy/4001cd3f8e3731a0a5b1ac53a8077ff1 to your computer and use it in GitHub Desktop.
Save DreadBoy/4001cd3f8e3731a0a5b1ac53a8077ff1 to your computer and use it in GitHub Desktop.
$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
C:\Users\Dread\Github\pebble\build\app\tmp\kapt3\stubs\release\io\rebble\cobble\di\AppComponent.java:8: error: [Dagger/DependencyCycle] Found a d
ependency cycle:
public abstract interface AppComponent {
^
error.NonExistentClass is injected at
io.rebble.cobble.di.LibPebbleModule.Companion.provideBlobDbService(protocolHandler)
error.NonExistentClass is requested at
io.rebble.cobble.di.AppComponent.createNotificationService()
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kaptReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
> java.lang.reflect.InvocationTargetException (no error message)
* 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 insigh
ts.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 7.7s
Gradle task assembleRelease failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment