I ran yarn install on the app-prep branch, then ran exp build:android - once completed, I downloaded the APK onto my Samsung S7 and installed it. Then I opened the app and it said:
Something went wrong.
Sorry about that. Press the reload button to try again.
I went down to the "View error log" link and clicked it.
Uncaught Error: undefined is not an object (evaluating 'this._component.getScrollableNode')
value@cached-bundle-experience-%40benchanviolin%2Fudacfitness305675822-20.0.0:311
Time: 9:58:51 Fatal Error
Uncaught Error: Can't find variable: Permissions
value@cached-bundle-experience-%40benchanviolin%2Fudacfitness305675822-20.0.0:735
Time: 9:58:51 Fatal Error
I tried exporting my own Flash Cards app to APK and installed it, and I see similar errors:
Uncaught Error: undefined is not an object (evaluating 'this._component.getScrollableNode')
value@cached-bundle-experience-%40benchanviolin%2Fflashcardsbenchan-1454248609-20.0.0:310
Time: 10:02:18 Fatal Error
Uncaught Error: undefined is not an object (evaluating 'e._component.setNativeProps')
n@cached-bundle-experience-%40benchanviolin%2Fflashcardsbenchan-1454248609-20.0.0:310
Time: 10:02:18 Fatal Error
Uncaught Error: undefined is not an object (evaluating 'console.group(r.type)')
@cached-bundle-experience-%40benchanviolin%2Fflashcardsbenchan-1454248609-20.0.0:600
Time: 10:02:18 Fatal Error
Uncaught Error: undefined is not an object (evaluating 'console.group(r.type)')
@cached-bundle-experience-%40benchanviolin%2Fflashcardsbenchan-1454248609-20.0.0:600
Time: 10:02:18 Fatal Error
Is this an easy thing to fix? I'm surprised that it happened to this UdaciFitness app, so I feel like there may be something wrong with my exp build command somehow, with Expo itself.
Could you post a working APK of the UdaciFitness app and explain anything else that I might be missing? I'm anticipating that others will run into the same issues I'm facing here.
Thank you!