Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

failed build apk #4

Open
rustzz opened this issue Sep 5, 2022 · 0 comments
Open

failed build apk #4

rustzz opened this issue Sep 5, 2022 · 0 comments

Comments

@rustzz
Copy link

rustzz commented Sep 5, 2022

Help please

Note: /tmp/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-5.1.2/android/src/main/java/com/it_nomads/fluttersecurestorage/ciphers/RSACipher18Implementation.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Expected to find fonts for (packages/cupertino_icons/CupertinoIcons, MaterialIcons, packages/Ionicons/Ionicons, packages/flutter_feather_icons/FeatherIcons), but found (MaterialIcons, packages/cupertino_icons/CupertinoIcons, packages/flutter_feather_icons/FeatherIcons). This usually means you are referring to font families in an IconData class but not including them in the assets section of your pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':autofill_service:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:3:5-94: AAPT: error: resource android:color/system_neutral1_1000 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:4:5-94: AAPT: error: resource android:color/system_neutral1_900 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:5:5-93: AAPT: error: resource android:color/system_neutral1_0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:6:5-94: AAPT: error: resource android:color/system_neutral1_800 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:7:5-94: AAPT: error: resource android:color/system_neutral1_700 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:8:5-94: AAPT: error: resource android:color/system_neutral1_600 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:9:5-94: AAPT: error: resource android:color/system_neutral1_[50](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:50)0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb718[58](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:58)ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:10:5-94: AAPT: error: resource android:color/system_neutral1_400 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:11:5-94: AAPT: error: resource android:color/system_neutral1_300 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:12:5-94: AAPT: error: resource android:color/system_neutral1_200 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:13:5-94: AAPT: error: resource android:color/system_neutral1_100 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:14:5-93: AAPT: error: resource android:color/system_neutral1_50 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:15:5-93: AAPT: error: resource android:color/system_neutral1_10 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:16:5-102: AAPT: error: resource android:color/system_neutral2_1000 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:17:5-102: AAPT: error: resource android:color/system_neutral2_900 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:18:5-101: AAPT: error: resource android:color/system_neutral2_0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:19:5-102: AAPT: error: resource android:color/system_neutral2_800 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:20:5-102: AAPT: error: resource android:color/system_neutral2_700 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:21:5-102: AAPT: error: resource android:color/system_neutral2_[60](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:60)0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b327[70](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:70)f183f2e9afb[71](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:71)858ba[75](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:75)b/transformed/material-1.6.1/res/values-v31/values-v31.xml:22:5-102: AAPT: error: resource android:color/system_neutral2_500 not found.
* 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 5m 23s
Running Gradle task 'assembleRelease'...                          324.2s
Gradle task assembleRelease failed with exit code 1
Error: Process completed with exit code 1.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 33
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        applicationId "ru.rustzz.passwd"
        minSdkVersion 18
        targetSdkVersion 33
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

    buildTypes {
        release {
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
name: passwd
description: A new implementation of passwdapp/passwd
publish_to: 'none'
version: 1.0.0+1

environment:
  sdk: ">=2.17.6 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  window_size:
    git:
      url: https://github.com/google/flutter-desktop-embedding.git
      path: plugins/window_size

  autofill_service:
    git:
      url: https://github.com/authpass/autofill_service.git

  cupertino_icons: ^1.0.2
  flutter_bloc: ^8.1.1
  pinput: ^2.2.12
  shared_preferences: ^2.0.15
  crypto: ^3.0.2
  google_fonts: ^3.0.1
  json_annotation: ^4.6.0
  build_runner: ^2.2.0
  json_serializable: ^6.3.1
  string_validator: ^0.3.0
  random_password_generator: ^0.2.1
  flutter_launcher_icons: ^0.10.0
  flutter_localizations:
    sdk: flutter
  logger: ^1.1.0
  intl: ^0.17.0
  flutter_feather_icons: ^2.0.0+1
  ionicons: ^0.2.1
  flutter_secure_storage: ^5.1.2
  go_router: ^4.3.0

dev_dependencies:
  flutter_lints: ^2.0.0

flutter_icons:
  image_path: "assets/icons/icon.png"
  android: true
  ios: true
  web:
    generate: true
    image_path: "assets/icons/icon.png"
    background_color: "#121212"
  windows:
    generate: true
    image_path: "assets/icons/icon.png"
  macos:
    generate: true
    image_path: "assets/icons/icon.png"
  remove_alpha_ios: true
  adaptive_icon_background: "assets/images/load-background.png"
  adaptive_icon_foreground: "assets/images/load-foreground.png"

flutter:
  uses-material-design: true
  generate: true
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant