Giter VIP home page Giter VIP logo

Comments (7)

cutzmf avatar cutzmf commented on June 4, 2024 2

Same!

Waiting for fix =)

Quick fixed by bumping compileSdkVersion up to 28 in build script

find ~/.pub-cache/hosted/pub.dartlang.org/appcenter* -iname 'build.gradle' | xargs sed -i -e 's/\(compileSdkVersion \)27/\128/g'

from flutter_plugin_appcenter.

rtessler avatar rtessler commented on June 4, 2024

I think this is somehow related to the targetSdkVersion. I need 28 and I think appcenter target is 27

from flutter_plugin_appcenter.

abrass avatar abrass commented on June 4, 2024

same issue here, any ideas how to fix that? We do not need 28, but 27 do not help either.

from flutter_plugin_appcenter.

diegolaballos avatar diegolaballos commented on June 4, 2024

any update on that? Same problem. We had to go back to a previous Flutter version since we need the plugin. I guess something needs to be done on the plugin to make it compatible with Flutter 1.12.13 (that's the version I was using when we found the problem)

from flutter_plugin_appcenter.

kiwiidb avatar kiwiidb commented on June 4, 2024

Same!

Waiting for fix =)

Quick fixed by bumping compileSdkVersion up to 28 in build script

find ~/.pub-cache/hosted/pub.dartlang.org/appcenter* -iname 'build.gradle' | xargs sed -i -e 's/\(compileSdkVersion \)27/\128/g'

I can't find this .pub-cache folder ... Also our Appcenter build have started failing because of this issue a week ago. The debug build works fine, but the release build doesn't

from flutter_plugin_appcenter.

cutzmf avatar cutzmf commented on June 4, 2024

Same!
Waiting for fix =)
Quick fixed by bumping compileSdkVersion up to 28 in build script
find ~/.pub-cache/hosted/pub.dartlang.org/appcenter* -iname 'build.gradle' | xargs sed -i -e 's/\(compileSdkVersion \)27/\128/g'

I can't find this .pub-cache folder ... Also our Appcenter build have started failing because of this issue a week ago. The debug build works fine, but the release build doesn't

I think you missed that android build start in gradle root

# fail if any command fails
set -e
# debug log
set -x

# android build start in gradle root
cd ../..

git clone -b stable https://github.com/flutter/flutter.git
export PATH=`pwd`/flutter/bin:$PATH

flutter channel stable
flutter upgrade

flutter doctor

flutter pub get

# fix appcenter plugins buildSdkVersion, flutter 1.12.13 needs version 28
# another path is to fork plugins, fix version & change dependency to forked, but... I decided to use quick dirty fix
# wait till fixed https://github.com/aloisdeniel/flutter_plugin_appcenter/issues/19
find ~/.pub-cache/hosted/pub.dartlang.org/appcenter* -iname 'build.gradle' | xargs sed -i -e 's/\(compileSdkVersion \)27/\128/g'

# run code generation for API models built_value
flutter pub run build_runner build --delete-conflicting-outputs

flutter build apk --release

# if you need build bundle (AAB) in addition to your APK, uncomment line below and last line of this script.
#flutter build appbundle

# copy the APK where AppCenter will find it
mkdir -p android/app/build/outputs/apk/; mv build/app/outputs/apk/release/app-release.apk $_

from flutter_plugin_appcenter.

deepakasharma avatar deepakasharma commented on June 4, 2024

This is what I get when I try to build it "the built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility".

from flutter_plugin_appcenter.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.