sagreine / homeGym

homeGym mobile app
2 stars 0 forks source link

.aab release doesnt work. gradle issue? only releasing for subset of devices... #150

Open sagreine opened 3 years ago

sagreine commented 3 years ago

Buttons Sliders too, except video on the do lift page but cast is broken too

sagreine commented 3 years ago

oddly, this is only after generating a bundle. related to upgrading gradle see github error here: github.com / ...flutter/f lutter/issues/58247

QC options are to 1) do flutter run --release to test the release apk 2) build appbundle then run this in terminal: a) java -jar bundletool-all-1.4.0.jar build-apks --bundle=C:\Users\sagre\Documents\apps\home_gym\build\app\outputs\bundle\release\app-release.aab --output=C:\Users\sagre\Documents\apps\home_gym\build\app\outputs\bundle\release\app.apks then run b) java -jar bundletool-all-1.4.0.jar install-apks --apks=C:\Users\sagre\Documents\apps\home_gym\build\app\outputs\bundle\release\app.apks

this lets you test the .aab -> apk and see the lack of functionality without going through google plan.

also tried this with no luck: The fix was: 1) Uninstall your game 2) Go to your phones Settings -> Apps 3) Go to Google Play Store and tap the Force Stop button 4) Go to the Storage screen (by clicking on the Storage line item under Force Stop) and tap the Clear Data button - this will also active the Clear Cache button. If it doesn't, clear the cache too. 5) Follow steps 3 and 4 for the Google Play services App 6) Restart your phone (this part was necessary - I tried it without doing this and the fix didn't initially work) 7) Redownload your game from Google Play 8) It should start up normally.

for now, just submitting .apk to google play

sagreine commented 3 years ago

another thing to try is downloading to 3.5.2 or something for gradle and working the: try it, see if it shows error in profile or debug. run build --profile or --debug then run make appbundle. see if that works.

or try upgrading flutter version.