rive-flutter icon indicating copy to clipboard operation
rive-flutter copied to clipboard

APK Build error with v0.10.1

Open Kang-Kim1 opened this issue 2 years ago • 5 comments

I am getting the following exception when building an APK after updating the version to v0.10.1(from 0.9.1) :

error: package app.rive.rive does not exist

Are there any prerequisites for Android in order to update the version to 0.10.x ?

Kang-Kim1 avatar Jan 31 '23 03:01 Kang-Kim1

Hi @Kang-Kim1 have you tried a Flutter clean?

Set your version to ^0.10.1 (or whatever the latest is), then:

flutter clean
flutter pub get
flutter pub upgrade

HayesGordon avatar Feb 01 '23 10:02 HayesGordon

@HayesGordon Thanks for the comment. I did flutter clean and clear the cache as well, but still getting the same error.

Kang-Kim1 avatar Feb 03 '23 03:02 Kang-Kim1

Did you do flutter pub upgrade

After doing that, can you please confirm which versions are in pubspec.lock, you should see rive as 0.10.1 and rive_common as 0.0.2

Can you send me the output of flutter doctor

Could you also test to see if you can build an APK in a fresh project, with Rive v0.10.1

HayesGordon avatar Feb 03 '23 09:02 HayesGordon

Hi @Kang-Kim1 any update on this issue? Are you still experiencing this?

HayesGordon avatar Feb 27 '23 11:02 HayesGordon

Hi, the issue still occurred in version rive: ^0.12.3. Is there any update for this issue? Thanks in advance

rydwan10 avatar Dec 08 '23 06:12 rydwan10

Closing this issue as there have been many updates to the underlying Android build process, and this should be resolved.

If anyone is still encountering issues, please reopen.

HayesGordon avatar Aug 29 '24 12:08 HayesGordon