DEV Community

Alexandre Freire
Alexandre Freire

Posted on

2 2

Publicando Appbundle feito com Flutter na Play Store

Solução para: Esta versão não está em conformidade com o requisito de 64 bits do Google Play

Solution for: This release is not compliant with the Google Play 64-bit requirement

O intuito deste post não é mostrar a fundo o conteúdo, por exemplo sobre como gerar as chaves de assinatura, item o qual é necessário para publicar seu app na loja. Vamos ao tutorial:

Adicione a seguinte linha no arquivo build.gradle dentro da pasta Android>App

ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
Enter fullscreen mode Exit fullscreen mode

O Google exige que seu app possua a versão de 32 e 64 bits, então vamos primeiro gerar uma versão de 32 da seguinte forma no terminal dentro da pasta do projeto:

flutter build appbundle --release
Enter fullscreen mode Exit fullscreen mode

Ao finalizar adicione no Play Console esta versão e agora vamos gerar a versão 64, porém fique atento pois agora teremos que mudar a versão no arquivo pubspec.yaml. Vai estar no topo do arquivo da seguinte forma caso você ainda não publicado nenhuma outra versão na loja:

version: 1.0.0+1
Enter fullscreen mode Exit fullscreen mode

Mude para:

version: 2.0.0+2
Enter fullscreen mode Exit fullscreen mode

Agora repita o comando no terminal, porém passaremos algumas informações a mais no terminal:

flutter build appbundle --release --target-platform=android-arm64
Enter fullscreen mode Exit fullscreen mode

Pronto agora é só adicionar no Play Console junto ao outro.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay