bundletool | line tool to manipulate Android App Bundles | Android library

 by   google Java Version: 1.15.0 License: Apache-2.0

kandi X-RAY | bundletool Summary

kandi X-RAY | bundletool Summary

bundletool is a Java library typically used in Telecommunications, Media, Telecom, Mobile, Android applications. bundletool has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

Bundletool is a tool to manipulate Android App Bundles. The Android App Bundle is a new format for publishing Android apps in app distribution stores such as Google Play.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              bundletool has a medium active ecosystem.
              It has 3065 star(s) with 358 fork(s). There are 58 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 38 open issues and 251 have been closed. On average issues are closed in 88 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of bundletool is 1.15.0

            kandi-Quality Quality

              bundletool has 0 bugs and 0 code smells.

            kandi-Security Security

              bundletool has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              bundletool code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              bundletool is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              bundletool releases are available to install and integrate.
              Build file is available. You can build the component from source.
              bundletool saves you 72444 person hours of effort in developing the same functionality from scratch.
              It has 87647 lines of code, 5872 functions and 516 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed bundletool and discovered the below as its top functions. This is intended to give you an instant insight into bundletool implemented functionality, and help decide if they suit your requirements.
            • Merges the given collection of module splits .
            • Converts a glob pattern into a regular expression .
            • Creates a module split .
            • Validates a module file .
            • Extracts signer configuration from a keystore file .
            • Main entry point .
            • Serialize APK splits into a single list of APK splits .
            • Organizes the given list of ModuleSplits to shard and ABI and ABI
            • Gets the suffix for the ABI target .
            • Merges a single shard of a single shard .
            Get all kandi verified functions for this library.

            bundletool Key Features

            No Key Features are available at this moment for bundletool.

            bundletool Examples and Code Snippets

            No Code Snippets are available at this moment for bundletool.

            Community Discussions

            QUESTION

            Could not resolve com.google.guava:guava:30.1-jre - Gradle project sync failed. Basic functionality will not work properly - in kotlin project
            Asked 2022-Feb-14 at 19:47

            It was a project that used to work well in the past, but after updating, the following errors appear.

            ...

            ANSWER

            Answered 2021-Sep-17 at 11:03

            Add mavenCentral() in Build Script

            Source https://stackoverflow.com/questions/69205327

            QUESTION

            bundletool build-bundle error: [BT:1.8.2] Error: Version code not found in manifest
            Asked 2022-Jan-20 at 09:11

            I am trying to turn an apk into aab, decompile with apktool, and build with aapt2 and bundletool (all in command line, without gradle).

            After decompile, aapt2 compile and link looks good, but when I execute build-bundle with bundletool, I got this error. What went wrong? And How can i fix it?

            ...

            ANSWER

            Answered 2022-Jan-20 at 09:11

            I have found a solution to my own problem. I can provide -m flag to decompile code like this:

            Source https://stackoverflow.com/questions/70781362

            QUESTION

            The React Native app installed from apk stuck after initial page
            Asked 2021-Dec-23 at 09:49

            I have generated a .apk file out of React Native 0.66.3 app (RN app) for test distribution by 3rd party distribution channel which only accept .apk format. After downloading to an android phone (API 30), the app is stuck with the registration page after entering user info and didn't go any further (after user enters reg info, the RN app shall route to verification page and send the user info to backend Nodejs server). The RN app is working fine on both emulator (API 27) and running on the same Android phone (API 30, connected with USB cable). The Android Studio used is 2021.3.1. The develop platform is macOS Big Sur.

            I have no clue what is the problem. Here is the steps generating app distributed:

            1. Generate app-release.aab file. Under /android do:

              ...

            ANSWER

            Answered 2021-Dec-17 at 10:56

            This issue occur because you API not working. Solution: First: Check your API Links It must be start with https not with http. Second: Go to the Android Manifest file and add android:usesCleartextTraffic="true" inside the application starting tag. then sync your gradle and check it.

            Source https://stackoverflow.com/questions/70295039

            QUESTION

            assembleRelease task failed when building a Flutter project
            Asked 2021-Nov-14 at 19:23

            Building with sound null safety

            Running Gradle task 'assembleRelease'...

            FAILURE: Build failed with an exception.

            • What went wrong: A problem occurred configuring root project 'android'.

            Could not resolve all artifacts for configuration ':classpath'. Could not find builder-4.1.0.jar (com.android.tools.build:builder:4.1.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/4.1.0/builder-4.1.0.jar Could not find bundletool-0.14.0.jar (com.android.tools.build:bundletool:0.14.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.14.0/bundletool-0.14.0.jar

            • 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 6s Running Gradle task 'assembleRelease'... 10.9s Gradle task assembleRelease failed with exit code 1 Process finished with exit code 1

            ...

            ANSWER

            Answered 2021-Nov-14 at 18:24

            Try to build your project with following three steps:

            1- flutter build apk --debug

            2- flutter build apk --profile

            3- flutter build apk --release

            Source https://stackoverflow.com/questions/69965367

            QUESTION

            Play Asset Delivery asset packs not installing with bundletool
            Asked 2021-Nov-01 at 18:59

            According to https://developer.android.com/guide/playcore/asset-delivery/test it should be possible to locally install and test intall-time asset packs. Unfortunately, this doesn't seem to work at all. I can generate an app bundle with the asset pack (it does contain the asset folder with proper contents). I can also generate apks, as described on that page, which probably also contain the assets. My asset pack is simply called "assets" and I can see two directories in the apks file: asset-slices and splits. asset-slices contains a single assets-master.apk file with the asset pack. splits contains a lot of small apk files with the application itself.

            After running java -jar bundletool.jar install-apks --apks=output.apks I can see the contents of the splits folder being pushed to the emulator, but the asset pack itself is not installed. Can I somehow test PAD locally? As a related question - what is a preferable flow for testing such apps locally, when assets frequently change?

            ...

            ANSWER

            Answered 2021-Nov-01 at 18:59

            To answer my own question - the asset pack was installed, but AssetPackManager was simply unable to resolve any asset path, for unknown reason.

            Source https://stackoverflow.com/questions/69795564

            QUESTION

            Debug APK works fine, APKS from bundle works fine but release bundle does not work properly
            Asked 2021-Oct-01 at 15:07

            I generated and tested a debug .apk on a real device and it works properly.

            Then I generated a debug bundle and extracted with bundletools a debug .apks and installed/tested it on real device and it works fine.

            Then I generated a release bundle and pushed it to Google Play Store as internal release but the app hang when I try to log in.

            There is no bug whatsoever in the code. Only the release bundle does not work properly (hangs). What could be the reason? How to fix this??

            Edit: It appears that AJAX calls to https do not work anymore in release builds for unknow reasons. The SSL cert is generated with Let's Encrypt

            ...

            ANSWER

            Answered 2021-Oct-01 at 12:41

            Debug build and release builds are different in terms of

            1. Proguard : It enabled in release build. so if you are using reflection api or any library that may be uses reflection. like if you are using GSON library then you need to exclude your json response from proguard or add the annotation @SerlializeName("key") on Response fields. Update proguard rules for all the libraries you are using in your ProGuard configuration.

            2. BuildConfig.DEBUG : Check Is there any piece of code have some logic with BuildConfig.DEBUG check and it breaks when BuildConfig.DEBUG is false..

            Source https://stackoverflow.com/questions/69405840

            QUESTION

            flutter build failed due to new gradle version problem
            Asked 2021-Aug-19 at 14:50

            Launching lib\main.dart on M2101K7AG in debug mode... Running Gradle task 'assembleDebug'...

            FAILURE: Build failed with an exception.

            • What went wrong: A problem occurred configuring root project 'android'.

            Could not resolve all artifacts for configuration ':classpath'. Could not download bundletool-0.14.0.jar (com.android.tools.build:bundletool:0.14.0) > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.14.0/bundletool-0.14.0.jar'. > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.14.0/bundletool-0.14.0.jar'. > No such host is known (dl.google.com) Could not download kotlin-compiler-embeddable-1.3.50.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50) > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.jar'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.jar'. > jcenter.bintray.com Could not download fastutil-7.2.0.jar (it.unimi.dsi:fastutil:7.2.0) > Could not get resource 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar'. > Could not GET 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar'. > No such host is known (jcenter.bintray.com)

            • 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 14s Exception: Gradle task assembleDebug failed with exit code 1

            ...

            ANSWER

            Answered 2021-Aug-19 at 14:50

            We are facing this problem from latest android studio..

            android-studio-2020.3.1.23

            5 Steps:

            1. Set the JDK version to Embedded JDK

            For MAC:

            Android Studio > Preferences... > Build, Execution, Deployment > Build Tools > Gradle Under Gradle JDK

            choose the Embedded JDK option. Click OK.

            For windows:

            select File > Settings... > Build, Execution, Deployment > Build Tools > Gradle Under Gradle JDK

            choose the Embedded JDK option.

            1. config jvm option Since version 9, the Java compiler can be configured to produce bytecode for an older Java version while making sure the code does not use any APIs from a more recent version. Gradle now supports this release flag on CompileOptions directly for Java compilation. This option takes precedence over the properties described below. Due to a bug in Java 9 that was fixed in Java 10, Gradle cannot leverage the release flag when compiling with Java 9.

            2. click on Project Structure (folder with 3 dot icon next to Stop icon). Project Structure --> Project Settings --> Project

            under Project SDK: Select Android API 30 Platform

            click Apply --> OK

            1. click on Project Structure (folder with 3 dot icon next to Stop icon). Project Structure --> Project Settings --> Modules

            click + icon --> Apply --> OK

            1. Use latest Gradle

            This should solve..

            Source https://stackoverflow.com/questions/68849351

            QUESTION

            Gradle task assembleDebug failed when debugging with USB-cable
            Asked 2021-Aug-08 at 16:42

            I've just installed android studio and vscode to start learning flutter. so when I try to run the Demo app on (chrome) the app works perfectly fine, but when trying to debug on my phone with usb-cable it fails. I can't use emulator because I have an old pc

            tried flutter run -v and it gave me this:

            ...

            ANSWER

            Answered 2021-Aug-08 at 16:42

            For some reason, it cannot get the .jar files from the repository. Let's check the access to the resource, try one of the links, for example: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.1.0/gradle-4.1.0.jar If the download has started, then the resource is available.

            Try this:

            1.Open settings in studio and find this: Repository settings. You should have this all urls here

            2.Edit gradle file:

            Source https://stackoverflow.com/questions/68686906

            QUESTION

            running flutter project for first time
            Asked 2021-Apr-03 at 13:19

            Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'...

            FAILURE: Build failed with an exception.

            • What went wrong: A problem occurred configuring root project 'android'.

            Could not resolve all artifacts for configuration ':classpath'. Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:aaptcompiler:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.lint:lint-gradle-api:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:gradle-api:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.build:builder-model:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.build:manifest-merger:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.analytics-library:tracker:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.lint:lint-gradle-api:27.1.0 > com.android.tools.lint:lint-model:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 > com.android.tools:repository:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > com.android.tools.analytics-library:shared:27.1.0 > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72. > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.72/kotlin-stdlib-jdk8-1.3.72.pom'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.72/kotlin-stdlib-jdk8-1.3.72.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve org.ow2.asm:asm:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-analysis:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve org.ow2.asm:asm-analysis:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-analysis/7.0/asm-analysis-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-analysis/7.0/asm-analysis-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-commons:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve org.ow2.asm:asm-commons:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-util:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve org.ow2.asm:asm-util:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve net.sf.jopt-simple:jopt-simple:4.9. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve net.sf.jopt-simple:jopt-simple:4.9. > Could not get resource 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'. > Could not GET 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'. Received status code 403 from server: Forbidden Could not resolve net.sf.proguard:proguard-gradle:6.0.3. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve net.sf.proguard:proguard-gradle:6.0.3. > Could not get resource 'https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom'. > Could not GET 'https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom'. Received status code 403 from server: Forbidden Could not resolve com.squareup:javapoet:1.10.0. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 > Could not resolve com.squareup:javapoet:1.10.0. > Could not get resource 'https://jcenter.bintray.com/com/squareup/javapoet/1.10.0/javapoet-1.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/squareup/javapoet/1.10.0/javapoet-1.10.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.protobuf:protobuf-java:3.10.0. Required by: project : > com.android.tools.build:gradle:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:aapt2-proto:4.1.0-6503028 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.ddms:ddmlib:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.analytics-library:protos:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.analytics-library:tracker:27.1.0 > Could not resolve com.google.protobuf:protobuf-java:3.10.0. > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.protobuf:protobuf-java-util:3.10.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve com.google.protobuf:protobuf-java-util:3.10.0. > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.crypto.tink:tink:1.3.0-rc2. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve com.google.crypto.tink:tink:1.3.0-rc2. > Could not get resource 'https://jcenter.bintray.com/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.flatbuffers:flatbuffers-java:1.12.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve com.google.flatbuffers:flatbuffers-java:1.12.0. > Could not get resource 'https://jcenter.bintray.com/com/google/flatbuffers/flatbuffers-java/1.12.0/flatbuffers-java-1.12.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/flatbuffers/flatbuffers-java/1.12.0/flatbuffers-java-1.12.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.tensorflow:tensorflow-lite-metadata:0.1.0-rc1. Required by: project : > com.android.tools.build:gradle:4.1.0 > Could not resolve org.tensorflow:tensorflow-lite-metadata:0.1.0-rc1. > Could not get resource 'https://jcenter.bintray.com/org/tensorflow/tensorflow-lite-metadata/0.1.0-rc1/tensorflow-lite-metadata-0.1.0-rc1.pom'. > Could not GET 'https://jcenter.bintray.com/org/tensorflow/tensorflow-lite-metadata/0.1.0-rc1/tensorflow-lite-metadata-0.1.0-rc1.pom'. Received status code 403 from server: Forbidden Could not resolve com.squareup:javawriter:2.5.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve com.squareup:javawriter:2.5.0. > Could not get resource 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.build:apkzlib:4.1.0 > Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56. > Could not get resource 'https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom'. > Could not GET 'https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom'. Received status code 403 from server: Forbidden Could not resolve org.bouncycastle:bcprov-jdk15on:1.56. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.build:apkzlib:4.1.0 > Could not resolve org.bouncycastle:bcprov-jdk15on:1.56. > Could not get resource 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom'. > Could not GET 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-tree:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve org.ow2.asm:asm-tree:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-tree/7.0/asm-tree-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-tree/7.0/asm-tree-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve javax.inject:javax.inject:1. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > Could not resolve javax.inject:javax.inject:1. > Could not get resource 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.pom'. > Could not GET 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.pom'. Received status code 403 from server: Forbidden Could not resolve it.unimi.dsi:fastutil:7.2.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve it.unimi.dsi:fastutil:7.2.0. > Could not get resource 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom'. > Could not GET 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.googlecode.json-simple:json-simple:1.1. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > Could not resolve com.googlecode.json-simple:json-simple:1.1. > Could not get resource 'https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom'. > Could not GET 'https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.guava:guava:28.1-jre. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:aaptcompiler:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.analytics-library:crash:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.lint:lint-gradle-api:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:gradle-api:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:common:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.analytics-library:tracker:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > com.android.tools.analytics-library:shared:27.1.0 > Could not resolve com.google.guava:guava:28.1-jre. > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom'. Received status code 403 from server: Forbidden Could not resolve org.apache.httpcomponents:httpmime:4.5.6. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.analytics-library:crash:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 > Could not resolve org.apache.httpcomponents:httpmime:4.5.6. > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom'. > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom'. Received status code 403 from server: Forbidden Could not resolve org.apache.httpcomponents:httpcore:4.4.10. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.analytics-library:crash:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 > Could not resolve org.apache.httpcomponents:httpcore:4.4.10. > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom'. > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom'. Received status code 403 from server: Forbidden Could not resolve org.apache.httpcomponents:httpclient:4.5.6. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.analytics-library:crash:27.1.0 > Could not resolve org.apache.httpcomponents:httpclient:4.5.6. > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.pom'. > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.pom'. Received status code 403 from server: Forbidden Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.72. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.lint:lint-gradle-api:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.72. > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.72/kotlin-reflect-1.3.72.pom'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.72/kotlin-reflect-1.3.72.pom'. Received status code 403 from server: Forbidden Could not resolve org.antlr:antlr4:4.5.3. Required by: project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 > Could not resolve org.antlr:antlr4:4.5.3. > Could not get resource 'https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom'. > Could not GET 'https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom'. Received status code 403 from server: Forbidden Could not resolve commons-io:commons-io:2.4. Required by: project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 > Could not resolve commons-io:commons-io:2.4. > Could not get resource 'https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom'. > Could not GET 'https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom'. Received status code 403 from server: Forbidden Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3. Required by: project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 > Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3. > Could not get resource 'https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom'. > Could not GET 'https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.code.gson:gson:2.8.5. Required by: project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools.build:manifest-merger:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > com.android.tools.analytics-library:shared:27.1.0 > Could not resolve com.google.code.gson:gson:2.8.5. > Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'. Received status code 403 from server: Forbidden Could not resolve org.glassfish.jaxb:jaxb-runtime:2.3.1. Required by: project : > com.android.tools.build:gradle:4.1.0 > androidx.databinding:databinding-compiler-common:4.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 > com.android.tools:repository:27.1.0 > Could not resolve org.glassfish.jaxb:jaxb-runtime:2.3.1. > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.pom'. > Could not GET 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.auto.value:auto-value-annotations:1.6.2. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:bundletool:0.14.0 > Could not resolve com.google.auto.value:auto-value-annotations:1.6.2. > Could not get resource 'https://jcenter.bintray.com/com/google/auto/value/auto-value-annotations/1.6.2/auto-value-annotations-1.6.2.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/auto/value/auto-value-annotations/1.6.2/auto-value-annotations-1.6.2.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.errorprone:error_prone_annotations:2.3.1. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:bundletool:0.14.0 > Could not resolve com.google.errorprone:error_prone_annotations:2.3.1. > Could not get resource 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.3.1/error_prone_annotations-2.3.1.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.3.1/error_prone_annotations-2.3.1.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.guava:guava:28.1-jre. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:bundletool:0.14.0 > Could not resolve com.google.guava:guava:28.1-jre. > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.protobuf:protobuf-java:3.10.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:bundletool:0.14.0 > Could not resolve com.google.protobuf:protobuf-java:3.10.0. > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.protobuf:protobuf-java-util:3.10.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:bundletool:0.14.0 > Could not resolve com.google.protobuf:protobuf-java-util:3.10.0. > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom'. Received status code 403 from server: Forbidden Could not resolve com.google.code.gson:gson:2.8.5. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09 > Could not resolve com.google.code.gson:gson:2.8.5. > Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'. Received status code 403 from server: Forbidden Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.60. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09 > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.60. > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.60/kotlin-stdlib-1.3.60.pom'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.60/kotlin-stdlib-1.3.60.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09 > Could not resolve org.ow2.asm:asm:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-util:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09 > Could not resolve org.ow2.asm:asm-util:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.ow2.asm:asm-commons:7.0. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09 > Could not resolve org.ow2.asm:asm-commons:7.0. > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom'. > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom'. Received status code 403 from server: Forbidden Could not resolve org.jdom:jdom2:2.0.6. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09 > Could not resolve org.jdom:jdom2:2.0.6. > Could not get resource 'https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom'. > Could not GET 'https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom'. Received status code 403 from server: Forbidden Could not resolve org.apache.commons:commons-compress:1.12. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdklib:27.1.0 > com.android.tools:repository:27.1.0 > Could not resolve org.apache.commons:commons-compress:1.12. > Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom'. > Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom'. Received status code 403 from server: Forbidden Could not resolve org.jetbrains.trove4j:trove4j:20160824. Required by: project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0 > Could not resolve org.jetbrains.trove4j:trove4j:20160824. > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom'. Received status code 403 from server: Forbidden Could not resolve net.sf.kxml:kxml2:2.3.0. Required by:

            ...

            ANSWER

            Answered 2021-Apr-03 at 12:17

            Try the following comments and check,

            • Delete the build folder
            • Run flutter create .
            • Run flutter pub get

            Source https://stackoverflow.com/questions/66931015

            QUESTION

            unable to find version code in manifest , build failed during bundleRelease why?
            Asked 2020-Dec-08 at 23:01

            Execution failed for task :java:packageReleaseBundle.

            one exception was raised by workers:

            com.android.tools.build.bundletool.exceptions.manifest.ManifestVersionException$VersionCodeMissingException: Version code not found in manifest.

            this error is only during gradlew bundleRelease. please help

            below code is ANDROID/APP/BUILD.GRADLE

            ...

            ANSWER

            Answered 2020-Dec-08 at 23:01

            I've found the solution myself.

            Go to android studio >> build >> generate signed bundle.

            Source https://stackoverflow.com/questions/65003820

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install bundletool

            You can download it from GitHub.
            You can use bundletool like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the bundletool component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/google/bundletool.git

          • CLI

            gh repo clone google/bundletool

          • sshUrl

            git@github.com:google/bundletool.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link